View Single Post
Old 12-22-2004, 10:26 PM  
TheJimmy
ICQ- five seven 0 2 5 5 0
 
Join Date: Jan 2001
Posts: 10,747
Quote:
Originally Posted by Andrew-at-ENet
You need to basically execute the du -ks `ls`

On the directory that contains all the users home directories. That'll give you how much each directory has... a quick sort on that would give you the top users.

It should work on Linux & FreeBSD & Solaris

when I run the commands I get this:



su-2.04# du -ks 'ls'
du: ls: No such file or directory
su-2.04# du -ks 'ls /usr/home/'
du: ls /usr/home/: No such file or directory


and trust me, those files/directories exist
__________________
Investor with 5m - 15m USD to invest. Do you have a site or network of sites earning 50k - 200k a month income? Email your contact and preliminary data to: domain.cashventures (at) gmail.com....Please...no tire kickers...serious offers and inquiries only.
TheJimmy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote