SysInfo

From Cumulus Wiki
Jump to navigationJump to search

Introduction

This module has been introduced to provide for information about the running state of CumulusMX and of the System it is running on, information otherwise missing.

The module is implemented on MS Windows and on Linux, NOT on Mac OS. For operation on Linux the user must verify whether the application lshw has been installed. If not that has to be done first with the following command:

   apt-get install lshw

On MS Windows the command systeminfo is used which is always present.

Davis Davis Read Reception Stats

For the Davis read reception statistics two different cases have to be noted:

  1. Davis VP2+ : you need to activate the setting for this (parameter DavisReadReceptionStats)
  2. Davis WLL : you need at least a Pro subscription to be able to access the statistics

Operation

This module is included in the website. When needed as a single output the following command is given:

   utils/bin/cumulusutils.exe SysInfo

Output

The output is the file: systeminfoTable.txt

Inifile parameters

The module has the following inifile parameters (see cumulusutils.ini)

 [SysInfo]
 ReportWidth=700
 SystemInfoLinesToSkip=
 ExtraStationInfo=             ; This is free format info you want to add
 Tx= 

Tx will only be present in case of a Davis WLL device.
If you run your CMX instance on another port than the 8998 default you must change it in the section General (before version 6.18.3 this was in section SysInfo).

Tx is a comma separated list of the transmitters used e.g. Tx=4, 5
Spaces are allowed in the transmitter string.

Inner working

The applications lshw, uptime, free, uname, df (Linux) or systeminfo (Windows) are started and the output is edited to what is shown on the output page. Only some information is displayed, the rest is discarded. Under MS Windows the output of the systeminfo command is displayed up to the line of the pagefile.

Under MS Windows the user has the ability to skip lines for display by giving the inifile parameter SystemInfoLinesToSkip a value of a comma separated list of line numbers. So:

   SystemInfoLinesToSkip=1,2,3 

would skip the first three lines.

The information is displayed as is on the webpage with the HTML PRE tag. The width of the report can be changed with the ReportWidth inifile parameter.