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_freqcollects the frequency (inHertz) of each logical CPU core listed in/sys/devices/system/cpu/.cpu_loadcollects the percentage load of the CPUs.cpu_powercomputes the average power consumption (inWatts) of each package listed in/sys/devices/virtual/powercap/intel-rapl/between two intervals. Additional values for thecore,uncoreanddramare also collected if available.cpu_statscollects the total number of context switches, interrupts and soft_interrupts since boot.fan_speedcollects the rotation speed of fans.memory_usagecollects the current memory available (in bytes) and its percentage over the total memory.networkcollects the total number of bytes sent and received on each network interface.temperaturecollects 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ratatouille-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ratatouille-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bca81c08a7ec257bbc9bc379b72bb3fb1cde09ff5e6b448e89691122c096a61c
|
|
| MD5 |
f033a816dee547c413a341e904304371
|
|
| BLAKE2b-256 |
54b3f66e53563b47989d5769320de37aad057ff86a7ac892f339d78946f27e38
|