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.1.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.1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: icsystemutils-0.2.1.tar.gz
  • Upload date:
  • Size: 22.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.1.tar.gz
Algorithm Hash digest
SHA256 fec97dfb5daf7e4ca85dc49004708b5e8530a63f82bdbce2a10aadebb354641a
MD5 f21b0405f9cf7a08256487739dc1ab8e
BLAKE2b-256 e79b4cf6395b5a67c670198e8de2d3cc95f80c559aeb563a985c646603c21029

See more details on using hashes here.

File details

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

File metadata

  • Download URL: icsystemutils-0.2.1-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.4

File hashes

Hashes for icsystemutils-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79fe89b0107fb18fd910e11c069228be39697cbb1c94f45dace7703788ac187a
MD5 8eea0c2a51bdef67f44fb4e14a5e1998
BLAKE2b-256 73e9cb555f866d116f80310911e7dc23de3e8fe5dad52630c52caf42480a0f4e

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