Giter Club home page Giter Club logo

ampm's Introduction

ampm

A siMple Process Monitor (AMPM)

ampm's People

Contributors

sutetako avatar

Stargazers

 avatar Ato Araki avatar Satoru Noguchi avatar Kohei Takada avatar

Watchers

 avatar

ampm's Issues

Use the process name instead of the PID

  • Find the process ID by searching for the process name using /proc/*/cmdline.
    • If multiple results exist, output them for the user to select.
  • Add -p and --pid options to continue using the process ID.

Add tests

for the arguments, the outputs, etc.

Graph output

Draw a time-series graph of CPU consumption and memory usage.

SyntaxError on sudo

  File "ampm.py", line 16
    def __init__(self, utime: int, stime: int, cutime: int, cstime: int,
                            ^
SyntaxError: invalid syntax

All command line arguments are displayed as 'Command'

Command CPU[%] RSS[kB]
/opt/google/chrome/chrome --type=renderer --crashpad-handler-pid=1275490 --enable-crash-reporter=c6080e6c-93ba-40dd-bbae-ef4678a97cf0, --change-stack-guard-on-fork=enable --lang=ja --num-raster-threads=4
 --enable-main-frame-before-activation --renderer-client-id=10953 --time-ticks-at-unix-epoch=-1707977778942647 --launch-time-ticks=2151362092557 --shared-files=v8_context_snapshot_data:100 --field-trial-
handle=0,i,16700963699711985145,11922953061061725514,262144 --variations-seed-version=20240303-180206.692000 0.0 166812

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.