Dialogic® DSI SS7MD Programmer’s Manual Issue 3

8.8tempmon

Description

The tempmon (Temperature Monitor) utility is a standalone console application program that runs in isolation from the GCT environment and periodically reads back the temperature, as recorded by the on-board temperature sensor, of all DSI SS7MD Boards present in the system and logs these together with the date, time and board serial numbers. This permits the user to evaluate the suitability of a host chassis for deployment.

"tempmon" sits directly above the OS specific driver (in place of the SSD process).

When run tempmon will print a line to the standard output (and to any log file defined on the command line) identifying the boards present in the system:

YYYY-MM-DD HH:MM:SS, board 0 identifier, board 1 identifier, board 2 identifier, board 3 identifier

Note:If a board is present but does not return a valid serial number, its serial number shall be set to the

devices minor node number. An absent board shall be shown as a board_id of

"--------

".

At this point (and every 'n' seconds after), the system will attempt to retrieve the temperature from each board present in the system and will print a line to the standard output (and to any log file defined on the command line):

YYYY-MM-DD HH:MM:SS, board 0 temperature, board 1 temperature, board 2 temperature, board 3 temperature

Note: Any board not returning a temperature (e.g., the sensor not being present on the board, failure due to the board overheating or the board not being present) will display a blank field (whitespace) in the output.

The tempmon utility can be shut down by pressing <CTRL>C. The application will then close any log file and exit.

Syntax

tempmon [-v[v¦?]] [-f<filename>] [-t<time between samples>]

Command Line Options

The tempmon utility supports the following command line options:

-v [v ¦?]

-v Displays the command line options

? displays the program version but does not run

-f <filename>

Optionally specifies a file to which all screen output is written. If the specified file does not exist, it is created. If the specified file already exists, it is overwritten. The data is stored in the file in ASCII format.

-t <time between samples>

Number of seconds between the readings of the board's temperature sensor (default 1 second).

Example

tempmon -v

Sample Output

SS7 tempmon V1.00

Copyright (C) 2009 Dialogic Corporation. All rights reserved.

Syntax: tempmon [-f<log file> -t<sample period> -v] -f : Logfile name

-t : Sample period (default 1)

-v : display version (without running)

175

Page 175
Image 175
Dialogic DSI SS7MD manual Tempmon, Sample Output