Monitoring  3.3.4
O2 Monitoring library
o2::monitoring::ProcessMonitor Class Reference

Monitors current process and/or other processes running at the same machien. More...

#include <ProcessMonitor.h>

Collaboration diagram for o2::monitoring::ProcessMonitor:

Public Types

enum  {
  MEMORY_USAGE_PERCENTAGE = 0, VIRTUAL_MEMORY_SIZE, RESIDENT_SET_SIZE, CPU_USED_PERCENTAGE,
  INVOLUNTARY_CONTEXT_SWITCHING, CPU_USED_ABSOLUTE, AVG_RESIDENT_SET_SIZE, AVG_VIRTUAL_MEMORY_SIZE,
  AVG_CPU_USED_PERCENTAGE, ACCUMULATED_CPU_TIME, PSS, AVAILABLE_METRICS_SIZE
}
 

Public Member Functions

std::vector< MetricgetPerformanceMetrics ()
 
 ProcessMonitor ()
 Prepares externam software commands (ps)
 
 ~ProcessMonitor ()=default
 Default destructor.
 
void init ()
 

Static Public Member Functions

static std::vector< std::string > getAvailableMetricsNames ()
 

Friends

class Monitoring
 

Detailed Description

Monitors current process and/or other processes running at the same machien.


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