ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Ctrl+C и SIGINT
Date: Fri, 10 Nov 2006 12:07:24 +0300
Message-ID: <4554414C.9050208@stc.donpac.ru> (raw)
In-Reply-To: <45531DDC.6020608@bungarus.info>

> Сделать ps axf и убить корень.

Как убить корень?

# ps axf
   PID TTY      STAT   TIME COMMAND
     1 ?        Ss     0:00 init [3]
  1338 ?        Ss     0:00 /sbin/syslogd -u syslogd -j /var/resolv
  1365 ?        Ss     0:00 /sbin/klogd -c 1 -2 -u klogd -j /var/lib/klogd
  1390 ?        Ss     0:00 /usr/sbin/crond
  1412 ?        Ss     0:00 /usr/sbin/xinetd -reuse -remlock
  1446 ?        Ss     0:00 /usr/sbin/sshd
  3333 ?        Ss     0:00  \_ sshd: john [priv]
  3340 ?        R      0:00  |   \_ sshd: john@pts/0
  3341 pts/0    Ss     0:00  |       \_ -bash
  3346 pts/0    S      0:00  |           \_ su -
  3350 pts/0    S      0:00  |               \_ -bash
  3472 pts/0    R+     0:00  |                   \_ ps axf
  3410 ?        Ss     0:00  \_ sshd: john [priv]
  3418 ?        S      0:00      \_ sshd: john@pts/1
  3419 pts/1    Ss     0:00          \_ -bash
  3424 pts/1    S      0:00              \_ su -
  3428 pts/1    S      0:00                  \_ -bash
  3470 pts/1    S+     0:00                      \_ /bin/sh 
/usr/bin/myservice
  3471 pts/1    S+     0:00                          \_ sleep 1000000


Что послать 3470, чтобы умерли все дочерние процессы?

-- 
С уважением, Прокопьев Евгений



  reply	other threads:[~2006-11-10  9:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-09 12:19 Eugene Prokopiev
2006-11-09 12:23 ` Maxim Tyurin
2006-11-10  9:07   ` Eugene Prokopiev [this message]
2006-11-10 15:04     ` Maxim Tyurin
2006-11-12 15:49       ` Eugene Prokopiev
2006-11-09 12:39 ` LVU
2006-11-10  9:05   ` Eugene Prokopiev
2006-11-10  9:34     ` LVU
2006-11-10  9:39       ` LVU
2006-11-12 15:54         ` Eugene Prokopiev
2006-11-12 16:17           ` Michael Shigorin
2006-11-13  6:30             ` Eugene Prokopiev
2006-11-13  8:36               ` Michael Shigorin
2006-11-13 11:40                 ` Eugene Prokopiev
2006-11-13 15:48                   ` Michael Shigorin
2006-11-13 10:36               ` [Comm] java Dmitry V. Levin
2006-11-13 11:55                 ` Eugene Prokopiev
2006-11-13 16:56                   ` Dmitry V. Levin
2006-11-14  6:58                     ` Eugene Prokopiev
2006-11-09 14:28 ` [Comm] Ctrl+C и SIGINT Maksim Otstavnov
2006-11-10  9:12   ` Eugene Prokopiev

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=4554414C.9050208@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=community@lists.altlinux.org \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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