Skip to main content

Utilities for interacting with system resources, e.g. cpu, network etc.

Project description

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 run a resource monitor that outputs CPU and memory use to a file with:

icsystemutils monitor

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icsystemutils-0.0.17.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

icsystemutils-0.0.17-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file icsystemutils-0.0.17.tar.gz.

File metadata

  • Download URL: icsystemutils-0.0.17.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for icsystemutils-0.0.17.tar.gz
Algorithm Hash digest
SHA256 31eaeb04a1dbb8d426be1177f76287d68e964d57dd58f760592ff0d848ef13da
MD5 c0e207b4d73b82b1bc0e57803fe2ce17
BLAKE2b-256 1ffdfe4a1adf67cf76b82eb6a1b2b615e8d7db90d8e198ce5b268748eaa79773

See more details on using hashes here.

File details

Details for the file icsystemutils-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: icsystemutils-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for icsystemutils-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 cda3c9c0887b5da31de31a0259b55dae2b985e2663ce74ba0fd2f1fc8522db85
MD5 8d63cc036c294680698e9e8a59b2d61a
BLAKE2b-256 4510f0120effd371a97dc362a401ae2669a01baedee72f24f737e183d6056dfa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page