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.
Metadata
Release files for ratatouille 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ratatouille-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for ratatouille-0.1.2-py3-none-any.whl |
Release files / ratatouille-0.1.2-py3-none-any.whl
| Download URL | ratatouille-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bca81c08a7ec257bbc9bc379b72bb3fb1cde09ff5e6b448e89691122c096a61c
|
|
BLAKE2b-256 checksum How to use checksums |
54b3f66e53563b47989d5769320de37aad057ff86a7ac892f339d78946f27e38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for ratatouille 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.