The Graham Utilities for OS/2 - Version 2


[Warpspeed]

[Table of Contents] [Index] [Previous] [Next]


Space - Disk Drive Space

Summary

Space will display the total and the free sizes of all disks which it can locate, both local and remote.

Icon

Command Line Format

Usage: Space {Switches}

Switches

-c
Colour warning display
-g
Graphic representation
-p
Pause between graphic screens

Description

Space displays some information about all disk drives. It will display the type, either Local or Remote (a network drive), the file system type, the volume label, the total disk size and the available amount of free disk space. It will also list the total size and the total free disk space of all disks.

This is a typical example:

Type       System  Label                Total      Free
-------------------------------------------------------------
LOCAL  C:  FAT     SYSTEM DISK     73,222,144     14,714,880
LOCAL  D:  FAT     APPLICATION    157,097,984     14,573,568
LOCAL  E:  HPFS    DEVELOPMENT    157,270,016     118,109,184
LOCAL  F:  HPFS    COMPILERS      157,270,016     30,936,576
LOCAL  G:  FAT     TEST           157,097,984     157,097,984
LOCAL  H:  HPFS    SPARE          667,926,528     216,890,368
LOCAL  I:  CDFS    OS2_CD_ROM     321,073,152     0
REMOTE J:  LAN     BBS-C          212,097,024     97,678,336
REMOTE K:  LAN     BBS-D           85,202,944     82,528,768

                               -------------   -------------
                 Local Total   1,690,957,824     552,322,560
                 Remote Total    297,299,968     180,207,104
                        Total  1,988,257,792     732,529,664

-c Colour warning display

The default operation of the -g switch is to display a bar graph of the disk usage. The bar is displayed in bright green.

The -c switch modifies this default behaviour to include colour warning information in the colour of the bar graph. The colours are broken down into the following bands:

% Full
Colour of Bar Graph
0 - 75%
Green
76 - 89%
Yellow
90 - 100%
Red

Note : This switch is only meaningful with the -g switch.

-g Graphic representation

The default mode of Space is to list the total and free sizes in numbers. This switch shows you a bar graph indicating how much of the disk is used.

-p Pause between graphic screens

Because the -g switch may produce many screen fulls of information, this switch prompts you to press a key between each drive as it is listed.

Examples

SPACE
Space will display the sizes in numbers.
SPACE -g
Space will display its information using a bar graph.
SPACE -gp
Space will display its information using a bar graph and pause between each disk drive.