Conky - мощный и легко настраиваемый системный монитор Сравнение версий

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
wiki:conky [2015/12/21 19:09]
[В KDE нет прозрачности]
wiki:conky [2017/06/02 20:11] (текущий)
[Работа с процессами]
Строка 144: Строка 144:
 |lua_parse|function_name\\ (function parameters)|Выполняет lua-функцию с заданными параметрами так же, как и $lua, но затем обрабатывает результат как часть секции TEXT| |lua_parse|function_name\\ (function parameters)|Выполняет lua-функцию с заданными параметрами так же, как и $lua, но затем обрабатывает результат как часть секции TEXT|
 |offset|(pixels)|Изменяет горизонтальное смещение текста. Возможны отрицательные значения.\\ Смотри так же $offset.| |offset|(pixels)|Изменяет горизонтальное смещение текста. Возможны отрицательные значения.\\ Смотри так же $offset.|
-|outlinecolor|(color)|Change outline color|+|outlinecolor|(color)|Изменить цвет контура|
 |scroll|length (step) text|Прокручивает '​text'​ с шагом '​step',​ отображая за раз '​length'​ символов.\\ Текст может содержать переменные conky\\ step не обязателен и по умолчанию равен 1| |scroll|length (step) text|Прокручивает '​text'​ с шагом '​step',​ отображая за раз '​length'​ символов.\\ Текст может содержать переменные conky\\ step не обязателен и по умолчанию равен 1|
 |shadecolor|(color)|Изменяет цвет тени| |shadecolor|(color)|Изменяет цвет тени|
 |stippled_hr|(space)|Прерывистая горизонтальная линия| |stippled_hr|(space)|Прерывистая горизонтальная линия|
-|tab|(width,​ (start))|Puts a tab of the specified widthstarting from column ​'​start'​. ​The unit is pixels for both arguments.|+|tab|(width,​ (start))|Разместить табы определенной шириныначиная с колонки ​'​start'​. ​Пиксель еденица для обоих аргументов.|
 |templateN|(arg1)|Вычисляет значение templateN из настроек (N число от 0 до 9 включительно),​ подставляя соответствующие аргументы| |templateN|(arg1)|Вычисляет значение templateN из настроек (N число от 0 до 9 включительно),​ подставляя соответствующие аргументы|
 |to_bytes|size|Если '​size'​ - число с указанными единицами (kilobyte,​mb,​GiB,​...),​ тогда оно конвертируется в байты и выводится,​ иначе просто выводится как есть.| |to_bytes|size|Если '​size'​ - число с указанными единицами (kilobyte,​mb,​GiB,​...),​ тогда оно конвертируется в байты и выводится,​ иначе просто выводится как есть.|
Строка 184: Строка 184:
 |iconv_start|codeset_from\\ codeset_to|Конвертирует текст из одной кодировки в другую используя GNU iconv.\\ Необходима остановка с помощью $iconv_stop| |iconv_start|codeset_from\\ codeset_to|Конвертирует текст из одной кодировки в другую используя GNU iconv.\\ Необходима остановка с помощью $iconv_stop|
 |iconv_stop| |Останавливает конвертирование текста| |iconv_stop| |Останавливает конвертирование текста|
-|ioscheduler|disk|Prints the current ioscheduler used for the given disk name (i.e. e.g. "​hda"​ or "​sdb"​)|+|ioscheduler|disk|Вывести текущий IO планировщик используемый для раздачи имен дисков(например «hda» или «sdb» и т.д)|
 |lines|textfile|Показывает количество строк в указанном файле| |lines|textfile|Показывает количество строк в указанном файле|
 |pre_exec|shell command|Executes a shell command one time before conky displays anything and puts output as text.| |pre_exec|shell command|Executes a shell command one time before conky displays anything and puts output as text.|
Строка 198: Строка 198:
 |pid_cwd|pid|Текущий рабочий каталог процесса| |pid_cwd|pid|Текущий рабочий каталог процесса|
 |pid_environ|pid varname|Contents of a environment-var of the process| |pid_environ|pid varname|Contents of a environment-var of the process|
