Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Draw trends in memory usage for a process

NotificationsYou must be signed in to change notification settings

poppingcode/draw-memory-usage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Draw trends in memory usage for a process

trends_thread_visualization.py

First, you should install psutil, which can query the resources occupied by a process.then install visdom to visualize the data.pip install psutilpip install visdom

Execution steps

  • 1.python -m visdom.server <-Start Visdom Visual Services
  • 2.python trends_thread_visualization.py --thread PID <-PID is the process you want to query.
  • 3.input ip:8097 in web <-You can click in the box of the existing interface(the name I set is "test".For convenience, you can set your own project name when executing py_files.)
  • 4.Then the curve will be drawn in real time.(The time interval for query is 1 second)

About

Draw trends in memory usage for a process

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp