LNEXT
ONELCLEAN
UTERMINAL
TERMINAL
NEXT
$V1$
HILINE
PAUSE
q - to quit, <CR> - to continue
GROWDIR
/usr
|
-------------------------
| |
adm spool
|
----------------------------------------
| | | |
uucp lp mail uucppublic
uucp lpd mail uucppublic
GO
As mentioned in the text, most files and directories are
found in the following directories and their subdirectories:
/usr/adm - holds system accounting information.
/usr/spool/uucppublic - holds UUCP mail files.
/usr/spool/mail - holds user mail files.
/usr/spool/lp - line printer buffer and administration.
/usr/spool/uucp - UUCP outgoing file buffer and accounting.
One of the most useful commands for determining directory
usage is du - for disk usage. It lets you determine how
many disk blocks are used by the files in the specified directory
and in all the directories below! Once you decide that the
numbers are greater than they should be, then selectively delete
all the files that you are sure are unnecessary!
Let us determine disk usage
by the files in the
/usr/spool
directory on your system by
entering the appropriate command
at the prompt.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type du /usr/spool
Please type du /usr/spool
You will be helped this time!
$PROMPT$
FORGET1
du /usr/spool | head -20
Please observe the first
twenty lines of the result
(that's what head -20 will
print)
1 /usr/spool/cron/atjobs
2 /usr/spool/cron/crontabs
4 /usr/spool/cron
66 /usr/spool/lpd/oemdir
203 /usr/spool/lpd
1 /usr/spool/uucp/.OLD
1 /usr/spool/uucp/.XQTDIR
141 /usr/spool/uucp
1 /usr/spool/uucppublic/receive
16 /usr/spool/uucppublic/LEADTAR/admin
26 /usr/spool/uucppublic/LEADTAR
23 /usr/spool/uucppublic/usage
808 /usr/spool/uucppublic
1 /usr/spool/lp/class
1 /usr/spool/lp/interface
1 /usr/spool/lp/member
24 /usr/spool/lp/model
1 /usr/spool/lp/request
29 /usr/spool/lp
1186 /usr/spool
DOSJMP
At this point you would determine if any directories look larger than
you expected and then you'd selectively delete unnecessary files.