Hi
Is it possible to stop a command executing after certain time?
I have this command say prstat which keeps on giving the values etc of the processes after every 1 sec(refreshes the screen)
What I want is just stop the execution after first screen
Since I have written this command in shell script, I am not sure how I can stop it so that my script continues on the next line(right now it keeps on waiting for the output of this command)
Can someone help?
San