Skip to content

Log CPU and memory usage on multi-user systems

Notifications You must be signed in to change notification settings

OndinaHQ/Usage-Log

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage Log

This program logs CPU and memory usage on a per user basis, at randomised intervals.

It's written in Python 3000. To run it, type

python3.2 usage_log.py

The log will be written to the current working directory. It contains one json-encoded object per line. The objects are dictionaries mapping the current date and time to the users mapped to their cpu and memory usage in percent as reported by ps.

About

Log CPU and memory usage on multi-user systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%