EnglishFrenchSpanish

OnWorks favicon

cspmonitor - Online in the Cloud

Run cspmonitor in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cspmonitor that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cspmonitor — CSP server for monitoring RSerPool components

SYNOPSIS


cspmonitor [-localaddress=address:port] [-updateinterval=milliseconds]
[-purgeinterval=milliseconds] [-compact] [-full] [-maxpr=PRs] [-maxpe=PEs]
[-maxpu=PUs] [-maxlocationsize=characters] [-logappend=filename]
[-logcolor=on|off] [-logfile=filename] [-loglevel=0-9]

DESCRIPTION


cspmonitor is a simple simple Component Status Protocol (CSP) monitor server. It receives
status messages from components via UDP and prints them on the screen. This program is
useful to keep an overview of running RSerPool components.

ARGUMENTS


The following options are available:

-localaddress=address:port
Sets the local UDP socket address and port number. By default, it listens on all
addresses, port 2960.

-updateinterval=milliseconds
Sets the update interval in milliseconds. Default: 1000.

-purgeinterval=milliseconds
Sets the purge interval in milliseconds. Default: 30000.

-compact
Turns on compact status display mode.

-full Turns on full status display mode (default).

-maxpr=PRs
Limits the number of PRs to be displayed to the given number.

-maxpr=PEs
Limits the number of PEs to be displayed to the given number.

-maxpr=PUs
Limits the number of PUs to be displayed to the given number.

-maxlocationsize=characters
Limits the location string size to the given number of characters.

Logging Parameters:

-logappend=filename
Write logging output to a file (default is stdout); output will be appended
to given file.

-logcolor=on|off
Turns ANSI colorization of the logging output on or off.

-logfile=filename
Write logging output to a file (default is stdout); given file will be
overwritten.

-loglevel=0-9
Sets the logging verbosity from 0 (none) to 9 (very verbose). It is
recommended to use at least a value of 2 to see possibly important error
messages and warnings.

ENVIRONMENT


cspmonitor uses the environment variables CSP_SERVER and CSP_INTERVAL to define a CSP server
to send reports to in the specified interval.

DIAGNOSTICS


If loglevel>0, log messages will be printed to stdout or into a specified log file.

Use cspmonitor online using onworks.net services


Ad


Ad