Name
datadirs -- print summary of recent data directories
Purpose
Locate and print the names of directories which contain FITS
images on the DEIMOS data disks, plus the number of blocks of
data stored therein.
Usage
datadirs [-D] [-c] [account]
Arguments
account = name of the account for which to search
[default=current user, "all" gives all]
Switches
-D = debug mode
-c = show compression status of directories. Directories which
are not fully compressed are marked with an asterix
Output
List of data directories
Restrictions
None
Exit values
0 = normal completion
1 = wrong number of arguments
Example
1) Print out list of all data directories:
polo{deimos4}85: datadirs all
/dsk/iraid1/kics/2002aug17 290640
/dsk/iraid1/kics/2002aug18 1853010
...
/dsk/iraid1/deimos4/2002aug16 30691736
/dsk/iraid1/deimos4/2002aug15 2696594
2) Print out list of all data directories for this account:
polo{deimos4}87: datadirs
/dsk/iraid1/deimos4/2002aug16 30691736
/dsk/iraid1/deimos4/2002aug15 2696594
3) Print out list of all occupied data directories for "deimos3":
polo{deimos4}87: datadirs deimos3
/dsk/iraid1/deimos3/2002aug13 37433128
/dsk/iraid1/deimos3/2002aug14 24779988
/dsk/iraid2/deimos3/2002aug09 5903164
/dsk/iraid2/deimos3/2002aug10 24388340
/dsk/iraid2/deimos3/2002aug11 21018734
/dsk/iraid2/deimos3/2002aug12 35955228
/dsk/iraid2/deimos3/2002aug13 44
/dsk/iraid2/deimos3/2002aug14 44
4) Print out list of all data directories and show status
of compressed files:
[61] deimos@polo> datadirs -c all
/dsk/iraid2/deimos7/2002oct01 5158306 53/ 53 FITS images compressed
/dsk/iraid2/deimos7/2002oct02 4084054 39/ 39 FITS images compressed
/dsk/iraid2/deimos3/2002oct03 7462189 95/ 96 FITS images compressed *
/dsk/iraid2/deimos3/2002oct04 15981853 37/140 FITS images compressed *
/dsk/iraid2/deimos3/2002oct05 7764075 0/ 78 FITS images compressed *
/dsk/iraid1/deimos3/2002oct06 4966609 85/ 86 FITS images compressed *
/dsk/iraid2/deimos8/2002oct07 7716172 99/ 99 FITS images compressed
/dsk/iraid2/deimos8/2002oct08 6975709 96/ 96 FITS images compressed
See Also
The shell script datadirs
DEIMOS script index
Go to:
DEIMOS Home Page -
Instruments Home Page -
Keck Home Page
Last modified: Sun Jun 22 07:31:38 2014