Regarding top command

Krishnaprasad k.krishna at hcl.in
Fri Jun 2 06:02:29 UTC 2006


Hi all
      
       Is there any way to run top command as a background process?

I have tried "top -n1 &" and then "fg %1". it works fine from the 
terminal but from a script i am not able to call fg command.

Is there any other way for this ..

thanks for ur time..

rgds
krishnaprasad




More information about the redhat-list mailing list