Welcome to WebmasterWorld Guest from 54.147.189.54

Forum Moderators: bakedjake

Message Too Old, No Replies

nohup command

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

Junior Member

5+ Year Member

joined:Apr 20, 2006
posts:109
votes: 0


i ran nohup command...

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

help... thanks..

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 3, 2003
posts:1633
votes: 0


guessing...

Try

ps -A

Look for the programs you started, then

kill {num}

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

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

Junior Member

5+ Year Member

joined:Apr 20, 2006
posts:109
votes: 0


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

million thanks..

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

New User

5+ Year Member

joined:Aug 22, 2007
posts:13
votes: 0


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

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

Senior Member from MY 

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 1, 2003
posts:4847
votes: 0


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