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.16.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

icsystemutils-0.0.16-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for icsystemutils-0.0.16.tar.gz
Algorithm Hash digest
SHA256 86175eada4677130b7d88948454341c2e741f17a8505753c458a9956e7783626
MD5 f7e4755fb3bef9918221f5329e927994
BLAKE2b-256 77f883a7d7446215fb60d13e1339da649e6b09c2e18f49f74ffc4fd9380b9640

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for icsystemutils-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 51794f86adf262f4c90e7067473cd77f8fcd7f210a3e9a31f61c46ef924be99a
MD5 922552e4253e4715241f9522d555143f
BLAKE2b-256 2961302625e22357ce5b78fb2646ec43a96f60b9344ed3a70804923976ad4f68

See more details on using hashes here.

Supported by

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