[rhn-users] File Management

Michael Ezell michael at usmhosting.com
Mon Apr 5 05:47:40 UTC 2004


I like to use df -k to see how much disk space is taken/free in
kilobytes.

And I use du -sh * to see how much space each subdirectory is using.

Returns this in the /var/ directory :

4.0K    account
1.7M    cache
4.0K    db
8.0K    empty
289M    lib
4.0K    local
8.0K    lock
135M    log
0       mail
16K     named
4.0K    nis
4.0K    opt
4.0K    preserve
128K    run
7.8M    spool
4.0K    tmp
4.0K    tux
1.2M    webmin
1.9M    www
4.0K    yp

And /usr/

92M     bin
4.0K    dict
4.0K    etc
4.0K    games
19M     include
166M    java
80M     java.tar
4.2M    kerberos
399M    lib
55M     libexec
305M    local
20M     sbin
364M    share
56K     src
0       tmp
12M     X11R6 

Michael

-----Original Message-----
From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com]
On Behalf Of Mike Duffy
Sent: Monday, April 05, 2004 12:14 AM
To: Red Hat Network Users List
Subject: Re: [rhn-users] File Management

Thanks Jon.

Is there any way to tell which files are on which hard disk?

I do not miss the Window's viruses, but I do miss the Window's file
management system that showed me a clear picture of which files were on
each hard disk and how much space each disk had remaining.

Are there any Linux distributions that have this feature?

Mike


--- Jon Branch <jon_branch at email.com> wrote:
> Hi Mike
> 
> In a terminal;-
> 
> The "du" command will tell you disk usage, eg:-
> 
> du /home
> 
> will tell you how much disk space is being used by the /home
directory.
> 
> The "df" command will tell you how much disk space is free (i.e.
df=disk free), eg.
> 
> df
> 
> without arguments will tell you how much space is left on the disk.
> 
> Regards
> 
> Jon Branch
> ----- Original Message -----
> From: Mike Duffy <mduffy_lists at yahoo.com>
> Date: Sat, 3 Apr 2004 18:45:48 -0800 (PST)
> To: Red Hat Network Users List <rhn-users at redhat.com>
> Subject: [rhn-users] File Management
> 
> > I am usung RH 9.
> > 
> > I have two hard drives on my system
> > 
> > Is there anyway to get a few of the file space used and the space
available on my harddisks?
> > 
> > Thanks.
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Small Business $15K Web Design Giveaway 
> > http://promotions.yahoo.com/design_giveaway/
> > 
> > 
> > _______________________________________________
> > rhn-users mailing list
> > rhn-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/rhn-users
> 
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/


_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users








More information about the rhn-users mailing list