1846418 Members
3107 Online
110256 Solutions
New Discussion

Usage Information

 
Vinod_22
Advisor

Usage Information

Hi,

Consider if I'm not enabled quota and I found /home is almost full. How to find who is the user consuming more disk space and more futher in that perticular user which is the perticular single large file or single large directory causing this problem ? how to find immediately with a single command in HP -UX ?

Thanks

Vinod
4 REPLIES 4
Sunil Sharma_1
Honored Contributor

Re: Usage Information

Vinod,

du is the best comamnd to use.

go to home directory and run du. it will give you all you want.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
R. Sri Ram Kishore_1
Respected Contributor

Re: Usage Information

Hi,

Take a look at this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=137841

HTH.
Regards,
Sri Ram
"What goes up must come down. Ask any system administrator."
Vinod_22
Advisor

Re: Usage Information

Thanks Sunil and Sri ram I appriciates your help.

Vinod
Geoff Wild
Honored Contributor

Re: Usage Information

Here's a script I found, called top10.sh:

# top10.sh /home
HOME Directory Disk Utilization on %

Top 10 List

09/22/04@07:56

MBytes Home Directory
------- -----------------
153 /home/usera
54 /home/gwild
24 /home/userb
8 /home/userc
4 /home/userd
4 /home/usere
2 /home/userf
1 /home/userg
0 /home/userh
0 /home/userz
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.