-|pid_environ_list|pid|List of environment-vars that the process can see|+|pid_environ_list|pid|Список переменных окружения,​ которые процессы могут увидеть.|
 |pid_exe|pid|Path to executed command that started the process| |pid_exe|pid|Path to executed command that started the process|
-|pid_nice|pid|The nice value of the process|+|pid_nice|pid|Допустимое значение процесса.|
 |pid_openfiles|pid|Список открытых процессом файлов| |pid_openfiles|pid|Список открытых процессом файлов|
 |pid_parent|pid|Pid родительского процесса| |pid_parent|pid|Pid родительского процесса|
Строка 215: Строка 215:
 |pid_time_usermode|pid|Amount of time that the process has been scheduled in user mode in seconds| |pid_time_usermode|pid|Amount of time that the process has been scheduled in user mode in seconds|
 |pid_time|pid|Sum of $pid_time_kernelmode and $pid_time_usermode| |pid_time|pid|Sum of $pid_time_kernelmode and $pid_time_usermode|
-|pid_uid|pid|The real uid of the process+|pid_uid|pid|uid ​процесса
-|pid_euid|pid|The effective ​uid of the process+|pid_euid|pid|Действующий ​uid процесса
-|pid_suid|pid|The saved set uid of the process|+|pid_suid|pid|Сохраненный список ​uid процесса|
 |pid_fsuid|pid|The file system uid of the process| |pid_fsuid|pid|The file system uid of the process|
-|pid_gid|pid|The real gid of the process+|pid_gid|pid|gid ​процесса
-|pid_egid|pid|The effective ​gid of the process+|pid_egid|pid|Действующий ​gid процесса
-|pid_sgid|pid|The saved set gid of the process|+|pid_sgid|pid|Сохраненный список ​gid процесса|
 |pid_fsgid|pid|The file system gid of the process| |pid_fsgid|pid|The file system gid of the process|
-|pid_vmpeak|pid|Peak virtual memory size of the process+|pid_vmpeak|pid|Максимальный размер виртуальной памяти процесса
-|pid_vmsize|pid|Virtual memory size of the process+|pid_vmsize|pid|размер виртуальной памяти процесса
-|pid_vmlck|pid|Locked memory size of the process|+|pid_vmlck|pid|Ограничитель размера памяти для данного процесса|
 |pid_vmhwm|pid|Peak resident set size ("high water mark") of the process| |pid_vmhwm|pid|Peak resident set size ("high water mark") of the process|
 |pid_vmrss|pid|Resident set size of the process| |pid_vmrss|pid|Resident set size of the process|
Строка 250: Строка 250:
 |downspeedf|(net)|Скорость загрузки в KiB с одной цифрой после запятой| |downspeedf|(net)|Скорость загрузки в KiB с одной цифрой после запятой|
 |downspeedgraph|(netdev) (height),​(width) (gradient colour 1) (gradient colour 2) (scale) (-t) (-l)|График скорости загрузки\\ Цвета задаются шестнадцатеричным кодом без #\\ Масштаб используется для задания максимального значения графика\\ Для использования логарифмического масштабирования (для лучшего отображения небольших чисел) добавте -l\\ Добавление '​-t'​ включает температурный градиент,​ который меняется в зависимости от значений| |downspeedgraph|(netdev) (height),​(width) (gradient colour 1) (gradient colour 2) (scale) (-t) (-l)|График скорости загрузки\\ Цвета задаются шестнадцатеричным кодом без #\\ Масштаб используется для задания максимального значения графика\\ Для использования логарифмического масштабирования (для лучшего отображения небольших чисел) добавте -l\\ Добавление '​-t'​ включает температурный градиент,​ который меняется в зависимости от значений|
-|gw_iface| |Displays the default route'​s interface or "​multiple"​/"​none" ​accordingly.|+|gw_iface| |Отобразить основные интерфейсы роутера  ​"​multiple" ​или ​"​none" ​следовательно.|
 |gw_ip| |Displays the default gateway'​s IP or "​multiple"/"​none"​ accordingly.| |gw_ip| |Displays the default gateway'​s IP or "​multiple"/"​none"​ accordingly.|
-|nameserver|(index)|Print a nameserver from /​etc/​resolv.conf. ​Index starts at and defaults to 0.|+|nameserver|(index)|Вывести имя сервера из /​etc/​resolv.conf. ​Индексирование начинается по умолчанию с 0.|
 |nodename| |Hostname| |nodename| |Hostname|
