Skip to content

Measuring and graphing memory usage of local processes

License

Notifications You must be signed in to change notification settings

00mjk/mem_usage_ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

I'm tired of console measuring of memory usage

while true; do
ps -C <ProgramName> -o pid=,%mem=,vsz= >> /tmp/mem.log
gnuplot /tmp/show_mem.plt
sleep 1
done &

Installation

  • Python3.7 is a preferable interpreter
  • run pip install mem_usage_ui

Usage

  • Run in shell: dsmyk$ mem_usage_ui
  • Go to http://localhost:8080

alt text

Development

Backend

  • Install requirements: pip install -r requirements.txt
  • Run server: python -m mem_usage_ui --debug=True

Frontend

  • Go to frontend directory: cd frontend
  • Create (and watch) dev build - npm run dev
  • Before PR please create a production build npm run prod

About

Measuring and graphing memory usage of local processes

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 44.3%
  • Vue 43.7%
  • JavaScript 9.4%
  • HTML 2.6%