On Sun, 1 Dec 2002 07:15:35 +0100 (CET)
moises <[EMAIL PROTECTED]> wrote:

> 
> Hello! 
> 
> does Somebody know how I can get the hard disk space, i mean, the used
> and free space available for each Linux Partition!!, not mounted
> partitions like CDROM or something like that!??
> 
> and if is possible, the all partitions exist in the HARD DISK!!!
> 
> thanks for your help!!

List all of the partitions on a drive (replace 'X' with a, b, c or d, or
replace all with sda, sdb, etc):

fdsik -l /dev/hdX

Get space usage on mounted partitions:

df

df -h           (human readable)

df /dev/hdXX    (a particular partition)

df -h /dev/hdXX (single partiton, human readable)

I don't know of a way to get stats for usage on unmounted partitions.
Only sizes.

-- 
...and that is how we know the Earth to be banana-shaped.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to