Welcome to the HyperFORGE

The HyperFORGE was created to facilitate collaboration on plugins and documentation for they Hyperic Community.

Become a HyperFORGE member →

Recent Activity

Skip to end of metadata
Go to start of metadata

Process service

Log Track Supported: Yes
Config Track Supported: Yes
Custom Properties Supported:

Name Description
user User
group Group
exe Executable
cwd Current Working Directory

Supported Control Actions: kill,SIGHUP,SIGINT,SIGQUIT,SIGKILL,SIGTERM,SIGUSR1,SIGUSR2
Supported Metrics:

Name Alias Units Category Default On Default Interval
Availability Availability percentage AVAILABILITY true 10 min
Virtual Memory Size VirtualMemSize B UTILIZATION false 5 min
Resident Memory Size ResidentMemSize B UTILIZATION true 5 min
Cpu System Time SystemTime ms UTILIZATION false 10 min
Cpu System Time per Minute SystemTime1m ms UTILIZATION false 10 min
Cpu User Time UserTime ms UTILIZATION false 10 min
Cpu User Time per Minute UserTime1m ms UTILIZATION false 10 min
Cpu Total Time TotalTime ms UTILIZATION false 10 min
Cpu Total Time per Minute TotalTime1m ms UTILIZATION false 10 min
Cpu Usage Usage percentage UTILIZATION true 5 min
Start Time StartTime epoch-millis AVAILABILITY false 10 min
Open File Descriptors OpenFd none UTILIZATION false 5 min
Threads Threads none UTILIZATION false 5 min
Child Processes ChildProcesses none UTILIZATION false 5 min

Configuration help:

Monitoring of an individual process or group of processes requires a process query to differentiate them from other system processes. This is achieved using Process Table Query Language, or PTQL, a simple query language for finding processes based based on their attributes.

PTQL Queries must be in the following format:

    Class.Attribute.operator=value
  
Where:

  • Class is the name of the Sigar class minus the Proc prefix.
  • Attribute is an attribute of the given Class, index into an array or key in a Map class.
  • operator is one of the following for String values:
    • eq - Equal to value
    • ne - Not Equal to value
    • ew - Ends with value
    • sw - Starts with value
    • ct - Contains value (substring)
    • re - Regular expression value matches
  • operator is one of the following for numeric values:
    • eq - Equal to value
    • ne - Not Equal to value
    • gt - Greater than value
    • ge - Greater than or equal value
    • lt - Less than value
    • le - Less than or equal value

Multiple queries must delimited by a comma.

Examples:

Find JBoss using process name

    State.Name.eq=java,Args.*.eq=org.jboss.Main
  

Find SSHd using a pid file

    Pid.PidFile.eq=/var/run/sshd.pid

For more examples see the pdk/lib/.sigar_shellrc file included in the HQ agent distribution and the Sigar PTQL Documentation.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.