Обсуждение: Re: setproctitle

Поиск
Список
Период
Сортировка

Re: setproctitle

От
Bruce Momjian
Дата:
> Hi!
> 
> On Mon, 12 Jun 2000, Bruce Momjian wrote:
> > What OS's has pstat()?
> 
>    My understanding of sendmail sources answers that pstat() is used only
> on HP-UX...
> 

Tom Lane, does the new 7.1 ps status code work under HP-UX?

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: Re: setproctitle

От
Tom Lane
Дата:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>>>> What OS's has pstat()?
>> 
>> My understanding of sendmail sources answers that pstat() is used only
>> on HP-UX...

> Tom Lane, does the new 7.1 ps status code work under HP-UX?

Yup.  I tested Peter's code for him before he checked it in --- it
works, at least on 10.20.

The pstat man page says pstat was developed by HP, so I guess it
probably is HPUX only :-(.  Wish HP were a little more committed to
following existing standards when there's no reason for a new one.
        regards, tom lane