Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dfspace(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

df(C)


 dfspace(C)                      19 June 1992                      dfspace(C)


 Name

    dfspace - report disk space

 Syntax

    /etc/dfspace [ filesystem ... ]

 Description

    dfspace is a shell script interface to the df(C) command.

    /etc/dfspace with no arguments will report the disk space used for each
    mounted file system, along with the total disk space available for that
    filesystem, and the percentage of space currently used.  Total disk
    space, total disk space available, and percentage used are also reported.
    Disk space is reported in megabytes.

    You can see disk space for a particular filesystem by supplying that
    filesystem as an argument to dfspace.  You can specify filesystems by de-
    vice name (for example, /dev/root) if you wish.

    dfspace is frequently used in the system startup files /etc/profile or
    /etc/cshrc.

 Example


       /etc/dfspace

       /         :     Disk space:  31.12 MB of 146.47 MB available (21.25%).
       /u        :     Disk space:  35.41 MB of 201.16 MB available (17.60%).
       /z        :     Disk space:  50.37 MB of 272.74 MB available (18.47%).
       /w        :     Disk space: 506.81 MB of 605.93 MB available (83.64%).

       Total Disk Space: 623.72 MB of 1226.32 MB available (50.86%).


 See also

    df(C)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026