afsmon-1.2.0
توضیحات
Helpers for AFS monitoring in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | afsmon-1.2.0 |
| نام | afsmon |
| نسخه کتابخانه | 1.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ian Wienand |
| ایمیل نویسنده | ian@wienand.org |
| آدرس صفحه اصلی | https://github.com/ianw/pyafsmon |
| آدرس اینترنتی | https://pypi.org/project/afsmon/ |
| مجوز | - |
afsmon
======
Python library and utilities for monitoring AFS file-systems using
`OpenAFS <https://www.openafs.org/>`__ tools.
Many of the details are inspired by
`<https://github.com/openafs-contrib/afs-tools>`__
Command-line
------------
The ``afsmon`` tool provides
* ``show`` : produce tabular output of key statistics for a cell,
such as threads on file-servers, partition usage, volume usage and
quotas.
* ``statsd`` : report similar results to a `statsd
<https://github.com/etsy/statsd>`__ host.
Configuration is minimal, see the ``sample.cfg``.
Library
-------
The core of ``afsmon`` should suitable for use in other contexts.
.. code-block:: python
import afsmon
fs = afsmon.FileServerStats('hostname')
fs.get_stats()
The ``fs`` object now contains a ``FileServerStats`` with all
available information for the server, partitions and volumes.
نیازمندی
| مقدار | نام |
|---|---|
| !=2.1.0,>=2.0.0 | pbr |
| <0.8 | PrettyTable |
| >=3.2.1 | statsd |
نحوه نصب
نصب پکیج whl afsmon-1.2.0:
pip install afsmon-1.2.0.whl
نصب پکیج tar.gz afsmon-1.2.0:
pip install afsmon-1.2.0.tar.gz