Shannon Adams
New Member
I want to run a Unix "sar 5" command from Progress and capture the values to be used in the Progress program.
running sar 5 would return:
# sar 5
SunOS brsprod 5.9 Generic_118558-06 sun4u 09/29/2005
22:35:16 %usr %sys %wio %idle
22:35:21 27 1 1 71
#
How could I run the external command and capture the %wio and $idle? Thanks for any help.
running sar 5 would return:
# sar 5
SunOS brsprod 5.9 Generic_118558-06 sun4u 09/29/2005
22:35:16 %usr %sys %wio %idle
22:35:21 27 1 1 71
#
How could I run the external command and capture the %wio and $idle? Thanks for any help.