Kali LinuxのデスクトップにCPU使用率やメモリ使用率などのシステム情報をクールに表示できるシステムモニタツール(conky)のインストールについてメモしておきます。
インストール
# apt-get install conky lm-sensors hddtemp
自動起動させる
# bash -c "echo '[Desktop Entry]'$'\n''Type=Application'$'\n''Exec=conky -p 5'$'\n''Hidden=false'$'\n''NoDisplay=false'$'\n''X-GNOME-Autostart-enabled=true'$'\n''Name=Conky' > ~/.config/autostart/conky.desktop"
設定
# vi ~/.conkyrc
use_xft yes override_utf8_locale yes xftfont MeiryoKe_Gothic:size=10 default_color d0d0d0 default_shade_color 003E3F update_interval 2 own_window yes own_window_type override own_window_transparent yes double_buffer yes maximum_width 300 alignment top_right TEXT ${font Bitstream Vera Sans:style=Bold:pixelsize=14}SYSTEM${font} ${hr 1} Kernel: $alignr$kernel Architecture: $alignr$machine File system type: $alignr$fs_type CPU ${alignr}${freq} MHz ${cpugraph 20,250 a0a0a0 ffffff -t} RAM ${alignr}$mem / $memmax ($memperc%) ${membar 4} Swap ${alignr}$swap / $swapmax ($swapperc%) ${swapbar} Ether ${alignr}${addr eth0} Traffic $alignr up ${upspeed eth0} down ${downspeed eth0} ${upspeedgraph eth0 20,120 a0a0a0 ffffff -t} ${downspeedgraph eth0 20,120 a0a0a0 ffffff -t} Wi-Fi ${alignr}${addr wlan0} Traffic $alignr up ${upspeed wlan0} down ${downspeed wlan0} ${upspeedgraph wlan0 20,120 a0a0a0 ffffff -t} ${downspeedgraph wlan0 20,120 a0a0a0 ffffff -t} DiskIO $alignr wrt ${diskio_write} read ${diskio_read} ${diskiograph_write 20,120 a0a0a0 ffffff -t} ${diskiograph_read 20,120 a0a0a0 ffffff -t} Highest CPU $alignr CPU% MEM% ${top name 1}$alignr${top cpu 1} ${top mem 1} ${top name 2}$alignr${top cpu 2} ${top mem 2} ${top name 3}$alignr${top cpu 3} ${top mem 3} Highest MEM $alignr CPU% MEM% ${top_mem name 1}$alignr${top_mem cpu 1} ${top_mem mem 1} ${top_mem name 2}$alignr${top_mem cpu 2} ${top_mem mem 2} ${top_mem name 3}$alignr${top_mem cpu 3} ${top_mem mem 3} CPU temperature ${alignr}${hwmon 1 temp 1}℃ CPU fan speed ${alignr}${hwmon fan 1}rpm
※ 設定例なので各自自分に合った設定に換えてください。
0 Comments.