Operating System - HP-UX
1833716 Members
2066 Online
110063 Solutions
New Discussion

FInding out Process who occupies root disk.

 
Joydeep_1
Occasional Advisor

FInding out Process who occupies root disk.

Hi,

Sometimes I got strange problem. Our root FS got full near about 98%. We tried to find out the big file by excute find / -xdev . But did not get any file. Then we rebooted that server.

Once reboot / became 25%. That means some process was filling up root disk. Later we faced the same problem. This time we tried to find out those process by /etc/fuser -cu / & found lot of process is running on / FS. Again reboot helped us to reduce FS size.

Now my question is how we can find out those process who takes max root disk resources during execution time.

I tried with lsof also. But did not get much help.

Please suggest me.

Now
3 REPLIES 3
Clemens van Everdingen
Honored Contributor

Re: FInding out Process who occupies root disk.

Hi,

very good thread in searching for the "bad" file filling your filesystem.

If you found the file you might well be able to tell its owner and by that the process causing it.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbe6e1cc6003bd6118fff0090279cd0f9,00.html

Patrick gave once the following suggestion:

Check for large file in your / filesystem if it is full. Typically check for /dev/rmt/om (used instead of 0m, the number zero).

C.

The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
U.SivaKumar_2
Honored Contributor

Re: FInding out Process who occupies root disk.

hi,
check whether /var , /tmp are separate file systems in your server. Or they are in root file system.
regards,
U.SivaKumar
Innovations are made when conventions are broken
Clemens van Everdingen
Honored Contributor

Re: FInding out Process who occupies root disk.

Hi.

Another just opened thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb5657bb04b5cd611abdb0090277a778c,00.html

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !