The system that you want to monitor by using a secure shell must be running a secure shell daemon. Make sure the monitored user has permission to log on multiple times.
The Connection parameters page opens.
Attribute | Type | Value |
---|---|---|
Command1 | string | ps -ef | egrep -c \”.*\” |
Command1.Active | boolean | true |
Command1.Column | number | 1 |
Command2 | string | mpstat | head -n 2 | tail -1 |
Command2.Active | boolean | true |
Command2.Column | number | 13 |
Example Command2
mpstat | head -n 2 | tail -1This command returns a one-line response in the following format.
0 0 0 0 228 25 106 1 0 0 0 219 0 0 0 99
The attribute Command2.Column specifies which column to pass on to Performance Explorer for keeping track of the performance counter. In this case, it is column 13, which is the percentage of user time on a SunOs system.
Command2.Active specifies only whether this measure must be collected.
Example Command1
ps -ef | egrep -c \".*\"This command counts the number of processes running on a SunOs system and could return a one-line response in the following format.
87
Therefore, one line is returned with exactly one column.
The attribute Command1.Column specifies the column to forward to Performance Explorer. In this case, it is column 1.
Command1.Active specifies only whether this measure must be collected.