ezmonitor-1.0.3
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ezmonitor-1.0.3 |
| نام | ezmonitor |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | yodeng@tju.edu.cn |
| آدرس صفحه اصلی | https://github.com/yodeng/ezmonitor |
| آدرس اینترنتی | https://pypi.org/project/ezmonitor/ |
| مجوز | BSD |
# 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
```python
from ezmonitor import ezmonitor
@ezmonitor.wrapper()
def youfunction(*args, **kwargs):
pass
```
output:
+ sys.stdout logging
+ pid.log
+ pid.pdf
## Demo

نیازمندی
| مقدار | نام |
|---|---|
| - | matplotlib |
| - | psutil |
| - | pandas |
| - | numpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7.10, <3.10 | Python |
نحوه نصب
نصب پکیج whl ezmonitor-1.0.3:
pip install ezmonitor-1.0.3.whl
نصب پکیج tar.gz ezmonitor-1.0.3:
pip install ezmonitor-1.0.3.tar.gz