Cluster host monitor CLI.
Project description
hstat
Lightweight cluster resource monitor CLI.
hstat helps you inspect CPU/MEM/GPU utilization by host or by user with a clear terminal table.
Table of Contents
Screenshots
Query all
Query by host
Query by user
Installation
From source (recommended for now)
git clone <your-repo-url>
cd h-monitor
pip install .
Editable mode (development)
pip install -e .
Verify install
hstat --help
Quick Start
Query one host
hstat --host <hostname>
Query one user
hstat --user <username> --range 1h
CLI Reference
| Argument | Alias | Description | Default |
|---|---|---|---|
--host |
-w, -n, --node |
Query by host/node | - |
--user |
-u |
Query by user and auto-discover pods | - |
--tenant |
- | Tenant label used in metrics query | ailab |
--namespace |
- | Namespace for brainctl/rjob lookup |
ailab-ipec |
--range |
- | Prometheus range (e.g. 30m, 1h, 6h) |
1h |
Output Interpretation
UTL: utilization meter, percentage-based loadMEM: memory usage ratio against requested resources- Row order: sorted by GPU utilization (high -> low)
- Footer
AVG: average CPU/MEM/GPU usage across listed pods
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pjlab_hstat-0.1.0.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pjlab_hstat-0.1.0.tar.gz.
File metadata
- Download URL: pjlab_hstat-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5d5e0279ddb8ed8b3a4f4d05a45119ac1f08e4aaed94de710bee719c9762fd2
|
|
| MD5 |
582a839f8609b53317a53e85162f2859
|
|
| BLAKE2b-256 |
d98f0f01add33c2845a6324722683d0e1769594f2db68fb3f682d0ce92153993
|
File details
Details for the file pjlab_hstat-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pjlab_hstat-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdda9d387c30796e4bcc95d79a6566a865495f70fe5026cbfd70d13cd21809bc
|
|
| MD5 |
a550a56da5a2b2b69257b6705d88e71d
|
|
| BLAKE2b-256 |
e900990b51abec2e446944aa9fe6bddab0c9b3a8fb686ec8a801fd382297ac13
|