tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: 'df -g' for GB--could this be possible?--alternatives
@ 2000-09-23  0:09 Joe Ledesma
  0 siblings, 0 replies; only message in thread
From: Joe Ledesma @ 2000-09-23  0:09 UTC (permalink / raw)
  To: tru64-unix-managers

Since no 'df -g' for GB is available to help on systems with large file
systems, several respondents suggested building the GNU fileutils, which
provides a 'df -h' to display file system sizes in K, M, or G depending on
the size.

An except from GNU df(1):

--block-size=SIZE
use SIZE-byte blocks
-h, --human-readable
print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si
likewise, but use powers of 1000 not 1024
 . .
-k, --kilobytes
like --block-size=1024
 . .
-m, --megabytes
like --block-size=1048576

-----------------

Sizes can be obtained for AdvFS file systems, not just UFS.

The GNU Fileutils are available on the Open Source Software Collection CD
(formerly the Freeware CD).

Several alternatives were suggested by Colin Walters from a documentation
group at Compaq:

* Dxsysinfo GUI gives file system usage information in MB.

* In SysMan station GUI you can use Display Currently Mounted File Systems
or Manage; however, you have to view the properties of each file system to
see its usage in MB.

* In SysMan you can also use Manage an AdvFS Domain; however, you likewise
have to choose a domain to see its usage in GB or MB.

* "If you want to determine the information for use in a script,
 you could probably use sysman_cli (the command line interface
 to the Sysman Menu. This feasture enables you to list attributes
 of the relevant file systems component.  Example code in /usr/examples
 and I put a lot of examples in the sysman_cli.8 manpage."

-----------------

Two respondents from Compaq said they would submit a request to Engineering,
but such requests takes a long time.

One second thought, the -h option found in the GUN version is probably
better than separate options -m and -g (and -t is already taken for another
meaning.).

Joe Ledesma
Oracle DBA / SAP R/3 Basis / UNIX Admin
Sacramento, CA  USA

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-23  0:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-23  0:09 SUMMARY: 'df -g' for GB--could this be possible?--alternatives Joe Ledesma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox