ezmonitor
Summary
ezmonitor is a easy program for monitoring MEM and CPU Usage of some process and its chriden process.
Software Requirements
-
Linux
-
Python >=2.7.10, <3.10 and Python3 for recommend
Installation
install from git repo:
pip install git+https://github.com/yodeng/ezmonitor.git
or just install from Pypi:
pip install ezmonitor
or install from anaconda repo:
conda install -c yodeng ezmonitor
User Guide and Usage
1). monitor by process id
ezmntor [pid]
output:
- sys.stdout logging
- pid.log
- pid.pdf
2). monitor by process name
if more then one process detected by process name, will exists.
ezmntor [processName]
output:
- sys.stdout logging
- pid.log
- pid.pdf
3). monitor you command line
ezmntor [your command line]
output:
- pid.log
- pid.pdf
4). monitor by decorator
from ezmonitor import ezmonitor
@ezmonitor.wrapper()
def youfunction(*args, **kwargs):
pass
output:
- sys.stdout logging
- pid.log
- pid.pdf
Demo
Metadata
Release files for ezmonitor 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ezmonitor-1.0.3-1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / ezmonitor-1.0.3-1-py2.py3-none-any.whl
| Download URL | ezmonitor-1.0.3-1-py2.py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
294bd37d8f130dff75fcc1fb06e6670fbd149bf0bafeba6cabc70ea5408ddccf
|
|
BLAKE2b-256 checksum How to use checksums |
4bf7b5be3a93f01500eeace57b8e3c5e70080f416d27dbb65e614930e09382a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.18
|