what is my linux system?

What linux type am I running? What is my host name? In systems that use systemd, it is easy. Just use the hostnamectl command:

If you’re working on older systems, you can use: cat /etc/os-release or lsb_release -a … Continue reading

the process with the highest cpu usage

How would you view the top cpu/memory consuming process?

  Explanation: We use 3 commands pipelined to each other ps command show a list of processes. The -e shows all processes The o option changes the output, adding all 5 fields (uid, pid…etc.) sort command sorts the output. -n … Continue reading