Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members

ScriptSystemInformation Class Reference

Class gathering system information with scripts. More...

#include <ScriptSystemInformation.h>

Inheritance diagram for ScriptSystemInformation:

SystemInformation List of all members.

Public Member Functions

 ScriptSystemInformation ()
 ScriptSystemInformation (std::string aMountPoint, std::string aAgentPath)
 ~ScriptSystemInformation ()
std::string getInformation (std::string aKey)
std::vector< std::string > availableInformations ()

Detailed Description

Class gathering system information with scripts.

Author:
Vincent JOUSSE
Version:
1.0
It uses Perl scripts, shell scripts or just Unix command.


Constructor & Destructor Documentation

ScriptSystemInformation::ScriptSystemInformation  ) 
 

Simple constructor (does nothing).

ScriptSystemInformation::ScriptSystemInformation std::string  aMountPoint,
std::string  aAgentPath
 

Simple constructor (does nothing).

ScriptSystemInformation::~ScriptSystemInformation  ) 
 

Destructor (does nothing).


Member Function Documentation

std::vector<std::string> ScriptSystemInformation::availableInformations  )  [virtual]
 

Return the type of information we can gather with the class.

Implements SystemInformation.

std::string ScriptSystemInformation::getInformation std::string  aKey  )  [virtual]
 

Get Information from the system. It uses some different kind of scripts, such as perl script, bash script, or just an Unix command to gather information about the system.

Parameters:
aKey A constant from the SystemInformation class (CPU_LOAD, CPU_TYPE, ...)

Implements SystemInformation.


The documentation for this class was generated from the following file:
Generated on Fri May 19 23:15:28 2006 for k10-agent by  doxygen 1.4.4