Skip to main content

grabbing buried points

Project description

monitors

Build Status PyPI PyPI - Python Version GitHub top language PyPI - Downloads GitHub stars https://blog.csdn.net/flower_drop

Logo

logo

安装

pip install monitors

仓库地址:

社区地址

适用场景

  1. 监控某一个进程的性能,默认监控一天,数据每隔3秒刷新一次
  2. 根据子进程名称获取到父进程的id,进行性能监控。
  3. 适用于各个平台(Windows, Mac, Linux)
  • 例如:想监控整个chrome浏览器的系统资源消耗情况
  • 只需要传入[chrome.exe] 系统将自动为你监控整个chrome浏览器的资源消耗情况。

chrome.exe

功能

  1. 自动监控此进程的性能情况,控制台实时输出数据
  2. 将性能数据以log文件形式存与 [monitor_log] 文件夹

命令

python <you_test_script.py>

Demo

from monitors.monitor_util import monitor_start

monitor_start(name='chrome.exe')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monitors-1.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

monitors-1.0.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page