HP-UX - Processes (ps)
Description
Monitors performance metrics (CPU, memory, etc.) of the processes that match the specified criteria on HP-UX.
Enterprise Connector
This connector requires the Enterprise edition of MetricsHub.
Target
Typical platforms: HPE Alletra 9000, HPE Integrity, HPE SuperDome, HP-UX
Operating system: HP-UX
Prerequisites
Leverages: HP-UX ps command
Technology and protocols: Commands
Variables:
matchName: Regular expression pattern to match process names. (default:.*)matchCommand: Regular expression pattern to match process command lines. (default:.*)matchUser: Regular expression pattern to match process users. (default:.*)
Examples
CLI
metricshub HOSTNAME -t linux -c +HPUXProcess --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: linux
connectors: [ +HPUXProcess ] # Optional, to load only this connector
protocols:
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
additionalConnectors:
HPUXProcess: # Unique ID. Use 'uses' if different from the original connector ID
uses: HPUXProcess # Optional - Original ID if not in key
force: true # Optional (default: true); false for auto-detection only
variables:
matchName: <VALUE> # Replace with desired value.
matchCommand: <VALUE> # Replace with desired value.
matchUser: <VALUE> # Replace with desired value.
Connector Activation Criteria
The HP-UX - Processes (ps) connector must be selected manually, and its status will be reported as OK if all the below criteria are met:
- The device type must be one of: HP
- The command below succeeds on the monitored host:
- Command:
uname -s - Output contains:
^HP-UX$(regex)
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| process | process.cpu.timeprocess.cpu.utilizationprocess.memory.usageprocess.memory.utilizationprocess.memory.virtualprocess.time | idprocess.idprocess.match.commandprocess.match.nameprocess.match.userprocess.nameprocess.parent.id |