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 details)

Uploaded Python 2 Python 3

File details

Details for the file ezmonitor-1.0.3-1-py2.py3-none-any.whl.

File metadata

  • Download URL: ezmonitor-1.0.3-1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.18

File hashes

Hashes for ezmonitor-1.0.3-1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 294bd37d8f130dff75fcc1fb06e6670fbd149bf0bafeba6cabc70ea5408ddccf
MD5 57070731cc8ab7cc4105ccf5ef866745
BLAKE2b-256 4bf7b5be3a93f01500eeace57b8e3c5e70080f416d27dbb65e614930e09382a3

See more details on using hashes here.

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