Skip to main content

icsystemutils is a library for querying system resources (cpu, gpu, network etc).

It is used in higher-level packages and tools in Irish Centre for High End Computing (ICHEC) research and workflows.

Features

You can read system CPU info on Linux or Mac via system APIs with JSON output:

icsystemutils read_cpu

You can read a system's NVIDIA GPU info and output:

icsystemutils read_gpu

You can run a resource monitor that outputs CPU and memory use to a file with:

icsystemutils monitor

You can also run this monitor on GPUs and record their use to a CSV with:

icsystemutils monitor --include gpu --output_path <path_to_csv_dir>

You can run a resource monitor that outputs NVIDIA GPU use to a file with:

You can postprocess a log file with:

icsystemutils tracing --trace_file <file_with_traces> --trace_config <trace_config_file>

The log file should have traces in the format timestamp | thread_id | message where the timestamp is Unix time as a float with whole numbers representing seconds. The message is used to determine start and end points for events. The trace_config_file is a json file used to match strings in the message with Event start and end flags. The output is a series of trace events in json format, which can be used to generate plots with icplot or used in further analysis.

Installation

You can install it with:

pip install icsystemutils

License

This project is Copyright of the Irish Centre for High End Computing. You can use it under the terms of the GPLv3+, which further details in the included LICENSE file.

Release files for icsystemutils 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icsystemutils 0.2.5
File Size Uploaded
icsystemutils-0.2.5.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for icsystemutils 0.2.5
File Interpreter ABI Platform
icsystemutils-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 52.2 kB

Release files / icsystemutils-0.2.5.tar.gz

Download URL icsystemutils-0.2.5.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b994d8f3be429ef8cb00bf390dbcb9293b2c6a7f2c45b27238820e0a964342be
BLAKE2b-256 checksum
How to use checksums
3b244fd024ea04dad92a9470235a5d3452dc81845c15f29c81468c6a8c3c9a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / icsystemutils-0.2.5-py3-none-any.whl

Download URL icsystemutils-0.2.5-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f1ec448007be10e9b4022ae9ddd1b7c3cbd6cb9735817049b74428af4165e0e
BLAKE2b-256 checksum
How to use checksums
7f46434a3869fccfd9a9db509cef1d7247e1b07370036e8a1f848fa21ec60b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.14

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page