Reports on disk space use for views, VOBs, or file-system files or directories
ClearCase (cleartool subcommand), Attache (command)
The space command displays data on disk space use for views, VOBs, or file-system files or directories. Reports are organized by disk partition, with disk-use statistics listed both in absolute units (megabytes) and as a percentage of the capacity of the disk partition containing the storage directory.
With the -view or -vob option, space uses by default previously generated, cached data for a view or VOB. The -update option generates fresh data and updates the cache before displaying the report. With the -directory option, space does not use cached data.
The -generate option is intended for use by scheduled jobs. By default, the ClearCase scheduler periodically runs space with the -generate option to generate and cache data on disk space use for all local views and VOBs. See the schedule reference page for information on describing and changing scheduled jobs.
NOTE: On Windows 95 and Windows 98 machines, output from the space command is incorrect for disk volumes larger than 2 GB. The total file-system size is limited to 2048 MB, and the in-use value for the file system is wrong.
Permissions Checking: For the -update option, you must have Change or Full access in the ClearCase scheduler ACL on the host where each VOB storage directory resides. See the schedule reference page. For the -vob -generate option, you must be one of the following for each VOB: VOB owner, member of the ClearCase group. For the -view -generate option, you must be one of the following for each view: view owner, member of the ClearCase group. See the permissions reference page.
SPECIFYING THE DATA STRUCTURES. Default: If no -view, -vob, or -directory option is specified, the default is -vob. For the -generate option with no specified tag, the default is all local views or VOBs. Otherwise, with -view or -vob you must specify either -host or a tag. With -directory you must specify a pathname.
REPORT FORMAT. Default: In a report on a view or VOB storage directory, storage items that are known to be small are not listed. (The contribution of these files is still included in the disk-use total.)
DISPLAYING AND CACHING UP-TO-DATE DATA. Default: Use cached data.
GENERATING, CACHING, AND SCRUBBING DATA. Default: None.
Examples including wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
cmd-context space -vob \bigapp
Use(Mb) %Use Directory
0.0 0% administration data g:\vobs\bigapp_vob\admin
0.0 0% cleartext pool storage g:\vobs\bigapp_vob\c
100.6 0% derived object pool storage g:\vobs\bigapp_vob\d
263.2 1% VOB database g:\vobs\bigapp_vob\db
189.0 1% source pool storage g:\vobs\bigapp_vob\s
0.0 0% cleartext pool g:\vobs\bigapp_vob\c\cdft
100.6 0% derived object pool g:\vobs\bigapp_vob\d\ddft
189.0 1% source pool g:\vobs\bigapp_vob\s\sdft
-------- ---- ---------------------------------------------------------
842.5 2% Subtotal
8968.5 26% Filesystem srv1:g: (capacity 34712.0 Mb)
Total usage 27-Jul-99.04:36:01 for vob "\bigapp" is 842.5 Mb
cmd-context space -view -host machine1
Use(Mb) %Use Directory
0.1 0% View private storage C:\Storage\kim_mainline.vws\.s
0.1 0% View database C:\Storage\kim_mainline.vws\db
0.0 0% View administration data C:\Storage\kim_mainline.vws\admin
1.4 0% View private storage C:\Storage\kim_v3.2.vws\.s
0.1 0% View database C:\Storage\kim_v3.2.vws\db
0.0 0% View administration data C:\Storage\kim_v3.2.vws\admin
103.8 5% View private storage C:\Storage\kim_win32_nt.vws\.s
0.3 0% Database dump file C:\Storage\kim_win32_nt.vws\db.dumped
0.4 0% View database C:\Storage\kim_win32_nt.vws\db
0.0 0% View administration data C:\Storage\kim_win32_nt.vws\admin
0.6 0% View private storage C:\Storage\kim_win32_nt2.vws\.s
0.0 0% View database C:\Storage\kim_win32_nt2.vws\db
0.0 0% View administration data
C:\Storage\kim_win32_nt2.vws\admin
0.0 0% View private storage C:\Storage\kim_mainline_snap\.s
0.3 0% View database C:\Storage\kim_mainline_snap\db
0.0 0% View administration data
C:\Storage\kim_mainline_snap\admin
-------- ---- ---------------------------------------------------------
107.2 5% Subtotal
2000.9 98% Filesystem machine1:c:\ (capacity 2047.0 Mb)
Total usage 07-Jul-99.04:40:00 for view "kim_mainline" is 0.2 Mb
Total usage 07-Jul-99.04:40:00 for view "kim_v3.2" is 1.5 Mb
Total usage 07-Jul-99.04:40:01 for view "kim_win32_nt" is 104.6 Mb
Total usage 07-Jul-99.04:40:03 for view "kim_win32_nt2" is 0.6 Mb
Total usage 07-Jul-99.04:40:03 for view "kim_mainline_snap" is 0.3 Mb
cmd-context space -view -update fred_1
Updating space information for "fred_1" on host "machine1".
Job is running on remote host ("machine1"), waiting for it to finish.
............
Job completed successfully on remote host ("machine1").
Use(Mb) %Use Directory
9.4 0% View private storage D:\CCstore\fred_1.vws\.s
0.0 0% View administration data D:\CCstore\fred_1.vws\admin
0.1 0% View database D:\CCstore\fred_1.vws\db
-------- ---- ---------------------------------------------------------
9.5 0% Subtotal
2518.3 62% Filesystem machine1:d:\ (capacity 4086.8 Mb)
Total usage 05-Aug-99.10:28:51 for view "fred_1" is 9.5 Mb
cmd-context space -directory D:\users\sue
Use(Mb) %Use Directory
38.8 1% D:\users\sue
-------- ---- ---------------------------------------------------------
38.8 1% Subtotal
2546.7 62% Filesystem machine1:d:\ (capacity 4086.8 Mb)
dospace, mkview, mkvob, reformatvob, schedule
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |