How to monitor your computer from your desktop

UPDATED to Ubuntu 20.10

As you see, system-monitor is not more available in Ubuntu 18.10
For this reason, I search another utility to monitor my system and I find conky.
It is a very personalizable tool that you can install with snap:

sudo apt install conky

Now, you need to configure it as you like, with you specific interfaces names, in /etc/conky/conky.conf

Here is my first configuration:

conky.config = {
  use_spacer = 'left',
  pad_percents = 3,
  background = false,
  double_buffer = true,
  font = 'DejaVu Sans Mono:size=10',
  use_xft = true,
  alignment = 'top_right',
  gap_x = 50,
  gap_y = 200,
  own_window_argb_visual = true,
  own_window_argb_value = 0,
  own_window_type = 'normal',
  own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
  own_window = true,
  update_interval = 5.0,
}

conky.text = [[
#\${color orange}Hostname: \${color}\${nodename}
${color orange}Kernel:   ${color}\${sysname} \${kernel} on \${machine}
${color orange}Uptime:   ${color}\${uptime}
${exec /usr/lib/update-notifier/apt-check --human-readable}
${hr}
${color orange}CPU:${color} \${freq_g} GHz
${color orange}1:${color} ${cpu cpu1}% ${cpubar cpu1}
${color orange}2:${color} ${cpu cpu2}% ${cpubar cpu2}
${color orange}3:${color} ${cpu cpu3}% ${cpubar cpu3}
${color orange}4:${color} ${cpu cpu4}% ${cpubar cpu4}
${cpugraph}
${color orange}Name                PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color orange}Load average: ${color}${loadavg}
${color orange}Processes: ${color}${processes} ${color orange}Running:${color} ${running_processes}
${hr}
${color orange}RAM:  ${color}${mem}/${memmax}
${memperc}% ${membar 4}
${color orange}Swap: ${color}${swap}/${swapmax}
${swapperc}% ${swapbar 4}
${memgraph}
${hr}
${color orange}${color}${fs_used /}/${fs_size /} ${fs_bar 6 /}
${hr}
${color orange}HW:   ${color}Intel  ${color orange}Iface: ${color}eno1
${color orange}IP:   ${color}${addr eno1}
${color orange}Up/Down:${color}${upspeed eno1}/${downspeed eno1}
${hr}
${color orange}HW:   ${color}D-Link  ${color orange}Iface: ${color}enp6s0
${color orange}IP:   ${color}${addr enp6s0}
${color orange}Up/Down:${color}${upspeed enp6s0}/${downspeed enp6s0}
${hr}
${color orange}HW:   ${color}WIFI  ${color orange}Iface: ${color}wlp3s0
${color orange}IP:   ${color}${addr wlp3s0}
${color orange}Up/Down:${color}${upspeed wlp3s0}/${downspeed wlp3s0}
]]

If you want more commands, you can see the following url
Here is a snapshot:































 

 

 

HINT: If you want avoid minimize conky window, when you click on show desktop, you must change own_window_type value from 'normal' to 'desktop'.

Enjoy it!

Comments

Popular posts from this blog

Exception: Could not find a default OpenFlow controller in Mininet

How to fix Android when developer options are not available for this user

v4l2: open /dev/video0: Permission denied