gdf

graphically display the amount of free space remaining on a disk 

Command


SYNOPSIS

gdf [-ckPt] [[device] [filename]] ...


DESCRIPTION

gdf shows the amount of free space left on a disk device, and the total amount available on the device (free+used), measured in units of 512-byte disk sectors. You can specify a device either by name, or by naming any file name on that device. If you do not give an argument, gdf reports space for all devices known to the system.

Options

-c 

uses the command-line version of this command (see df).

-k 

uses 1024-byte (1K) units instead of the default 512-byte units when reporting space information.

-P 

lists complete information on space used, in the following order:

  • file system name
  • total space (in blocks)
  • space used
  • space available
  • capacity (in percentage of space used)
  • drive letter (where the file system is mounted)
-t 

lists space used as well as space free.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


NOTE

gdf is provided as a KornShell executable script with bound resources. MKS cannot be responsible for proper functionality of this code if you alter the gdf.ksh file in any way.


PORTABILITY

Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
df


PTC MKS Toolkit 10.4 Documentation Build 39.