Re: disk space remaining

From: Greg Beeker (gbeeker_at_gmail.com)
Date: 02/23/05

  • Next message: Pat Welch: "Re: SSH/SFTP Connection Forwarding"
    Date: 23 Feb 2005 08:09:42 -0800
    
    

    Bev A. Kupf wrote:
    > On Sat, 12 Feb 2005 13:18:58 -0800,
    > Lowell Kirsh (lkirsh@cs.ubc.ca) wrote:
    > > How can I check how much space I have left on my hard disk? I use
    bash,
    > > if that matters.
    >
    > `df` should tell you the number of kilobytes used/available on all
    > mounted partitions. So I suppose you could mount all the partitions
    > on your disk, and then try `df`.

    Depending on your OS, df may show data reported on 512 byte blocks. I
    always use df -k for data reported in 1024 byte blocks.

    df
    Filesystem 512-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 65536 22272 67% 1982 13% /

    df -k
    Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 32768 11136 67% 1982 13% /

    >
    > Beverly
    > --
    > Many a smale maketh a grate -- Geoffrey Chaucer


  • Next message: Pat Welch: "Re: SSH/SFTP Connection Forwarding"

    Relevant Pages

    • Re: disk space remaining
      ... Lowell Kirsh wrote: ... > How can I check how much space I have left on my hard disk? ... I use bash, ... mounted partitions. ...
      (comp.unix.admin)
    • Re: disk space remaining
      ... Bev A. Kupf wrote: ... > Lowell Kirsh wrote: ... >>How can I check how much space I have left on my hard disk? ... > mounted partitions. ...
      (comp.unix.admin)
    • Re: Lost root password
      ... Assuming your root filesystem is vxfs, ... Mount the root filesystem of the hard disk; ...
      (comp.unix.unixware.misc)
    • Re: update CE application during runtime
      ... distributing it on the hard disk itself. ... root of the filesystem. ... will be used the next time it's executed in place of the ROM ... "path" includes a folder on this flash filesystem. ...
      (microsoft.public.windowsce.app.development)
    • Re: remove /boot by mistake, /,/usr and /home on partitions with LVM and crypt
      ... WindowsXP and Debian/Linux R4.0 Ecth. ... another hard disk and attached the hard disk which the broken system ... Waiting for root filesystem ... ... debugfs 1.40-WIP ...
      (Debian-User)