Turn on process collection and the agent reports every process running on the host, every 60 seconds: name, PID, owner, CPU, memory, and command line. The server page lists them in a Processes panel. The option is off by default.
--processes · -Processes on WindowsOpen your Servers view and click Advanced, next to the install command.
The install command gets the option: --processes on Linux and macOS, -Processes on Windows.
Run it as you would any install command. The Processes panel of the server fills in within a few minutes.
On Linux and macOS, add --processes after the install token:
curl -fsSL https://hyperping.com/install.sh | sh -s -- HP_INSTALL_xxxxx --processesOr set HP_COLLECT_PROCESSES=1, which is easier from configuration management tools that export variables:
curl -fsSL https://hyperping.com/install.sh | HP_COLLECT_PROCESSES=1 sh -s HP_INSTALL_xxxxxOn Windows, add -Processes in an Administrator PowerShell window:
& ([scriptblock]::Create((irm https://hyperping.com/install.ps1))) HP_INSTALL_xxxxx -ProcessesOr set the same variable before the usual command:
$env:HP_COLLECT_PROCESSES = '1'
& ([scriptblock]::Create((irm https://hyperping.com/install.ps1))) HP_INSTALL_xxxxxRun the install command again on the host, with the option. The host stays the same server in the dashboard, with its metric history, name, and alert settings. Re-running the installer is also how you update the agent, so the same notes apply: pass again the other options you used, such as --interval, and apply hand edits to agent.yaml again.
For each process, every 60 seconds:
nginx or postgres.Process snapshots stay on a 60-second cadence whatever the collection interval of the system metrics.
The Processes panel is on the server's page in the dashboard.
Command lines can carry secrets. Before a snapshot is stored, Hyperping cuts every command line to 512 characters and replaces sensitive values with ***:
--password=… or MySQL's -p…;token= values and API keys;Authorization: Bearer … headers;user:pass@host;curl -u user:pass;hyperping user. Kernel threads have no command line. If /proc is mounted with hidepid, the agent only sees its own processes.csrss, smss, Defender, …) show an empty command line.--processes or HP_COLLECT_PROCESSES=1. It has not been tested on macOS.Process collection was tested on Ubuntu 16.04 and 20.04, Ubuntu Pro 16.04 and 20.04, and Windows Server 2019. On the other supported systems the option is the same, but it was not part of these tests.
Run the install command again without the option, and without HP_COLLECT_PROCESSES set. The agent stops collecting processes and stays the same server. In a PowerShell window where you set the variable, clear it first with Remove-Item Env:HP_COLLECT_PROCESSES.
curl -fsSL https://hyperping.com/install.sh | sh -s HP_INSTALL_xxxxx& ([scriptblock]::Create((irm https://hyperping.com/install.ps1))) HP_INSTALL_xxxxx