[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Disk storage!



On Sun, 1 Dec 2002 09:31:21 -0600
ABrady <xunil kc rr com> wrote:

> On Sun, 1 Dec 2002 07:15:35 +0100 (CET)
> moises <mciing7912 yahoo es> 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

If you want to give an example, at least spell it right!

Switch "fdsik" to "fdisk" above.

> 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.

-- 
Yes, but which self do you want to be?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]