Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Using Killall On Processes Started By Nohup
post Nov 13 2002, 03:33 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 3
Joined: 13-November 02
Member No.: 147

I often start background processes with the "nohup" command followed by an "&". If I do a "ps -aux", I see the process listed as being "bash" followed by the process name.

The problem is that the processes often cannot be killed by "killall", presumably because it thinks the process name is "bash", and I don't want to kill all processes named bash. I have to use "kill" and the process id, which is hard to script. Is there something I am doing wrong? I know there must be an easy and reliable way to write a script that kills a process running in the background.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 16th July 2018 - 01:22 PM