Re: -F option again

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: newsreader(at)mediaone(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: -F option again
Date: 2001-03-13 00:13:42
Message-ID: 3AAD6636.EE7E6678@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

newsreader(at)mediaone(dot)net wrote:
>
> I think I have been using -F option since
> but now I'm not sure. I either start
> with pg_ctl or postmaster directly. In any case
> man pages suggest that if you can pass optional parameters
> to postgres via -o switch from postmaster. I would
> think that if I do it correctly such options will
> show up on postgres backend processes. I do not
> see such options from top. Below I present
> to you relevant snippet of my top output. I've
> made sure there is no trailing command line being
> cut off due to screen size limitations.
>
> Why do not I see "postgres -F"?

Because postgres modifies its arguments so you can tell what it is doing
with ps. For example your postmaster is connected to a client on the
localhost user httpd database what and is doing nothing at the moment.
>
> -------------------------
> 4:44pm up 11 days, 9:12, 1 user, load average: 0.00, 0.00, 0.00
> 84 processes: 83 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states: 0.8% user, 1.7% system, 0.0% nice, 97.3% idle
> Mem: 385032K av, 339060K used, 45972K free, 0K shrd, 2152K buff
> Swap: 136512K av, 7640K used, 128872K free 100956K cached
>
> PID PRI SIZE RSS SHARE TIME COMMAND
> 1239 15 900 900 684 0:01 top
> 14287 15 740 624 548 5:55 /usr/local/pgsql/bin/postmaster -o -F -S 2048
> 20221 9 5048 4988 4516 0:06 /usr/local/pgsql/bin/postgres localhost httpd what idle
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

--
Joseph Shraibman
jks(at)selectacast(dot)net
Increase signal to noise ratio. http://www.targabot.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-03-13 00:23:52 Re: display temp table structure?
Previous Message Bruce Momjian 2001-03-13 00:06:20 Re: display temp table structure?