Code Monkey home page Code Monkey logo

memstat's Introduction

MemoryProfile

  • Usage1: Profile all processes in the OS.
    • start: python3 sysmemstat.py
    • end:
      • Press Ctrl+C, then wait the data processing.
      • After 60s the profiling automatically ens, if not -t set.
  • Usage2: Profile one command, including all child processes.
    • start: python3 sysmemstat.py -- command
    • end:
      • Press Ctrl+C, then wait the data processing.
      • When the cammand ends, the profiling automatically ens.
  • Arguments:
    • -h or --help: Show doc.
    • --time s: Set the profiling time as s seconds. (Default: 60), set 0 for continuous sample, until Ctrl+C pressed.
    • --interval m: Set the profiling interval as m microseconds. (Default: 1000)
    • --silent: Silent mode, no info about all sample points.
    • --filter-command cmd1,cmd2: Filter by command name, seperated by comma.
    • --filter-user user1,user2: Filter by user name, seperated by comma.
    • --filter-and: Each process should pass all filter (Default).
    • --filter-or: Each process is required to pass only one filter.
    • --background: Add OS background info in figures.

memstat's People

Contributors

readm avatar

Watchers

 avatar

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.