Git Product home page Git Product logo

process-monitoring's Introduction

Process Monitoring

Simple Process Monitoring Tool

Usage

pmcli usage

Option Long Description
-h or -? --help produce help message
-v --version print version string
-o --output output file name
-i --interval interval in ms (default 60000)
-p --process-id monitoring process id (multiple separated by ,)
-n --process-name monitoring process name (multiple separated by ;)
-t --type memory type (see list below)

Types

Abbreviation Type Description
pfc Page fault count
pwss Peak working set size
wss Working set size default type
qpppu Quota peak paged pool usage
qppu Quota paged pool usage
qpnppu Quota peak non paged pool usage
qnppu Quota non paged pool usage
pfu Page file usage
ppfu Peak page file usage

Examples

pmcli --process-id 1234,5678

pmcli --process-name a.exe;b.exe;pmcli.exe

pmcli --interval 120000 --process-id 1234,5678 --process-name a;b;pmcli

Build Process Monitoring

Dependencies

CMake

Process

Create a build folder

cmake -E make_directory <new-build-path>

Example

cmake -E make_directory "C:\build\pm"

Create a build

cmake -E chdir <path-to-build> cmake -G <generator-name> <path-to-source>

Example

cmake -E chdir "C:\build\pm" cmake -G "Visual Studio 16 2019" "C:\src\pm"

To install into specified folder

cmake -E chdir "C:\build\pm" cmake -DCMAKE_INSTALL_PREFIX:PATH="C:\install\pm" -G "Visual Studio 16 2019" "C:\src\pm"

Build

cmake --build <path-to-build> --target <target> --config <configuration>

Example

cmake --build C:\build\pm --target ALL_BUILD --config RelWithDebInfo

Install

cmake --build <path-to-build> --target INSTALL --config <configuration>

Example

cmake --build C:\build\pm --target INSTALL --config RelWithDebInfo

Release dependencies

The Windows Release depends on VCRUNTIME140.DLL Version 14.24.28127.4 from Visual C Redistributable 2019 - vc_redist.x64.exe

Known bugs

Output file argument doesn't work

To do

Nix support

process-monitoring's People

Contributors

orri93 avatar

Watchers

 avatar  avatar

Forkers

dingdong1123

process-monitoring's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.