-|nodename_short| |Short hostname ​(same as '​hostname -s' ​shell command).|+|nodename_short| |Выводит краткое имя хоста ​(такое же как shell командой ​'​hostname -s').|
 |read_tcp|(host) port|Connects to a tcp port on a host (default is localhost), reads every char available at the moment and shows them.| |read_tcp|(host) port|Connects to a tcp port on a host (default is localhost), reads every char available at the moment and shows them.|
 |tcp_portmon|port_begin port_end\\ item (index)|TCP port (both IPv6 and IPv4) monitor for specified local ports. Port numbers must be in the range 1 to 65535. Valid items are:\\ count - Total number of connections in the range\\ rip - Remote ip address\\ rhost - Remote host name\\ rport - Remote port number\\ rservice - Remote service name from /​etc/​services\\ lip - Local ip address\\ lhost - Local host name\\ lport - Local port number\\ lservice - Local service name from /​etc/​services\\ The connection index provides you with access to each connection in the port monitor. The monitor will return information for index values from 0 to n-1 connections. Values higher than n-1 are simply ignored. For the "​count"​ item, the connection index must be omitted. It is required for all other items.\\ Examples:\\ ${tcp_portmon 6881 6999 count} - Displays the number of connections in the bittorrent port range\\ ${tcp_portmon 22 22 rip 0} - Displays the remote host ip of the first sshd connection\\ ${tcp_portmon 22 22 rip 9} - Displays the remote host ip of the tenth sshd connection\\ ${tcp_portmon 1 1024 rhost 0} - Displays the remote host name of the first connection on a privileged port\\ ${tcp_portmon 1 1024 rport 4} - Displays the remote host port of the fifth connection on a privileged port\\ ${tcp_portmon 1 65535 lservice 14} - Displays the local service name of the fifteenth connection in the range of all ports\\ Note that port monitor variables which share the same port range actually refer to the same monitor, so many references to a single port range for different items and different indexes all use the same monitor internally. In other words, the program avoids creating redundant monitors.| |tcp_portmon|port_begin port_end\\ item (index)|TCP port (both IPv6 and IPv4) monitor for specified local ports. Port numbers must be in the range 1 to 65535. Valid items are:\\ count - Total number of connections in the range\\ rip - Remote ip address\\ rhost - Remote host name\\ rport - Remote port number\\ rservice - Remote service name from /​etc/​services\\ lip - Local ip address\\ lhost - Local host name\\ lport - Local port number\\ lservice - Local service name from /​etc/​services\\ The connection index provides you with access to each connection in the port monitor. The monitor will return information for index values from 0 to n-1 connections. Values higher than n-1 are simply ignored. For the "​count"​ item, the connection index must be omitted. It is required for all other items.\\ Examples:\\ ${tcp_portmon 6881 6999 count} - Displays the number of connections in the bittorrent port range\\ ${tcp_portmon 22 22 rip 0} - Displays the remote host ip of the first sshd connection\\ ${tcp_portmon 22 22 rip 9} - Displays the remote host ip of the tenth sshd connection\\ ${tcp_portmon 1 1024 rhost 0} - Displays the remote host name of the first connection on a privileged port\\ ${tcp_portmon 1 1024 rport 4} - Displays the remote host port of the fifth connection on a privileged port\\ ${tcp_portmon 1 65535 lservice 14} - Displays the local service name of the fifteenth connection in the range of all ports\\ Note that port monitor variables which share the same port range actually refer to the same monitor, so many references to a single port range for different items and different indexes all use the same monitor internally. In other words, the program avoids creating redundant monitors.|
Строка 318: Строка 318:
 |bmpx_track| |Номер текущего трека| |bmpx_track| |Номер текущего трека|
 |bmpx_uri| |URI текущего трека| |bmpx_uri| |URI текущего трека|
