This repository has been archived by the owner on Mar 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Example of usage Daemon
Loïc Huertas edited this page Nov 4, 2015
·
3 revisions
You have to configure the daemon before it launching as following (via configuration files):
powerapi.daemon.load = [
{
power-modules = ["procfs-cpu-simple"],
monitors = [
{
all = false,
pids = [123],
apps = [],
containers = [],
frequency = 1000ms,
agg = "SUM",
output = "console"
}
]
}
]
After this, you can start the daemon and thus the monitoring of the 123 process, as following:
sudo ./bin/powerapid start