Saturday 16 May 2009

capture top command top statistics

It is bit tough to capture ever changing top command stats of unix system , this is one way of watching top statistics for prioritized processes running.

while : ; do top -b -n 1 | grep obj_server >> /opt/top.stat ; sleep 2 ; done

No comments:

Post a Comment

Tweets by @sriramperumalla