Resource Monitoring

echo "DISK:";df -Pl | grep -v "Filesystem" | awk '{print $5,$6}' ; echo "MEM:" ; free -mto | awk '{ print $1,$2,$3,$4 }'; echo "CPU:"; top -b -d1 -n1 | grep Cpu | awk '{print $2,$3,$4,$5,$6,$7,$8,$9}';echo "LOAD:"; cat /proc/loadavg
Monitoring system in one line : DISK : disk space MEM: memory ( mem , swap, Total) CPU : all information about cpu activity LOAD : load average
Sample Output
94% /
6% /boot
0% /dev/shm
total used free shared
Mem: 7983 7580 403
Swap: 12287 6 12281
Total: 20271 7586 12685
0.3%us, 0.2%sy, 0.1%ni, 98.2%id, 1.1%wa, 0.0%hi, 0.1%si, 0.0%st
0.02 0.03 0.00 1/417 15018

What Others Think

A very complex yet effective programming command has been revealed by you for source monitoring. I am thinking to hire eduvikings for help in essays. Chosen operators are very good in this command. I would like to stick with this programming code in future.
tinakutch · 58 weeks and 1 day ago
Thanks for helping me with this difficult command and assisting me with my college assignment. Before hiring anyone to help me with essays I visit handmadewriting review source. I have seen that you provide solution of every coding issues and also help us debugging the program.
HayleyRice · 42 weeks and 2 days ago
Minnesota is a Midwestern U.S. state bordering Canada and Lake Superior, the largest of the Great Lakes. The state contains more than 10,000 other lakes, including Lake Itasca, the Mississippi River’s primary source. MaxRemind top rank medical billing company offer Medical Billing Services in Minnesota , home health agency software and medical credentialing services in Minnesota.
stevematt · 39 weeks ago
The easy but yet looking very complicated command to use still, I will give it a try because I love to solve intricated problems. I have got Screenshot for MacOS and now I will capture screenshot of this command. Thanks for sharing this useful command with us using this amazing platform.
HayleyRice · 35 weeks and 5 days ago
The piece of hypothesis of Tilburg University has been all through the world saw as the best. One hire this paper originality checker for getting wonderful info. Since I have beginning late tracked down a decreased securing learning at this school, I am strangely amped available.
Ahmed74 · 26 weeks and 6 days ago
My mate has ensured about the state of associate educator at Gonzaga a couple of months sooner. Click for more details. He has gotten referring to achieve his objective.??
Ahmed74 · 26 weeks and 6 days ago
?Investigating your examination on the Nitro 2 10m has related with me to single out the remote possibility that I should purchase this instrument. Click for getting incredible ideas, much cloudy from you offered, it would fulfill my longings.?
Ahmed74 · 26 weeks and 6 days ago
My adolescence has starting late won The Teen Tix Passport which has made the whole family particularly extreme. Click for more info. I'm certain that he would perform much better in the aversion.
tinakutch · 21 weeks and 6 days ago
Finding of Microsoft Office 2003 has completely satisfied me particularly. Visit for getting incredible ideas. This contraption was proposed by my customer with the target that I could give him what he needs.
tinakutch · 21 weeks and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: