in reply to Piping top

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.";