Stephen Harris wrote:
On Thu, Aug 14, 2008 at 01:12:58AM -0700, MHR wrote:
On Wed, Aug 13, 2008 at 8:56 PM, Lunix1618 <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] ~]# df -kPl
Filesystem         1024-blocks      Used Available Capacity Mounted on
/dev/mapper/VolGroup00-LogVol00 274405432  18584656 241656808       8% /
/dev/sda2               101105     19096     76788      20% /boot
tmpfs                  1682508         0   1682508       0% /dev/shm

and with the command of Stephen :
[EMAIL PROTECTED] ~]# df -Pkl | awk '/^\/dev\// { avail += $3/1024 } END { 
printf("%d Mb used\n",avail)} '
18173 Mb used
Oppps, sorry my fault... 18,173 MB equal 18 GB
sorry again.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to