ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dmitry Alexeyev <dmi_a@qnx.org.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: Q: apache and reverse proxy
Date: Sat, 6 Nov 2004 00:44:17 +0300
Message-ID: <200411060044.17291.dmi_a@qnx.org.ru> (raw)
In-Reply-To: <20041105202158.GA14104@osdn.org.ua>

On Friday 05 November 2004 23:21, Michael Shigorin wrote:
> On Fri, Nov 05, 2004 at 10:48:28PM +0300, Dmitry Alexeyev wrote:
> > > Потому и пошёл думать про инженерныые варианты решения, но
> > > там есть проблема -- запущенный сбоку apache так тоже
> > > пришибёт.
> >
> > pstree -p ?
>
> И парсить, парсить, парсить?..

pstree -p -h $PID | tr + \\n | tr -d [:alpha:],[:punct:]

Не знаю уж, насколько хорошо так делать

Как вариант - /sbin/fuser -n (-vk) tcp 443

У всего этого один минус - за это время он сможет ещё десяток дочерних 
процессов нафоркать.

А что можно поменять в start_stop_daemon(), чтобы отслеживались потомки? 
Интересно же :) 

WBR
Dmitry 




  reply	other threads:[~2004-11-05 21:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-02 15:44 [sisyphus] " Leonid Shalupov
2004-11-02 18:26 ` [sisyphus] " Michael Shigorin
2004-11-02 19:09   ` Leonid Shalupov
2004-11-02 19:53     ` Michael Shigorin
2004-11-05  1:22       ` Dmitry Alexeyev
2004-11-05 19:26         ` Michael Shigorin
2004-11-05 19:32           ` Dmitry Alexeyev
2004-11-05 19:36             ` Michael Shigorin
2004-11-05 19:48               ` Dmitry Alexeyev
2004-11-05 20:21                 ` Michael Shigorin
2004-11-05 21:44                   ` Dmitry Alexeyev [this message]
2004-11-06  0:01             ` Dmitry V. Levin
2004-11-06  6:07               ` Dmitry Alexeyev
2004-11-06  6:35                 ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411060044.17291.dmi_a@qnx.org.ru \
    --to=dmi_a@qnx.org.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git