Skip to content

imais/sysmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System Monitor

  • Reads the following statistics information from the linux file system:

    • CPU: /proc/stat
    • Disk: /sys/block/sda/stat
    • Net: /proc/net/dev/
    • Memory: /proc/meminfo
  • Captured data entries are configurable through the print_flag variable in sysmon.c (See include/print_flags.h for flag definitions).

  • Monitoring interval can be configured with the INTERVAL_SEC macro in sysmon.c.

  • Some files/functions are adapted from:

  • Usage

 $ make
 $ ./sysmon 1 log.txt // real-time logging enabled & save monitored data in "log.txt"

About

System statistics monitor for linux systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published