Re: AIX 3 Hard Disk Full
From: Chris R (Chris_member_at_newsguy.com)
Date: 09/28/04
- Next message: Chris R: "Re: man pages text only"
- Previous message: Al Sharka: "Re: man pages text only"
- In reply to: Lucas: "AIX 3 Hard Disk Full"
- Next in thread: Lucas: "Re: AIX 3 Hard Disk Full"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Sep 2004 13:35:06 -0700
In article <21a22194.0409280600.15cc95aa@posting.google.com>, Lucas says...
>
>Hi there,
>
>we're using an old RS/6000 POWER for accessing old files. In the last
>days it has been reorganizing the system every 25 minutes
>automatically, you can't use is continuously. Then there was a message
>that the hard disk is full.
>
>I checked the HD space:
># df
>Filesystem Total KB free %used iused %iused Mounted on
>/dev/hd4 8192 5204 36% 696 33% /
>/dev/hd9var 28672 0 100% 143 1% /var
>/dev/hd2 241664 35996 85% 11560 18% /usr
>/dev/hd3 16384 13872 15% 159 3% /tmp
>/dev/hd1 1503232 465964 69% 28366 7% /home
>
>This happened already once, and we only needed to use one single
>command and the system cleared unnecessary files at /var. Which
>command is it? I didn't find any hint in the manual.
You could find the largest files using find, sorting by size:
cd /var
find . -type f -exec ls -l {} \; |\
while read perms num1 owner group bytes month day time file; do
print "${bytes} ${file}"
done | sort -n | tail -50
The above ksh will give you the top 50 largest files. Make sure you are running
as a user that has permissions to view all directories - like root...
- Chris
- Next message: Chris R: "Re: man pages text only"
- Previous message: Al Sharka: "Re: man pages text only"
- In reply to: Lucas: "AIX 3 Hard Disk Full"
- Next in thread: Lucas: "Re: AIX 3 Hard Disk Full"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|