sscontrol metric

Use the sscontrol metric command to configure system metrics.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-sscontrol--metric--+-add--sitename+sn2+...+snN@metric+metric1+...+metricN--------------+-><
                      +-remove--sitename+sn2+...+snN@metric+metric1+...+metricN-----------+   
                      +-proportions--sitename+sn2+...+snN@proportion1 prop2 prop3...propN-+   
                      '-status--sitename+sn2+...+snN metric+metric1+...+metricN-----------'   

Parameters

add
Add the specified metric.
  • sitename

    The configured site name. Additional site names are separated by a plus sign (+).

  • metric

    The system metric name. This must be the name of an executable or script file in the metric server's script directory.

remove
Remove the specified metric.
proportions
Proportions determines the significance of each metric as compared to the others when they are combined into a single system load for a server.
status
Display the current server values for this metric.

Samples

  • To add a system metric:
    sscontrol metric add site1@metric1
  • To set proportions for a site name with two system metrics:
    sscontrol metric proportions site1 0 100
  • To display the current status of values associated with the specified metric:
    sscontrol metric status site1@metric1
    This command produces output similar to:
    Metric Status:
    ------------
    sitename ..................... site1
    Metric name ................... metric1
    Metric proportion ............. 50
        Server ......... 9.37.56.100
        Metric data .... -1

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 23, 2018 0:18
File name: rcmd_sscontrolmetric.html