You should probably be using -b (batch mode) rather than -s (secure mode). That might be the problem.
That aside though, have you tried vmstat(8)?
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Piping top
by sauoq
in thread Piping top
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |