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 read a system's NVIDIA GPU info and output:

icsystemutils read_gpu

You can run a resource monitor that outputs CPU and memory use to a file with:

icsystemutils monitor

You can also run this monitor on GPUs and record their use to a CSV with:

icsystemutils monitor --include gpu --output_path <path_to_csv_dir>

You can run a resource monitor that outputs NVIDIA GPU use to a file with:

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.5.tar.gz (24.7 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.5-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: icsystemutils-0.2.5.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for icsystemutils-0.2.5.tar.gz
Algorithm Hash digest
SHA256 b994d8f3be429ef8cb00bf390dbcb9293b2c6a7f2c45b27238820e0a964342be
MD5 aaae128340ae20b88554f5d223b7f06e
BLAKE2b-256 3b244fd024ea04dad92a9470235a5d3452dc81845c15f29c81468c6a8c3c9a8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: icsystemutils-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for icsystemutils-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9f1ec448007be10e9b4022ae9ddd1b7c3cbd6cb9735817049b74428af4165e0e
MD5 439103f7dc2191591fc817f2cbe860f4
BLAKE2b-256 7f46434a3869fccfd9a9db509cef1d7247e1b07370036e8a1f848fa21ec60b62

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