-|moc_album| |Album of the current ​MOC song+|moc_album| |Альбом текущей ​MOC песни
-|moc_artist| |Artist of the current ​MOC song+|moc_artist| |Исполнитель текущей ​MOC песни
-|moc_bitrate| |Bitrate in the current ​MOC song+|moc_bitrate| |Битрейт в текущей ​MOC песни
-|moc_curtime| |Current time of the current ​MOC song+|moc_curtime| |Время текущей ​MOC песни
-|moc_file| |File name of the current ​MOC song+|moc_file| |Имя файла текущей ​MOC песни
-|moc_rate| |Rate of the current ​MOC song+|moc_rate| |Справка для текущей ​MOC песни
-|moc_song| |The current song name being played in MOC.| +|moc_song| |Имя текущей песни проигрываемой в MOC.| 
-|moc_state| |Current state of MOC; playingstopped etc.| +|moc_state| |Текущее состояние ​MOC; Проигрываетостановлен и т.д.| 
-|moc_timeleft| |Time left in the current ​MOC song+|moc_timeleft| |Оставшееся время в текущей ​MOC песне
-|moc_title| |Title of the current ​MOC song+|moc_title| |Заголовок текущей ​MOC песни
-|moc_totaltime| |Total length of the current ​MOC song+|moc_totaltime| |Продолжительность текущей ​MOC песни
-|mpd_album| |Album in current ​MPD song+|mpd_album| |Альбом в текущей ​MPD песне
-|mpd_artist| |Artist in current ​MPD song must be enabled at compile+|mpd_artist| |Включить дорожку исполнителя ​MPD песни во время компиляции
-|mpd_bar|(height),​(width)|Bar of mpd'​s ​progress+|mpd_bar|(height),​(width)|Бар для процесса ​mpd'​s| 
-|mpd_bitrate| |Bitrate of current song+|mpd_bitrate| |Брейт текущей песни
-|mpd_elapsed| |Song's elapsed time+|mpd_elapsed| |Истекшее время песни
-|mpd_file| |Prints the file name of the current ​MPD song+|mpd_file| |Вывод имени файла текущей ​MPD песни
-|mpd_length| |Song's length+|mpd_length| |Длительность песни
-|mpd_name| |Prints the MPD name field+|mpd_name| |Вывести поле имени ​MPD| 
-|mpd_percent| |Percent of song's progress+|mpd_percent| |Процент процесса песни
-|mpd_random| |Random status ​(On/Off)| +|mpd_random| |Произвольный статус ​(On/Off)| 
-|mpd_repeat| |Repeat status ​(On/Off)| +|mpd_repeat| |Повторение статуса ​(On/Off)| 
-|mpd_smart|(max length)|Prints the song name in either the form "​artist - title" ​or file namedepending on whats available+|mpd_smart|(max length)|Вывести имя песни в виде ​"​artist - title" ​или имя файлав зависимости что доступно.
-|mpd_status| |Playing, stoppedet cetera.| +|mpd_status| |Воспроизведениеостановка и т.д
-|mpd_title|(max length)|Title of current ​MPD song+|mpd_title|(max length)|Заголовок текущей ​MPD песни
-|mpd_track| |Prints the MPD track field+|mpd_track| |Вывод поля дорожки ​MPD| 
-|mpd_vol| |MPD'​s ​volume|+|mpd_vol| |объем ​MPD's|
 |xmms2_album| |Альбом текущего трека| |xmms2_album| |Альбом текущего трека|
 |xmms2_artist| |Исполнитель текущего трека| |xmms2_artist| |Исполнитель текущего трека|
Строка 352: Строка 352:
 |xmms2_date| |Возвращает дату ткущего трека| |xmms2_date| |Возвращает дату ткущего трека|
 |xmms2_duration| |Продолжительность трека| |xmms2_duration| |Продолжительность трека|
-|xmms2_elapsed| |Song's elapsed time|+|xmms2_elapsed| |Истекшее время песни|
 |xmms2_genre| |Жанр| |xmms2_genre| |Жанр|
 |xmms2_id| |XMMS2 id трека| |xmms2_id| |XMMS2 id трека|
Строка 567: Строка 567:
 </​code>​ </​code>​
  
-==== В Conky запущенных из KDE нет прозрачности ​====+==== В Conky запущенных из KDE черный фон ====
 Для решения данной проблемы добавьте в свой .conkyrc следующее:​ Для решения данной проблемы добавьте в свой .conkyrc следующее:​
 <​code>​ <​code>​