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.0.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.2.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for icsystemutils-0.2.0.tar.gz
Algorithm Hash digest
SHA256 07cdc09d91cbf0abda6dee9235e06deec5a61ae482c06f0717f45187b714f329
MD5 c1ec51ec146cbc6289e4483c19d5118c
BLAKE2b-256 fb02e82717d3401a530a48036bd9725525f49d2eb4b3f88b5ddf83b670fbe17f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for icsystemutils-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 220db0bdff6ad03dec21a72194a92fa3ecbf8a7b4858e287d06dcf56c80c0aef
MD5 e6c2e29be11188e5e7cd8c633f71d833
BLAKE2b-256 0231fafc0f63449ff7c0a1bfc37ca1c31aa13975ee7f7e18dbb06028f72089ea

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