From the man page of prstat:
The interval and the count is at the end of the command. It means that prstat has to be run at intervals of 'interval' seconds and 'count' number of times. So prstat 1 1 runs the command at one second intervals and runs it just once.
Im running a solaris 9 system and keep getting this message: Request to LXKF894CB (unknown printer) from zion.
This happen because there was a mis configured printer and a job was submitted to it. I fix the printer issue but this message keeps repeating and the PID keeps going up. How can i... (5 Replies)
hi,
Can any plz tell what is the command for stopping a processor? suppose a system is accessing 10 processors and we want to stop the 3rd & 6th processor then whats the command in Unix?
thank u (2 Replies)
Hi
I want to stop a process using a shell script. how do i do that?
ie, to simulate ps -ef|grep Process name
get the process id and kill -9 process id
plz help... (4 Replies)
This is simple for an experianced scripter but that is not what I am :)
if ; then
echo -==Test Passed $3 $4==- >> $1$2
nohup $6$7 & >> $1$2
else
echo -==$8==- >> $1$9
echo -==$8==- >> $1$2
fi
In the else step I also want to stop the script from moving on. ... (15 Replies)
Hi,
on server Red Hat Enterprise Linux AS release 3, I am getting the mail "you have mail" can any body suggest how to stop this? mail are getting generated in below path.
/var/spool/postfix/maildrop, due to which heavy file are getting generated.
though sendmail service is stopped.
... (0 Replies)
Hi,
I have scheduled one job in crontab. I want to stop the job automatically after some time of its execution without killing it.
Could i archive the above? (8 Replies)