Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tool to easily view disk space.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ribs
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2002
Posts: 133
Location: UK

PostPosted: Fri Nov 07, 2003 8:34 pm    Post subject: Tool to easily view disk space. Reply with quote

Hi,

Just found out today that I'm practially out of disk space (The joys of my new broadband connection!). If there any graphical applications which would give me a good overview of where all my space is going?

I currently use Gnome, and nautilus isn't really up to the task. I discovered the "du -hs" command, but that will take a while to get a good overview on my system.

Thanks,
-Ribs.
Back to top
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Fri Nov 07, 2003 9:04 pm    Post subject: Reply with quote

Code:
gnome-system-monitor
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Fri Nov 07, 2003 9:10 pm    Post subject: Reply with quote

filelight (http://www.methylblue.com/filelight/ also in portage) is an EXTREMELY good tool for this-- I reclaimed about ten GB of misc space after running it.
_________________
what up
Back to top
View user's profile Send private message
tobechar
n00b
n00b


Joined: 30 Oct 2003
Posts: 61
Location: Canada

PostPosted: Fri Nov 07, 2003 9:33 pm    Post subject: Reply with quote

If you are using KDE, click on Konsole, GNOME, use Terminal.

Type the following command:
Code:
df -h


This will display your used and free space.
_________________
Computin' Since '89
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Fri Nov 07, 2003 9:45 pm    Post subject: Reply with quote

tobechar wrote:
If you are using KDE, click on Konsole, GNOME, use Terminal.

Type the following command:
Code:
df -h


This will display your used and free space.


Yes, but that really isn't a terribly good way to find hidden space.
_________________
what up
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Fri Nov 07, 2003 10:33 pm    Post subject: Reply with quote

don't use df -h, just do this:
Code:

du |sort -n

then you see the biggest stuff at the bottom.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
sawanv
Apprentice
Apprentice


Joined: 05 Dec 2002
Posts: 238

PostPosted: Sun Nov 09, 2003 4:07 pm    Post subject: Reply with quote

If you use KDE, Kdiskfree is useful for this....
_________________
Eir kahen "chalo ghar jayen",
Bir kahen "chalo ghar jayen",
Phatte kahen "chalo ghar jayen",
Cartman kahen....."Screw you guys, I am going home !!! "
Back to top
View user's profile Send private message
splice
n00b
n00b


Joined: 06 Dec 2002
Posts: 13

PostPosted: Mon Nov 10, 2003 8:48 pm    Post subject: Reply with quote

Or, for a much better way than the old du |sort -n trick (I use 'du -ak |sort -n' in those cases):

find /somefilesys -follow -mount -type f -print0 | xargs -0 ls -l | sort -r -n -k 5,5 | head -10

Of course, replace /somefilesys with the root from which you want to search, and head -10 with head -x, where x is the number of files you want displayed. This will give you the x (or in the example case, 10) biggest files found under the root provided. Credits go to Kyle Douglass, who provided the tip in the October Shell Corner (Miscellaneous Unix Tips IV) at unixreview.com.
Back to top
View user's profile Send private message
LMCBoy
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 191
Location: San Ramon, CA

PostPosted: Tue Nov 11, 2003 3:05 am    Post subject: Reply with quote

Konqueror in 3.2 has a plugin called "FSView" which shows a really cool graphical representation of your disk usage. It tiles the konqueror window with rectangles, each representing a directory, and each size is proportional to the directory's dusk usage. It's fully interactive, you can click on any rectangle to enter that directory to see more details about its subdirs. It's a bit slow, but a LOT faster than KDiskFree in my experience. Here's a screenie:

clicky
_________________
LMCBoy
Back to top
View user's profile Send private message
sawanv
Apprentice
Apprentice


Joined: 05 Dec 2002
Posts: 238

PostPosted: Tue Nov 11, 2003 3:44 am    Post subject: Reply with quote

If you simply want to view total disk summary then the best way is

df -h

As noted above. Very useful for consoles, quick looks, ssh, etc.

That fsview stuff looks like one confusing mother!!!!

Sawan
_________________
Eir kahen "chalo ghar jayen",
Bir kahen "chalo ghar jayen",
Phatte kahen "chalo ghar jayen",
Cartman kahen....."Screw you guys, I am going home !!! "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum