View Single Post
Old 12-19-2002, 11:01 PM   #6 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,694
redhead is on a distinguished road
To use killall you need the exact name, or starting part of it..

Meaning if you have the program running, but in the process list it is named /some/path/program, then using killall program wont kill it.

And if you have another program running ie, program to kill is running as myprogram1, ansd another one is named myprogram11, then using killall myprogram1 will kill them both.

So in teh long run, you would need to atleast use ps once, so I would use what technobard sugests.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote