Sensor for the XRootD cms.perf directive
Project description
Sensor for use in the XRootD cms.perf directive. Measures system load, as well as cpu, memory, and network utilization, to enable load-balancing in a cluster of multiple XRootD servers.
Installation and Usage
Use pip to install the sensor, then configure it using the cms.perf directive.
Installing the sensor
The sensor can be installed using the Python package manager:
python3 -m pip install cms_perf
Installing the sensor creates a cms_perf executable.
When installed for a non-standard Python, such as a venv, the module can be run directly:
python3 -m cms-perf
Configuring xrootd
Add the script or module as the pgm executable of the cms.perf directive. Set the same interval for the directive’s int and the sensor’s --interval.
# installed for system python
cms.perf int 2m pgm /usr/local/bin/cms_perf --interval 2m
# installed for virtual environment
cms.perf int 2m pgm /path/to/venv/bin/python -m cms_perf --interval 2m
See the cms.perf documentation for details of the directive. Consult the sensor’s help via cms_perf --help for details of the sensor.
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
Built Distribution
Hashes for cms_perf-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494d100d56e36b47ae594782e7c6c2722e496302528df494292b21e1c08ec1cf |
|
MD5 | 6dab2838c3af669bc273948ad01058c8 |
|
BLAKE2b-256 | 116e3ac56c8a563c65f118ebabb7900e74861ca653b9bd6f3e25c7f984529fda |