Forum Moderators: bakedjake

Message Too Old, No Replies

nohup command

         

camilord

7:19 pm on Aug 26, 2007 (gmt 0)

10+ Year Member



i ran nohup command...

now, how do i turn it off the running appz...?

help... thanks..

dmorison

7:30 pm on Aug 26, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



guessing...

Try

ps -A

Look for the programs you started, then

kill {num}

Where {num} is the process ID of the running program...

camilord

7:52 pm on Aug 26, 2007 (gmt 0)

10+ Year Member



thanks.. got it.. ur help appreciated...

million thanks..

Alvaro

9:18 am on Aug 29, 2007 (gmt 0)

10+ Year Member



Best use of this commands is like this:

1.- To start app in background redirecting stdout to nohup.out

nohup executable &

2.- To kill app

ps aux (Display all processes, pids, etc...)

kill -9 PID

vincevincevince

9:38 am on Aug 29, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Remember that when you background it with &, you can list it and the PID by typing: jobs -l