Gaudi Framework, version v21r8

Home   Generated: 17 Mar 2010

monitor_utils.h File Reference

This file contains declarations for functions and data structured used for obtaining monitoring information. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  apmon_mon_utils

Classes

struct  apmon_mon_utils::PsInfo
 Structure that holds information about a job, as obtained from the ps command. More...
struct  apmon_mon_utils::JobDirInfo
 Structure that holds information about the disk usage for a job. More...

Typedefs

typedef struct
apmon_mon_utils::PsInfo 
apmon_mon_utils::PsInfo
 Structure that holds information about a job, as obtained from the ps command.
typedef struct
apmon_mon_utils::JobDirInfo 
apmon_mon_utils::JobDirInfo
 Structure that holds information about the disk usage for a job.

Functions

longapmon_mon_utils::getChildren (long pid, int &nChildren) throw (runtime_error)
 Determines all the descendants of a given process.
void apmon_mon_utils::readJobInfo (long pid, PsInfo &info) throw (runtime_error)
 Obtains monitoring information for a given job and all its sub-jobs (descendant processes) with the aid of the ps command.
long apmon_mon_utils::parsePSTime (char *s)
 Function that parses a time formatted like "days-hours:min:sec" and returns the corresponding number of seconds.
void apmon_mon_utils::readJobDiskUsage (MonitoredJob job, JobDirInfo &info) throw (runtime_error)
 If there is an work directory defined, then compute the used space in that directory and the free disk space on the partition to which that directory belongs.


Detailed Description

This file contains declarations for functions and data structured used for obtaining monitoring information.

Definition in file monitor_utils.h.


Generated at Wed Mar 17 18:11:27 2010 for Gaudi Framework, version v21r8 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004