Re: disk space remaining

From: Dragan Cvetkovic (me_at_privacy.net)
Date: 02/25/05


Date: Fri, 25 Feb 2005 13:08:01 -0500

Kevin Collins <spamtotrash@toomuchfiction.com> writes:

> In article <1109089154.248373.128720@o13g2000cwo.googlegroups.com>, sien0001
> wrote:
>> If you are anything like me, btye intollerant, than use the ' -h'
>> switch with df and it will print the amounts of data in human readable
>> format.
>
> Where besides linux does the '-h' option exist? Not on HP-UX (through 11.23) or
> Solaris (5.8)... Its a great option, tho :)
>
> Kevin

Solaris 9 and 10 do have it:

sc2$ /usr/bin/df -kh
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d10 9.6G 2.7G 6.8G 29% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 2.6G 224K 2.6G 1% /var/run
swap 2.7G 97M 2.6G 4% /tmp

[rest snipped]

sc2$ uname -rs
SunOS 5.9

-- 
Dragan Cvetkovic, 
To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!


Relevant Pages