tomato driver interface to the psutil library
Project description
tomato-psutil
tomato
driver for the psutil
library.
This driver illustrates how a device driver can be implemented for devices which have no components. The driver is developed by the ConCat lab at TU Berlin.
Supported functions
Capabilities
mem_info
: returns memory-related informationcpu_info
: returns CPU-related informationall_info
: returns all available information
Attributes
mem_total
: the total physical memory installed,RO
,float
mem_avail
: the available physical memory,RO
,float
mem_usage
: the percentage of available physical memory,RO
,float
cpu_count
: the number of logical CPUs,RO
,int
cpu_freq
: the current frequency of the CPU (OS and CPU dependent),RO
,float
cpu_usage
: the percentage of CPU usage,RO
,float
Contributors
- Peter Kraus
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 Distribution
tomato_psutil-1.0.0.tar.gz
(15.6 kB
view details)
Built Distribution
File details
Details for the file tomato_psutil-1.0.0.tar.gz
.
File metadata
- Download URL: tomato_psutil-1.0.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e5bffcfbdde9e2d300bdc0a5386aec11efba4346222524a0d45fbcc22d428b |
|
MD5 | 0203fc5392a1c9f2db2a5ac1506c99c6 |
|
BLAKE2b-256 | afbc72510753c313d533c46d7e4f2c85ff632adcc0788be750ae760383fdc10c |
File details
Details for the file tomato_psutil-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: tomato_psutil-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04c4880ad221b00632ce1bcb1a313940f7093502e9134f694336a0c9552a66f |
|
MD5 | ab2bea1947a4140bab5d8bdc674b10d3 |
|
BLAKE2b-256 | 6887d715fe53b8f8da4a5c1ca7892683f20669793c570d14a438345a1b47df11 |