Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: pidof not w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 3019 of 3322
Post > Topic >>

Re: pidof not working for postgresql-8.3 ?

by tgl@[EMAIL PROTECTED] (Tom Lane) Feb 28, 2008 at 11:24 PM

Ennio-Sr <nasr.laili@[EMAIL PROTECTED]
> writes:
> Besides that I just found out that 'pidof' doen't seem to work for the
> ordinary user, as far as postgresql is concerned, whereas it works
> regularly for other processes:

> user$ pidof /usr/sbin/apache
> 19095 19094 19093 19092 19091 19088

> user$ pidof /usr/lib/postgresql/8.3/bin/postmaster
> [nihil]

> Is this a normal behaviour for the new pg_8.3?

I am not familiar with pidof (doesn't exist on any of my boxen)
but maybe it is looking at real executable names rather than
symlinks?  Try looking for "postgres" instead of "postmaster".

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
 




 4 Posts in Topic:
pidof not working for postgresql-8.3 ?
nasr.laili@[EMAIL PROTECT  2008-02-28 17:44:56 
Re: pidof not working for postgresql-8.3 ?
tgl@[EMAIL PROTECTED] (T  2008-02-28 23:24:28 
Re: pidof not working for postgresql-8.3 ?
nasr.laili@[EMAIL PROTECT  2008-03-01 01:43:47 
Re: pidof not working for postgresql-8.3 ?
nasr.laili@[EMAIL PROTECT  2008-03-02 19:38:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 3:54:34 CST 2008.