Henning Brauer <[EMAIL PROTECTED]> wrote:
* Helmut Schneider <[EMAIL PROTECTED]> [2008-01-29 15:02]:
To stop httpd, which pid should I kill, the oldest, or the most recent?
kill 'em all!
[EMAIL PROTECTED] ~]# kill 1%'&$carrier lost
--
No Swen today, my love has gone away
My mailbox stands f
Darrin Chandler <[EMAIL PROTECTED]> wrote:
If you really want to find the parent you can...
$ ps ax -O pgid | grep ntpd
4887 4887 ?? Is 0:00.01 ntpd: [priv] (ntpd)
7164 4887 ?? I 0:00.06 ntpd: ntp engine (ntpd)
The header that gets stripped by grep:
PID PGID TT STAT TIME
* Helmut Schneider <[EMAIL PROTECTED]> [2008-01-29 15:02]:
> To stop httpd, which pid should I kill, the oldest, or the most recent?
kill 'em all!
--
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedi
On Tue, Jan 29, 2008 at 02:54:14PM +0100, Helmut Schneider wrote:
> pierre <[EMAIL PROTECTED]> wrote:
>> On Tue, 29 Jan 2008 11:37:41 +0100
>> "Helmut Schneider" <[EMAIL PROTECTED]> wrote:
>>
>>> Claudio Jeker <[EMAIL PROTECTED]> wrote:
We don't believe in pid files. Use pgrep(1) and pkill(1)
pierre <[EMAIL PROTECTED]> wrote:
On Tue, 29 Jan 2008 11:37:41 +0100
"Helmut Schneider" <[EMAIL PROTECTED]> wrote:
Claudio Jeker <[EMAIL PROTECTED]> wrote:
We don't believe in pid files. Use pgrep(1) and pkill(1) instead,
you will never have stale info that way.
pgrep on OpenBSD does not sup
pierre <[EMAIL PROTECTED]> wrote:
On Tue, 29 Jan 2008 11:37:41 +0100
"Helmut Schneider" <[EMAIL PROTECTED]> wrote:
Claudio Jeker <[EMAIL PROTECTED]> wrote:
We don't believe in pid files. Use pgrep(1) and pkill(1) instead,
you will never have stale info that way.
pgrep on OpenBSD does not sup
Hi!
On Tue, Jan 29, 2008 at 09:18:31AM -0200, pierre wrote:
>On Tue, 29 Jan 2008 11:37:41 +0100
>"Helmut Schneider" <[EMAIL PROTECTED]> wrote:
>> Claudio Jeker <[EMAIL PROTECTED]> wrote:
>> > We don't believe in pid files. Use pgrep(1) and pkill(1) instead,
>> > you will never have stale info tha
On Tue, 29 Jan 2008 11:37:41 +0100
"Helmut Schneider" <[EMAIL PROTECTED]> wrote:
> Claudio Jeker <[EMAIL PROTECTED]> wrote:
> > We don't believe in pid files. Use pgrep(1) and pkill(1) instead,
> > you will never have stale info that way.
>
> pgrep on OpenBSD does not support '-o' (Select only th
Claudio Jeker <[EMAIL PROTECTED]> wrote:
We don't believe in pid files. Use pgrep(1) and pkill(1) instead, you will
never have stale info that way.
pgrep on OpenBSD does not support '-o' (Select only the oldest). It is -
well - it could be more useful.
--
No Swen today, my love has gone away
Claudio Jeker wrote:
> We don't believe in pid files. Use pgrep(1) and pkill(1) instead, you will
> never have stale info that way.
Sweet! Use of pid files seemed like an anachronism anyway. pkill does
what I wanted. Now I don't have to write an extra shell script.
-Lars
On Fri, Jan 25, 2008 at 03:17:55PM +0200, Lars Noodin wrote:
> How should I go about recording the process id for the OpenNTP daemon?
> Usually processes get written in /var/run/
>
> Many daemons allow relocation via options or the config file e.g.
> /usr/sbin/apt-cacher -d -p /var/run/apt-c
* Lars Noodin <[EMAIL PROTECTED]> [2008-01-25 14:20]:
> How should I go about recording the process id for the OpenNTP daemon?
> Usually processes get written in /var/run/
>
> Many daemons allow relocation via options or the config file e.g.
> /usr/sbin/apt-cacher -d -p /var/run/apt-cacher.p
How should I go about recording the process id for the OpenNTP daemon?
Usually processes get written in /var/run/
Many daemons allow relocation via options or the config file e.g.
/usr/sbin/apt-cacher -d -p /var/run/apt-cacher.pid;
/usr/local/sbin/dnsmasq --pid-file=/var/run/dnsmas
13 matches
Mail list logo