From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96966769424452.tru64-unix-managers.marc@archive.invalid> From: Joe Ledesma Date: Sat, 23 Sep 2000 00:09:11 +0000 To: tru64-unix-managers Subject: SUMMARY: 'df -g' for GB--could this be possible?--alternatives X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96966769424452 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