Skip to main content

Module own_processes

Module own_processes 

Source

Structs§

OwnProcesses
The two processes and the reader for them.

Constants§

CEF_CPU_SERIES
The key for the desktop host’s CPU, in the same scale.
SRV_CPU_SERIES
The key for this server’s CPU, in percent of the whole machine (the scale of the machine’s own cpu).

Functions§

is_host_name
The parent of this server is the desktop host only when it is one of ours: a server started from a shell (a dev run, a test) has a shell for a parent, which is not reported as the host.
machine_percent
A process’s CPU as sysinfo reports it (percent of one core, and over 100 for several) as a percent of the machine, so it reads on the machine’s own scale.
sample_into
OwnProcesses::sample on the sampler thread’s own reader.