Public Member Functions | Public Attributes | List of all members
MonitorHk Class Reference

MonitorHk – The CPU Monitor data. More...

#include <MonitorHk.h>

Public Member Functions

 MonitorHk ()
 Default constructor.
 
 ~MonitorHk ()
 Destructor.
 
 MonitorHk (Int_t trun, Int_t trealTime, MonitorStruct_t *monPtr)
 Assignment constructor.
 
const char * getDriveName (int driveInd)
 Returns drive name by index.
 
int getDriveCapacity (int driveInd)
 Returns drive capacity by index.
 
int getDiskSpaceAvailable (int driveInd)
 Returns disk space available by index.
 
float getDiskSpacePercentage (int driveInd)
 Returns disk percentage by index.
 
const char * getHkQueueName (int hkInd)
 Returns Hk Queue name.
 
const char * getProcName (int procInd)
 Returns process name.
 
 ClassDef (MonitorHk, 41)
 

Public Attributes

Int_t run
 Run number assigned offline.
 
UInt_t realTime
 Time in unixTime.
 
UInt_t payloadTime
 Time in unixTime.
 
UShort_t diskSpace [8]
 The free space left on the disks in units of 10 Megabytes. More...
 
Char_t ntuLabel [12]
 Label of the currently mounted ntu drive.
 
Char_t otherLabel [12]
 Label of the currently mounted other drive.
 
Char_t usbLabel [12]
 Defunct.
 
UShort_t eventLinks [10]
 
UShort_t hkLinks [21]
 The number of links in the housekeeping queues. More...
 
UInt_t utime [20]
 The user space CPU time used by the flight software processes. More...
 
UInt_t stime [20]
 The system space CPU time used by the flight software processes. More...
 
UInt_t vsize [20]
 The memory used by the flight software processes. More...
 

Detailed Description

MonitorHk – The CPU Monitor data.

The ROOT implementation of the CPU monitoring data

Definition at line 34 of file MonitorHk.h.

Inheritance diagram for MonitorHk:
Inheritance graph
[legend]
Collaboration diagram for MonitorHk:
Collaboration graph
[legend]

Member Data Documentation

UShort_t MonitorHk::diskSpace[8]

The free space left on the disks in units of 10 Megabytes.

The free space left on the disks in units of 10 Megabytes. The eight disks and their capacities are:

  • "[0]" The ramdisk (8GB)
  • "[1]" The var partition (3GB)
  • "[2]" The home partition (4GB)
  • "[3]" The root partiiton (8GB)
  • "[4]" The helium1 drive (6000GB)
  • "[5]" The helium2 drive (6000GB)
  • "[6]" The USB drive (128GB)
  • "[7]" The NTU SSD drive (1000GB)In units of 10 MegaBytes

Definition at line 58 of file MonitorHk.h.

UShort_t MonitorHk::eventLinks[10]

The number of links in the 10 prioritity queues.

Definition at line 62 of file MonitorHk.h.

UShort_t MonitorHk::hkLinks[21]

The number of links in the housekeeping queues.

The number of links in the housekeeping queues

  1. LosCmd
  2. SipCmd
  3. Monitor
  4. Header
  5. Acromag
  6. Adu5aSat
  7. Adu5bSat
  8. G12Sat
  9. Adu5aPat
  10. Adu5bPat
  11. G12Pos
  12. Adu5aVtg
  13. Adu5bVtg
  14. G12Gga
  15. Adu5aGga
  16. Adu5bGga
  17. SurfHk
  18. TurfHk
  19. Other
  20. Pedestal
  21. Request

Definition at line 71 of file MonitorHk.h.

UInt_t MonitorHk::stime[20]

The system space CPU time used by the flight software processes.

Thqe system space time used by the flight software processes.

  1. Acqd
  2. Archived
  3. Calibd
  4. Cmdd
  5. Eventd
  6. GPSd
  7. Hkd
  8. LOSd
  9. Prioritizerd
  10. SIPd
  11. Monitord
  12. Playbackd
  13. Logwatchd
  14. Neobrickd
  15. n/a
  16. n/a

Definition at line 83 of file MonitorHk.h.

UInt_t MonitorHk::utime[20]

The user space CPU time used by the flight software processes.

The user time used by the flight software processes.

  1. Acqd
  2. Archived
  3. Calibd
  4. Cmdd
  5. Eventd
  6. GPSd
  7. Hkd
  8. LOSd
  9. Prioritizerd
  10. SIPd
  11. Monitord
  12. Playbackd
  13. Logwatchd
  14. Neobrickd
  15. n/a
  16. n/a

Definition at line 77 of file MonitorHk.h.

UInt_t MonitorHk::vsize[20]

The memory used by the flight software processes.

The memory used by the flight software processes.

  1. Acqd
  2. Archived
  3. Calibd
  4. Cmdd
  5. Eventd
  6. GPSd
  7. Hkd
  8. LOSd
  9. Prioritizerd
  10. SIPd
  11. Monitord
  12. Playbackd
  13. Logwatchd
  14. Neobrickd
  15. n/a
  16. n/a

vsize of each process

Definition at line 89 of file MonitorHk.h.


The documentation for this class was generated from the following files: