joeButler
joeButler

Reputation: 1711

High resolution process monitoring / logging on Linux

I've started to write some software to perform high resolution monitoring of process interaction with hardware on a Linux system. My aim is to log counters etc, sampling many times a second, on a single process. I'm interested in the hardware metrics like IO, CPU, Paging etc. With this granularity I should be able to get some insight into how a process is running, where it is bound, and how it performs its workload or responds to requests.

Is there any software which does this already?
Is getting the data from /proc/pid/file ok, or should I go and read up on 'linux/proc_fs' to get faster access to the data? (or is there something even quicker again)

Upvotes: 1

Views: 354

Answers (1)

willemdh
willemdh

Reputation: 856

Have a look at Grafana (http://grafana.org/) in combination with InfluxDB (https://influxdb.com/) It's free, it's easy and it is open source.

I wrote a Powershell script which does plus minus what you are describing for Windows perfmon counters => http://outsideit.net/naf-windows-perfmon-to-influxdb/

You should be able to use collectd for Linux servers though.

Upvotes: 1

Related Questions