Re: [LIP] check instance of a running application
Tarun Dua <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Organization | Linux Delhi |
| Message-ID | <[email protected]> |
> On 25/12/03 19:49 -0800, ram wrote: > <snip> >> If i want to implement this way thr code what should i >> do to kill the application by just passing the >> application name without using exec or system >> command.Just want to know the other approach. Read the thread a bit late in the day. man sigaction Writing the pid files(just the pid is stored) in /var/run ( normal redhat like linux ) seems to be the cleanest way -Tarun ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click