SysInfo: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Introduction ==
== Introduction ==
{|align=right
|__TOC__
|}
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.
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.


Line 6: Line 9:


On MS Windows the command ''systeminfo'' is used which is always present.
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:
# Davis VP2+ : you need to activate the setting for this (parameter ''DavisReadReceptionStats'')
# Davis WLL : you need at least a Pro subscription to be able to access the statistics


== Operation ==
== Operation ==
This module is included in the website. When needed as a single output the following command is given:
This module is included in the website. When needed as a single output the following command is given:
utils/bin/cumulusutils.exe SysInfo
utils/bin/cumulusutils.exe SysInfo

(Note that commands to CumulusUtils are case independent)
== Output ==
The output is the file: ''systeminfoTable.txt''


== Inifile parameters ==
== Inifile parameters ==
The module has two inifile parameter (see [[Cumulusutils.ini|''cumulusutils.ini'']])
The module has the following inifile parameters (see [[Cumulusutils.ini|''cumulusutils.ini'']])


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

Tx will only be present in case of a Davis WLL device. <BR/>
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 <br/>Spaces are allowed in the transmitter string.


== Inner working ==
== Inner working ==
The applications ''lshw'' or ''systeminfo'' are started and the output is edited to what is shown on the output page. Only some information is displayed, the rest is discarded. On Windows the output of the ''systeminfo'' command is displayed up to the line of the pagefile.
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:
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:

Latest revision as of 12:01, 5 January 2024

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.