From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Mathijs Brands <mathijs@ilse.nl>
Cc: Larry Rosenman <ler@lerctr.org>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: PostgreSQL-ports <pgsql-ports@postgresql.org>
Cc: PostgreSQL-Admin <pgsql-admin@postgresql.org>
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris
Date: Wed, 28 Mar 2001 18:07:46 -0500 (EST)
Message-ID: <200103282307.SAA29291@candle.pha.pa.us> (raw)
In-Reply-To: <20010329005126.D26435@ilse.nl>
> On Wed, Mar 28, 2001 at 05:33:05PM -0500, Bruce Momjian allegedly wrote:
> > Sure 'ps -U' will work, but it was reported that on Solaris, plain ps
> > can't show the postgres status display, while ucb/ps can. I don't need
> > specific columns. What I need is the postgres status parameters, and if
> > possible, a user restriction to ps for performance reasons.
>
> My mistake. Have a look at this snippet from the ps manpage:
>
> | args The command with all its arguments as a string. The
> | implementation may truncate this value to the field
> | width; it is implementation-dependent whether any
> | further truncation occurs. It is unspecified whether
> | the string represented is a version of the argument
> | list as it was passed to the command when it started,
> | or is a version of the arguments as they may have been
> | modified by the application. Applications cannot
> | depend on being able to modify their argument list and
> | having that modification be reflected in the output of
> | ps. The Solaris implementation limits the string to
> | 80 bytes; the string is the version of the argument
> | list as it was passed to the command when it started.
>
> Note the last line...
OK, I need someone on Solaris to test ps and /ucb/ps with regard to user
restriction inside ps, and display of PostgreSQL status display.
I have uploaded a new pgmonitor 0.33 version that has a show_all
configuration parameter. This will show all PostgreSQL-owned processes
for use on operating systems that don't have PostgreSQL status display.
--
Bruce Momjian | http://candle.pha.pa.us
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, Pennsylvania 19026
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, mathijs@ilse.nl, ler@lerctr.org, peter_e@gmx.net, pgsql-hackers@postgresql.org, pgsql-ports@postgresql.org
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris
In-Reply-To: <200103282307.SAA29291@candle.pha.pa.us>
References: <20010329005126.D26435@ilse.nl> <200103282307.SAA29291@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox