Fully automatic application performance monitoring tool

monitors

logo

insert image description here

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

  1. Monitor the performance of a certain process, monitor for one day by default, and refresh the data every 3 seconds
  2. Obtain the id of the parent process according to the name of the child process for performance monitoring.
  3. 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.

insert image description here

Function

  1. Automatically monitor the performance of this process, and the console outputs data in real time
  2. 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.

Guess you like

Origin blog.csdn.net/flower_drop/article/details/107340799