vaed...@gmail.com wrote:
>
> I am trying to do a top and then extract the data from this line:
> CPU states: % idle, % user, % kernel, % iowait, % swap
I use -
sar -u 1 10 | grep Average | awk ' { stuff } '
This is a discussion on top question - Unix ; I am trying to do a top and then extract the data from this line: CPU states: % idle, % user, % kernel, % iowait, % swap when you save this info to a file its never there. Does anyone ...
I am trying to do a top and then extract the data from this line:
CPU states: % idle, % user, % kernel, % iowait, %
swap
when you save this info to a file its never there. Does anyone know
how to capture this.
thanks
vaed...@gmail.com wrote:
>
> I am trying to do a top and then extract the data from this line:
> CPU states: % idle, % user, % kernel, % iowait, % swap
I use -
sar -u 1 10 | grep Average | awk ' { stuff } '