( ** Go back to PARENTPAGE ../Sampling-System-Cores-Statistics.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)
Sampling Linux System Statistics Using ASPL Script procstat.aspl
Use the script procstat.aspl to monitor your system statistics in a busy Linux cloud environment.
The script captures your system statistics into a differential group variable, then playchanges
on the instances saved in the variable to show rate of change in your system statistics.
The command playop shows what has changed intermittently between the instances saved in the
differential variable.
1 Cmd#1 on Machine vienna User root
(ndxNo=1 Cmd# No=1 on Machine vienna User root no_tm_u_h_cwd=2:37:53 root@vienna /public/teeaspl/ASPLCMD_SYSSTATS u_h=root@vienna)
BASH 2:37:53 root@vienna /public/teeaspl/ASPLCMD_SYSSTATS # procstat.aspl 13 1000
run procstat.aspl in a loop thirteen time with
a delay of 1000 millis or 1 second
2 Cmd#2 on Machine vienna User root
(ndxNo=2 Cmd# No=2 on Machine vienna User root no_tm_u_h_cwd=2:38:58 root@vienna /public/teeaspl/ASPLCMD_SYSSTATS u_h=root@vienna)
BASH 2:38:58 root@vienna /public/teeaspl/ASPLCMD_SYSSTATS #