|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Constantin Stefanov 2:5020/400 18 Dec 2002 15:08:51 To : Talker Subject : Re: мониторинг процес сов --------------------------------------------------------------------------------
Talker wrote:
>>А сам init вполне себе может
>>последить за живостью другого процесса
>
> Как именно? Подумывается ttys, тока это не совсем то.
Именно то.
- --- man ttys ---
The first field is normally the name of the terminal special file as it
is found in /dev. However, it can be any arbitrary string when the
associated command is not related to a tty.
The second field of the file is the command to execute for the line,
usually getty(8), which initializes and opens the line, setting the
speed, waiting for a user name and executing the login(1) program. It
can be, however, any desired command, for example the start up for a
window system terminal emulator or some other daemon process, and can
contain multiple words if quoted.
----------------
Во. Пишешь любую белиберду, а дальше свою команду, ну и остальные поля
по вкусу. Init за ней и последит - за getty же следит, а чем твоя
программа хуже?
--
Константин Стефанов
--- ifmail v.2.15dev5
* Origin: Gamma NNTP server Moscow Russia (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/75912736b039.html, оценка из 5, голосов 10
|