![]() |
Simple Admin Question
I know how to find out basic space utilization on a box with the
df -k command but how do I find out what /usr (s) are taking up the most space without having to dig through all their folders ? thanks in advance... |
if you wanna know what inside /usr is taking the most space...do
du -ks `ls /usr/` If you mean users...then thats du -ks `ls /usr/home/` or du -ks `ls /home/` *edited to fix command* |
Quote:
awesome! thanks mang....totally appreciate that...gotta find out who's jonesin all this space...damm pack rats.... ;) |
or you could have just typed df -H
will tell you what partitions how big each are |
Quote:
|
Quote:
|
Quote:
it's kinda working but not really giving me the list of users and how much each account is using :( is this for linux boxes or will it also work on freebsd? sorry for having misplaced all my clues tonight :) |
Quote:
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 |
Quote:
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 |
Quote:
There's a difference. |
All times are GMT -7. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123