on 09-23-2008 10:15 AM
Hi all,
one of the drive in server /usr/sap is 100% full. it is AIX base system.
i want to check which file is consuming hom much space in that particular drive kindly help o
Thanx in advance
Koushal
hi Koushal,
Please try
du -h
regards,
chandru.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandru thanx 4 reply..
command given by you is only giving me space used at directory level not file level
0 ./lost+found
0 ./trans/lost+found
168 ./trans/tmp
0 ./trans/EPS/in
0 ./trans/EPS/out
0 ./trans/EPS/log
0 ./trans/EPS
40 ./trans/bin
70424 ./trans/buffer
476456 ./trans/cofiles
11797680 ./trans/data
0 ./trans/etc
23240216 ./trans/log
408 ./trans/sapnames
35585400 ./trans
0 ./seculib
4688 ./tmp
7384 ./R3T/DVEBMGS00/data/ATRAFILES
still i am not getting which file is consuming much space
Regards,
Koushal
Hi Koushal,
Execute the below command to get which directories occupying the most space
du -sh * | sort -nr
If /usr/sap/<SID> is occupying the most space check for the core file in the work directory and try to reset old trace files if not required ( using SM50)
or try to delete old stat files from ST03N
If /usr/sap/trans is occupying the most space then try to delete already applied support packs from /usr/sap/trans/EPS/in directory
Regards,
Raj
I´d run a small script like
cd /usr/sap
for i in `ls`; do du -h; done
Then check the output and step in to the directory with the biggest size and run the same again
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.