Re: uncluttering df -l output

From: Paul Eggert (eggert_at_twinsun.com)
Date: 06/13/03


Date: Thu, 12 Jun 2003 15:05:44 -0700

Richard.L.Hamilton@mindwarp.smart.net (Richard L. Hamilton) writes:

> So there's really two different things I want: I don't want to have to
> look at pseudo filesystems in df output unless I impose no restrictions on
> what to display, because the only useful information that provides is that
> they're mounted (which one could find out with mount or by reading
> /etc/mnttab directly), and I'd like something that was like df -l, but
> restricted to "interesting" (potential local space problem) filesystems.

GNU "df" should do what you want out of the box. It's part of the
coreutils package.

> An easily parsable output format (no broken lines, guaranteed white space
> between each field, no header) would also be nice.

GNU "df -P" does all that except for the "no header" part. So
"df -P | sed 1d" should do what you want, if you have GNU df.



Relevant Pages

  • Re: Calculating a programs run time
    ... I'm trying to get my program provide useful information about ... > What are the relevant commands for me to look up? ... I sometimes put a display routine into a program to report ... or how many iterations of the main significant procedure have been done ...
    (comp.lang.fortran)
  • Matrix Concatenation and Storing useful information
    ... useful information in form of ID so that I can recall it and get that ... REQUIRED OUTPUT ... display C value for all the elements of column marked N, ...
    (sci.stat.math)
  • Matrix Concatenation and Storing useful information
    ... useful information in form of ID so that I can recall it and get that ... REQUIRED OUTPUT ... display C value for all the elements of column marked N, ...
    (comp.soft-sys.matlab)
  • Matrix Concatenation and Storing useful information
    ... useful information in form of ID so that I can recall it and get that ... REQUIRED OUTPUT ... display C value for all the elements of column marked N, ...
    (sci.stat.math)