The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
disk usage rrs Shell Programming and Scripting 1 04-13-2007 12:48 AM
disk usage (df vs du) gfhgfnhhn UNIX for Advanced & Expert Users 8 09-23-2006 05:06 PM
disk usage karthikosu UNIX for Dummies Questions & Answers 2 06-29-2006 12:48 PM
Disk Usage lewisoco UNIX for Dummies Questions & Answers 3 05-09-2006 05:44 PM
Disk usage (Mac OS 10.4) H1tokori UNIX for Dummies Questions & Answers 5 12-05-2005 03:37 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-31-2001
Registered User
 

Join Date: Mar 2001
Location: Calcutta, India
Posts: 46
Stumble this Post!
what are the ways to check the disc usage by users. I mean to say how to find the biggest space consumer. Regards.
Forum Sponsor
  #2 (permalink)  
Old 03-31-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,264
Stumble this Post!
One way is to go into the home directory of the users (for example /usr/home or /home) and then do a:

Quote:

du -sb *
This will run a disk usage summary in bytes for each user directory tree.

A more complex way is to turn on an accounting system.
  #3 (permalink)  
Old 03-31-2001
Registered User
 

Join Date: Mar 2001
Location: Calcutta, India
Posts: 46
Stumble this Post!
Will it show users in descending/ascending order of usage? bcoz as a system administrator, it is many times required to know the users of higher usage.
  #4 (permalink)  
Old 03-31-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,264
Stumble this Post!
No, then you pipe the output to a filter (sort) and sort on the disk usage stats. Try reading the man page on sort and enjoy !
  #5 (permalink)  
Old 04-01-2001
mib mib is offline
Registered User
 

Join Date: Jan 2001
Location: Calicut
Posts: 228
Stumble this Post!
ex: du -skc /home/* | sort -nr

Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0