>Ok all you AIX guru's, here's another easy one for you. I need to find out
>where there are files I can safely delete on the server. There must be a
>bunch filling this up because the last time this happened I just extended
>the size with a "chfs -a size=+10 /usr"
>
>Here is what a df -k shows me
>
># df -k
>Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
...
>/dev/hd2 901120 51528 95% 28619 13% /usr
...
>I need to find out where I can delete files that may not be needed that are
>either growing in size or some type of temp file. Now remember I, as before,
>I need specifics since I'm in the dard with AIX. I need something I can
>use to search the drive if possible for types of files that are safe to
>delete, and another command to delete those types of files throught the tree
>if possible too.
Geoff - In AIX, /usr is dominated by program product files, which is to say
static stuff rather than transient cruft as in /var. You can use smit
and/or lslpp to list installed products and consider what might be uninstalled
as unneeded. If you commit uncommitted products that you definitely want,
that will dispose of some saved stuff. You can also scan for recent stuff
that might be debris as in the following, which seeks files less than a week
old and stays within /usr when doing so:
find /usr -xdev -mtime -7 -ls
Overall, though, you need an AIX person there to be looking after your AIX
system: working on root volume group file systems as a casual tourist is
dangerous.
Richard Sims, BU