Difference between revisions of "Example CCDB session"

From GlueXWiki
Jump to: navigation, search
(Created page with "=From the *nix shell command line= {| border |- ! you type !! you get |- | ccdb || you get a simple usage message |- | ccdb help || you get a more extensive help message |- | cc...")
 
(Example ccdb shell session)
 
Line 30: Line 30:
 
| info cluster_merging || displays detailed information about the nature of the "cluster_merging" calibration constant type
 
| info cluster_merging || displays detailed information about the nature of the "cluster_merging" calibration constant type
 
|-
 
|-
| vers cluster_merging || shows versions of the cluster_merging calibration type
+
| cat cluster_merging || dumps ("cat"s) the contents of calibration version
 
|-
 
|-
| cat 5 || dumps ("cat"s) the contents of calibration version 5
+
| cat bcal_parms:0|| dumps ("cat"s) the contents of calibration version for run number 0
 +
|-
 +
| vers cluster_merging || shows versions of the cluster_merging calibration type
 +
 
 
|}
 
|}

Latest revision as of 17:34, 15 December 2011

From the *nix shell command line

you type you get
ccdb you get a simple usage message
ccdb help you get a more extensive help message
ccdb -i you enter the ccdb shell. there are several unix-like commands available to you to navigate the contents of the database and to modify the contents of the database

Example ccdb shell session

Enter the ccdb shell with "ccdb -i". After that:

you type you get
ls shows contents of the current directory
ls BCAL shows the contents of the BCAL directory
cd BCAL enter the BCAL directory
ls shows the contents of the current directory (BCAL now)
info cluster_merging displays detailed information about the nature of the "cluster_merging" calibration constant type
cat cluster_merging dumps ("cat"s) the contents of calibration version
cat bcal_parms:0 dumps ("cat"s) the contents of calibration version for run number 0
vers cluster_merging shows versions of the cluster_merging calibration type