Msysmon: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "{{Pagelinks}} = Purpose = Many experiments want to monitor the CPU usage and network throughput of their computers. {{Utility|name=msysmon}} provides a pre-built Frontend_A...")
 
(The midas documentation has moved to https://midas.triumf.ca/docs/)
 
Line 1: Line 1:
{{Pagelinks}}
The midas documentation has moved. See [https://midas.triumf.ca/docs/develop/reference/reference/programs/#msysmon msysmon] on the Programs and options page for the new documentation about the msysmon program.
= Purpose =
 
Many experiments want to monitor the CPU usage and network throughput of their computers. {{Utility|name=msysmon}} provides a pre-built [[Frontend_Application|frontend]] for monitoring this information, and automatically sets up [[History_Page|history plots]] for viewing graphs on the web.
 
Note that {{Utility|name=msysmon}} only supports Linux machines - there is no support for Windows or Mac.
 
By default, {{Utility|name=msysmon}} will log the CPU data etc to the main SYSTEM buffer every 10s. In most experimental setups, this means that the data will appear in any data files written to disk (as well as in the history). If you do NOT want the data to appear in data files, change the ODB key "/Equipment/xxx_msysmon/Common/Buffer" to an empty string.
 
= Implementation details =
 
{{Utility|name=msysmon}} is written in the [[Frontend_Application|midas frontend framework]]. Each frontend derives the equipment name from the hostname, so multiple instances across multiple machines can be created without conflict. The code is based on htop, and parses the contents of /proc/stat, /proc/meminfo and /proc/net/dev. It automatically builds history plots under the category sysmon.
 
{{Utility|name=msysmon-nvidia}} is a special version of {{Utility|name=msysmon}} (same source file) that links to the NVIDIA Management Library (NVML) if the nvidia drivers are installed on the build machine. This will monitor and log GPU usage, and temperatures as well as CPU, memory etc. A system only needs to run msysmon or msysmon-nvidia.
 
== Arguments ==
[-h ] : help.
[-h hostname ]        : see [[Common Parameters to MIDAS Utilities |common parameters]]
[-e experiment_name ] : see [[Common Parameters to MIDAS Utilities |common parameters]]
[-D ]                : start program as a daemon.
 
 
[[Category:Utilities]] [[Category:Experiment]]

Latest revision as of 22:01, 30 October 2026

The midas documentation has moved. See msysmon on the Programs and options page for the new documentation about the msysmon program.