В верхней manpage
показаны Startup Defaults
, которые настраиваются из командной строки
. Дисплей Cpu
не входит в их число.
Startup Defaults
The following startup defaults assume no configuration file, thus no user customizations. Even so, items shown with an asterisk (’*’) could be overridden through the command-
line.
Global_defaults
’A’ - Alt display Off (full-screen)
* ’d’ - Delay time 3.0 seconds
’I’ - Irix mode On (no, ’solaris’ smp)
* ’p’ - PID monitoring Off
* ’s’ - Secure mode Off (unsecured)
’B’ - Bold disable Off
Summary_Area_defaults
’l’ - Load Avg/Uptime On (thus program name)
’t’ - Task/Cpu states On (1+1 lines, see ’1’)
’m’ - Mem/Swap usage On (2 lines worth)
’1’ - Single Cpu On (thus 1 line if smp)
Task_Area_defaults
’b’ - Bold hilite On (not ’reverse’)
* ’c’ - Command line Off (name, not cmdline)
* ’H’ - Threads Off (show all threads)
* ’i’ - Idle tasks On (show all tasks)
’R’ - Reverse sort On (pids high-to-low)
* ’S’ - Cumulative time Off (no, dead children)
’x’ - Column hilite Off (no, sort field)
’y’ - Row hilite On (yes, running tasks)
’z’ - color/mono Off (no, colors)
Это можно сделать с помощью верхнего
конфигурационного файла. Из top manpage
:
5b. PERSONAL Configuration File
This file is written as ’$HOME/.your-name-4-top’ + ’rc’. Use the ’W’ interactive command to create it or update it.
Шаги по созданию файла конфигурации, который запускает top
, показывающий все процессоры:
1. Start `top`.
2. Toggle display of all CPUs (press 1).
3. Press `d` or `s` and set new delay (default=3.0 seconds). (This can be set on the `commandline`. See the `Startup Defaults` above.
4. Press Shift+W. Notice message 'Wrote configuration to '/home/youruser/.toprc'.
5. Quit `top`.
6. Start `top`. Until you rewrite the `top` configuration file with a different option (Step #3), it will start with all CPUs showing.
comando:
sudo apt-get install linux-tools-4.15.0-22-generic
esto me funciona
Для MX Linux это:
sudo apt-get install linux-cpupower
Также в MX linux вы можете открыть установщик пакетов MX и выполнить поиск «cpupower» в полном каталоге приложений
Для Зорин 15.2 его:
sudo apt-get install -y linux-tools-common linux-tools-$(uname -r)
Вы также можете перейти на Synaptic и выполнить поиск -linux tools -common. Вы также можете искать linux -tools -и вывод uname -r. бывший. linux -инструменты -5.3.0 -42 -универсальный
это должно работать с любой версией:
$ sudo apt-get install -y linux-tools-$(uname -r)