What linux type am I running? What is my host name? In systems that use systemd, it is easy. Just use the hostnamectl command: linux> hostname yuval-Lenovo-G510 linux> hostnamectl Static hostname: yuval-Lenovo-G510 Icon name: computer-laptop Chassis: laptop Machine ID: c811090bea744c87969c773662753a37 Boot ID: 245ac2c4a50442b6af159e2329c06fa3 Operating System: Ubuntu 18.10 Kernel: Linux 4.18.0-25-generic … Continue reading
Category Archives: linux
You can use the nload command (you’ll have to install it first). Run nload, then use the arrow keys and you can choose the network device to view current traffic: … Continue reading
View the top %cpu process monitor network traffic running now What is my linux system and hostname? … Continue reading
How would you view the top cpu/memory consuming process? linux> ps -eo uid,pid,%cpu,%mem,comm | sort -nrk 3,3 | head -n 3 1000 19380 3.0 4.0 Web Content 1000 19132 2.3 2.4 firefox 1000 18202 2.3 6.8 java linux> Explanation: We use 3 commands pipelined to each other ps command … Continue reading