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.2.2.tar.gz (22.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.2.2-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for icsystemutils-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2e5c874c8ddab8d3e1e49b3d2cfd386bf036dad54fdbcad59985726600f830df
MD5 564a9e5857779890959251dd1fb1b4d6
BLAKE2b-256 5a8d8bbc1c1a5d3aa85d3d057060b3531ac637a7c1163b1d1adbc9ce0106add9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for icsystemutils-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15f72ebf61ffb9963dbe32da79c5db49cd6679e9fd434b9f5ea0b031fcdb98a5
MD5 548ad09b6c0861fee0f73223100fe5cf
BLAKE2b-256 55c7d807456f1dd3c61de43890edf6252f158de204c5086f68c6c193e4263be7

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