| |
|
Disk Usage
This is a quick way to peek at your disk usage. It is just manipulating an xterm to
format the output of di, a small utility written by Brad Lanam way back in 1994.
(Hey, it just works, so why rewrite it or change it? Thanks Brad.)
di being a console program I make it easier for the user to use by
sticking a menu item that calls an xterm with a bunch of flags that format the output nicely without
having to learn how to manipulate the xterm itself or which of many flags to use to get
a nice readout from di.
Here is the tag:
xterm -title "Current Disk Usage" -geom 120x12+20+200 -bg LightYellow -hold -e di -fSMTIOuf1
I used small type above to fit it on one line. If adding a menu item has you confused,
See the Menu Editor info on my manual pages if you are using icewm with the menu
editor (on one of my builds.) Else look at your distros documentation to find out how to add a menu item.
Of course, you'll need the little program di, which you can download as a Slack package here --
di-3.11-i686-Paul-1.tgz. It installs di into
/usr/local/bin. If you want the source code, get it from the Gentoo site at:
http://www.gentoo.com/di/
Screenshot below....
|