Crates.io | mmoxi |
lib.rs | mmoxi |
version | 0.3.1 |
source | src |
created_at | 2022-03-01 07:37:37.840092 |
updated_at | 2024-08-09 12:47:14.300428 |
description | spectrum scale tools |
homepage | https://github.com/idiv-biodiversity/mmoxi |
repository | https://github.com/idiv-biodiversity/mmoxi |
max_upload_size | |
id | 541385 |
size | 204,901 |
A Rust library and collection of tools for IBM Spectrum Scale (formerly GPFS) file systems.
The Rust library at the moment is mostly mm* -Y
parsing for easier access
in tooling. We did all the mm* -Y
parsing and tooling in shell scripts
before. You can certainly do this, but writing good tooling in bash just
doesn't scale. Having a library for access to the parsed output just makes
writing tools so much easier.
Notable exceptions to parsing in the library and listing in tooling are:
An nmon integration that groups NSDs by (fs,pool)
-tuple to be shown
in nmon
s Disk Group I/O mode:
mmoxi cache nmon
NMON=g nmon -s 1 -d 1024 -g '/run/mmlocal-nmon-cache'
This gives a better view of file servers and how much I/O they do with NSD groups rather than individual NSDs or everything summed up.
Prometheus metrics for:
disk availability
disk pool size
disk pool group I/O
quotas
See the docs for library documentation and mmoxi help [subcommand...]
for
the CLI tools.
cargo install mmoxi
git clone https://github.com/idiv-biodiversity/mmoxi.git
cd mmoxi
cargo build --release
install -Dm755 target/release/mmoxi ~/bin/mmoxi