1835066 Members
2516 Online
110073 Solutions
New Discussion

kill process

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

kill process

One of our dba's ran the following command and was not able to kill it. Actually, you cant find a process id to kill it at all.

nohup gzip -d < 041303hrpt.dmp.gz > pipe.dmp &

anyone know how to kill this process ?

10x

RPM
UNIX IS GOOD
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: kill process

Hi Robert,

Check out Bill Hassel's comments on killing processes in this question

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc8d7a135f587d5118ff00090279cd0f9,00.html

Robert-Jan.
John Meissner
Esteemed Contributor
Solution

Re: kill process

This command can only be run immediatly after the script is executed. It shows the PID for the last command executed
echo $!

after you have the PID you can kill the process
All paths lead to destiny
Robert-Jan Goossens
Honored Contributor

Re: kill process

Ahhh sorry Robert misread your question.
John Poff
Honored Contributor

Re: kill process

Hi,

You don't have any gzip process running? Try this and see if you get anything:

UNIX95=1 ps -fC gzip

If it doesn't find it the process may have completed already. Do you have anything in the pipe.dmp file?

JP