dstat- this command is powerful one to monitor system activity . It has combined the power of vmstat,iostat,mpstat,df,free,sar .

dstat -afv
As mentioned in the summery that it is a powerful command to monitor system activity in great way. It has got the power of vmstat,iostat,mpstat,df,free and sar.Instead of firing each single command separately ,one can fire one single command to get all the info at once.But there is a way to get the individual information too. Please see the man page . You can get it from here : http://dag.wieers.com/home-made/dstat/
Sample Output
dstat -afv
Terminal width too small, trimming output.
-------cpu0-usage--------------cpu1-usage------ --dsk/sda-- --net/ppp0- ---paging-- ---system-- ---procs--- ---paging-->
usr sys idl wai hiq siq:usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw |run blk new|  in   out >
  5   2  91   1   0   0:  5   1  93   0   0   0|  98k   37k|   0     0 | 296B 1713B| 662  1543 |  0   0   5| 296B 1713B>
  2   0  98   0   0   0:  1   0  99   0   0   0|   0     0 | 583B  671B|   0     0 | 560   789 |  0   0   0|   0     0 >
  0   1  99   0   0   0:  1   1  98   0   0   0|   0    52k| 254B 2522B|   0     0 | 918   916 |  0   0   0|   0     0 >
  1   0  99   0   0   0: 39   0  61   0   0   0|   0   152k| 685B  104B|   0     0 | 786   593 |  0   0   0|   0     0 >
  0   0 100   0   0   0:  1   0  99   0   0   0|   0     0 |   0     0 |   0     0 | 676   782 |  0   0   0|   0     0 >
  0   0  99   0   1   0:  1   2  97   0   0   0|   0     0 |   0     0 |   0     0 | 926   863 |  0   0   0|   0     0 >

3
2009-08-28 03:53:24

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?

commandlinefu.com 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.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

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: