Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

top plugin for MADS

This is a Source plugin for MADS.

This plugin provides running statistics of the MADS system, such as CPU usage, memory usage, and other relevant metrics.

Required MADS version: 2.4.1.

Supported platforms

Currently, the supported platforms are:

  • Linux
  • MacOS
  • Windows

Installation

Linux and MacOS:

cmake -Bbuild -DCMAKE_INSTALL_PREFIX="$(mads -p)"
cmake --build build -j4
sudo cmake --install build

Windows:

cmake -Bbuild -DCMAKE_INSTALL_PREFIX="$(mads -p)"
cmake --build build --config Release
cmake --install build --config Release

INI settings

The plugin supports the following settings in the INI file:

[top]
# How often to sample system stats:
sampling_period = 2.5
# How many decimal places to round the output values:
rounding_precision = 2

All settings are optional; if omitted, the default values are used.

Executable demo

The top executable can be run directly from the command line and provides a JSON system info every second.


About

Running statistics for current system

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages