monitors
logo
Install
pip install monitors
Warehouse Address:
- github: https://github.com/Pactortester/monitors.git
- pypi:https://pypi.org/project/monitors/#history
community address
- testerhome:https://testerhome.com/opensource_projects/monitors
Applicable scene
- Monitor the performance of a certain process, monitor for one day by default, and refresh the data every 3 seconds
- Obtain the id of the parent process according to the name of the child process for performance monitoring.
- Available on all platforms (Windows, Mac, Linux)
- For example: want to monitor the system resource consumption of the entire chrome browser
- Just pass in [chrome.exe] and the system will automatically monitor the resource consumption of the entire chrome browser for you.
Function
- Automatically monitor the performance of this process, and the console outputs data in real time
- Save the performance data as a log file in the [monitor_log] folder
Order
python <you_test_script.py>
Demo
from monitors.monitor_util import monitor_start
monitor_start(name='chrome.exe')
The above is the basic usage introduction of monitors.
If you find an error, or if you have any suggestions for monitors, welcome to monitors Issues , thank you very much for your support. Your feedback and suggestions are very valuable, hope your participation can help monitors do better.