Public Member Functions | Public Attributes | Private Attributes
rosprofiler.node_monitor.NodeMonitor Class Reference

List of all members.

Public Member Functions

def __init__
def get_statistics
def is_running
def reset
def update

Public Attributes

 cpu_log
 hostname
 node
 num_threads
 pid
 res_log
 start_time
 uri
 virt_log

Private Attributes

 _process
 _process_ok

Detailed Description

Tracks process statistics of a PID. 

Definition at line 24 of file node_monitor.py.


Constructor & Destructor Documentation

def rosprofiler.node_monitor.NodeMonitor.__init__ (   self,
  name,
  uri,
  pid 
)
:param str name: the registered node name
:param str uri: the xmlrpc uri of the node
:param int pid: the process PID of this node

Definition at line 26 of file node_monitor.py.


Member Function Documentation

Returns NodeStatistics() using information stored in the buffer.
:returns: statistics information collected about the process
:rtype: NodeStatistics

Definition at line 66 of file node_monitor.py.

Returns if we are still monitoring the process of the PID.
:rtype: bool

Definition at line 45 of file node_monitor.py.

Clears the statistics information stored in the buffer 

Definition at line 98 of file node_monitor.py.

Record cpu and memory information about this procress into a buffer 

Definition at line 53 of file node_monitor.py.


Member Data Documentation

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.

Definition at line 30 of file node_monitor.py.


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


rosprofiler
Author(s): Dan Brooks
autogenerated on Thu Jun 6 2019 18:15:05