Mstat

From MidasWiki
Revision as of 14:38, 5 August 2015 by Suz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description

mstat is a simple ASCII status display. It presents the most useful information about the current condition of the MIDAS Acquisition system in a compact form.

The display is composed at the most of 5 sections depending on the current status of the experiment. The section displayed in order from top to bottom refer to:

  • Run information.
  • Equipment listing and statistics if any frontend is active.
  • Logger information and statistics if mlogger is active.
  • Lazylogger status if lazylogger is active.
  • Client listing.

Arguments

  [-h ] : help
  [-h hostname ] : host name (see Common Parameters to MIDAS Utilities)
  [-e exptname ] : experiment name (see Common Parameters to MIDAS Utilities)
  [-l ] : loop. Forces mstat to remain in a display loop. Enter "!" to terminate the command.
  [-w time ] : refresh rate in seconds. Specifies the delay before refreshing the screen with up-to-date information. 
               Default: 5 seconds. Has to be used in conjunction with -l switch. Enter "R" to refresh screen on next update.

Usage

>mstat -l
*-v1.8.0- MIDAS status page -------------------------Mon Apr  3 11:52:52 2000-* 
Experiment:chaos       Run#:8699    State:Running          Run time :00:11:34   
Start time:Mon Apr  3 11:41:18 2000                                             
                                                                               
FE Equip.   Node              Event Taken    Event Rate[/s] Data Rate[Kb/s]     
B12Y        pcch02            67             0.0            0.0                 
CUM_Scaler  vwchaos           23             0.2            0.2                 
CHV         pcch02            68             0.0            0.0                 
KOS_Scalers vwchaos           330            0.4            0.6                 
KOS_Trigger vwchaos           434226         652.4          408.3               
KOS_File    vwchaos           0              0.0            0.0                 
Target      pcch02            66             0.0            0.0 
                                                                               
Logger Data dir: /scr0/spring2000            Message File: midas.log            
Chan.   Active Type      Filename            Events Taken   KBytes Taken        
 0     Yes    Disk      run08699.ybs        434206          4.24e+06           
                                                                               
Lazy Label     Progress  File name           #files         Total               
cni-53         100[%]    run08696.ybs        15             44.3[%]             
                                                                               
Clients:  MStatus/koslx0         Logger/koslx0          Lazy_Tape/koslx0        
          CHV/pcch02             MChart1/umelba         ODBEdit/koslx0          
          CHAOS/vwchaos          ecl/koslx0             Speaker/koslx0          
          MChart/umelba          targetFE/pcch02        HV_MONITOR/umelba       
          SUSI/koslx0            History/kosal2         MStatus1/dasdevpc  
*------------------------------------------------------------------------------*
>mstat
*- MIDAS revision: Thu Jan 23 16:49:52 2014 -0800 - 46f570e - MIDAS status page 
Experiment:deap ----SatRun#:4357 :14State:Running          Run time :27:54:07   
Start time:Fri Feb 14 14:20:17 2014                                             
                                                                               
FE Equip.   Node              Event Taken    Event Rate[/s] Data Rate[Kb/s]     
DTM         lxdeap01          30.124M        400.0          20.3                
FEV1720MTI00deap01            30.124M        399.9          26307.1             
FEV1720MTI01deap02            30.125M        399.9          26115.2             
FEV1720MTI02deap03            30.125M        400.5          25817.3             
FEV1720MTI03deap04            30.125M        400.0          25475.2             
FEVETO      lxdeap01          75.548M        762.6          10333.2             
DTMBUF      lxdeap01          99825          1.0            0.0                 
BUFLVLMT00  deap01            99484          1.0            0.2                 
BUFLVLMT01  deap02            99352          1.0            0.2                 
BUFLVLMT02  deap03            99382          1.0            0.2                 
BUFLVLMT03  deap04            99404          1.0            0.2                 
deapScb     deap00            9961           0.3            0.3                 
deapmpod    deap00            0              0.0            0.0                 
deapcdu     deap00            0              0.0            0.0                 
deapups     deap00            0              0.0            0.0                 
NutUps01    deap00            0              0.0            0.0                 
NutUps02    deap00            0              0.0            0.0                 
NutUps03    deap00            0              0.0            0.0                 
deapvme01   deap00            0              0.0            0.0                 
deapvme02   deap00            0              0.0            0.0                 
deapvme03   deap00            0              0.0            0.0                 
                                                                               
Logger Data dir: /data/test/deap             Message File: midas.log            
Chan.   Active Type      Filename            Events Taken   KBytes Taken        
 0     (Yes)  Disk      run04357.mid.gz     0               0.00e+00           
                                                                               
Clients:  mhttpd/deap00          fenutups03/deap00      fenutups02/deap00       
         fenutups01/deap00      deapups/deap00         deapcdu/deap00          
         fedeapmpod/deap00      deapvme03/deap00       deapvme02/deap00        
         deapvme01/deap00       fedeapScb/deap00       mhttpd1/deap02b         
         feDTM/lxdeap01         Logger/deap00          feov1720MTI00/deap01a   
         feov1720MTI01/deap02b  feov1720MTI02/deap03c  feov1720MTI03/deap04d   
         feVETO/lxdeap01        MStatus/deap05                                 
*------------------------------------------------------------------------------*