Skip to content

osmhpi/ps-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ps-exporter

Process status exporter for Prometheus.

Metrics

Exports the following metrics for all processes:

  • memp: Memory utilization percentage (ps -eo %mem)
  • cpup: CPU utilization percentage (ps -eo %cpu)
  • cpu: CPU utilization (ps -eo cpu)

All metrics are annotated with the following labels:

  • pid
  • ppid
  • command
  • user
  • start

Usage

Start the exporter using: ./ps-exporter --port 9090 --host localhost