System usage monitoring tool
Project description
Ratatouille
Installation
The best way to install ratatouille
is from pypi:
pip install ratatouille
Alternatively, you can install from master
as follows:
pip install git+https://github.com/Ezibenroc/ratatouille.git
Example of usage
Collect data in file /tmp/data.csv
with a 3 seconds interval (press Ctr-C to stop).
ratatouille collect -t 3 all /tmp/data.csv
Collect only the temperature and frequency:
ratatouille collect -t 3 cpu_freq temperature /tmp/data.csv
Plot the data stored in file /tmp/data.csv
.
ratatouille plot /tmp/data.csv
For this last command, you need to install extra dependencies:
pip install pandas plotnine
Collected data
When collecting data you can either collect all data (with the all
target argument) or a subset of the data:
cpu_freq
collects the frequency (inHertz
) of each logical CPU core listed in/sys/devices/system/cpu/
.cpu_load
collects the percentage load of the CPUs.cpu_power
computes the average power consumption (inWatts
) of each package listed in/sys/devices/virtual/powercap/intel-rapl/
between two intervals. Additional values for thecore
,uncore
anddram
are also collected if available.cpu_stats
collects the total number of context switches, interrupts and soft_interrupts since boot.fan_speed
collects the rotation speed of fans.memory_usage
collects the current memory available (in bytes) and its percentage over the total memory.network
collects the total number of bytes sent and received on each network interface.temperature
collects the temperature (in Celsius or Farenheit degrees, depending on your configuration) of each physical CPU core and other thermal sensors.
Notice that cpu_load
, cpu_stats
, fan_speed
, memory_usage
, network
and temperature
rely on psutil to collect data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for ratatouille-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a1f3b4dfb17faf7a2cef35ac9ae64c61a0670af450eaeb7c9d29f2b1f930d8 |
|
MD5 | 3b20a190270b1cffe2e4981afbc26383 |
|
BLAKE2b-256 | aefd928330440d3f89b905d51c577889caf25fe5b885de68a98fa96c2d92f51b |