Coder Social home page Coder Social logo

pentalpha / memuse Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 61 KB

Command to show usage of memory on the whole system and on each process including memory usage, swap, cache and page faults.

C++ 32.14% Makefile 0.35% C 67.51%
system memory page-faults system-information linux-kernel processes cpp

memuse's Introduction

MEMUSE

Command to show usage of memory on the whole system and on each process, including:

  • Memory usage
  • Swap usage
  • Total cache
  • Minor and major page faults

BUILD:

$ make

RUN:

$ ./memuse

EXAMPLE OUTPUT:

$ ./memuse
##### System Memory #####
Total Mem.:	8090692kB
Free Mem.:	4559404kB
Total Swap:	4880380kB
Free Swap:	4880380kB
Cache size:	3072KB
#########################
MJFLT: Major page faults;
MNFLT: Minor page faults;
PID   NAME      MEMORY(MB)  SWAP USE  MJFLT MNFLT
1     systemd   2.148       0kB       44    11212
...   ...       ...         ...       ...   ...
2734  atom      61.840      0kB       2     27522
3089  vlc       20.703      0kB       473   71163
3318  atom      120.305     0kB       3     347798
3360  atom      61.246      0kB       0     26628
3481  chrome    39.359      0kB       0     48454
3752  bash      2.750       0kB       0     3827

memuse's People

Contributors

pentalpha avatar

Watchers

 avatar  avatar

Forkers

santos-amon

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.