capturing output of top command in solaris??
I want to capture the output of TOP command in a file over a period
time on solaris with some delay. I want to avoid re-launching the TOP
and redirecting the same,in a while loop as i don't get IDLE cpu in
that.
i tried following:
while true
do
top >> t.log
sleep 10
done;
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement