Skip to main content

No project description provided

Project description

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

demo

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ezmonitor-1.0.3-1-py2.py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 2 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