alias dfr='df;free'

Tell us quantities of disk usage memory and swap used in a moment done

A short way to give us relevant report in a moment done about quantities on disk usage, memory and swap in our Linux Systems.
Sample Output
root@nimblex:~# dfr
Filesystem           1K-blocks      Used Available Use% Mounted on
aufs                    519488    127800    391688  25% /
/dev/hda1              5106660   5030268     76392  99% /mnt/hda1
/dev/hda2             55780096  32984128  22795968  60% /mnt/hda2
/dev/hda3             56307824  48429456   7878368  87% /mnt/hda3
/dev/sda1               954376    524364    430012  55% /mnt/sda1
/dev/sda2              1029112    862256    114580  89% /mnt/sda2
/dev/loop/24           2992832   1485916   1506916  50% /mnt/myfs
/dev/loop/25           4989760   1290908   3698852  26% /mnt/myfs1
             total       used       free     shared    buffers     cached
Mem:       2068980    2016528      52452          0     484624    1222452
-/+ buffers/cache:     309452    1759528
Swap:       524280          0     524280

-9
By: ximo88
2009-04-28 11:30:31

These Might Interest You

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: