Skip to content

YashMeh/pMonit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pMonit

Go Report Card

This is a program that logs CPU + memory utilization of a process ID for every N seconds to a CSV file.

Format

go run main.go PID N FILENAME

Press 'q' to gracefully stop the process

Example

go run main.go 3181 2s output.csv

Features/Learnings

  • Streams the readings to the file instead of loading in memory.

Todo

  • Save the readings to .png file

About

This is a program that logs CPU + memory utilization of a process ID for every N seconds to a CSV file.

Topics

Resources

Stars

Watchers

Forks

Languages