Re: postgres uptime

From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: postgres uptime
Date: 2004-08-20 04:29:14
Message-ID: 20040820012613.D30511@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 20 Aug 2004, Tom Lane wrote:

> "Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
>> On Fri, 20 Aug 2004, Gavin Sherry wrote:
>>> However, I'm not sure why an uptime is all that useful?
>
>> Bragging rights? :)
>
> The folks who have a legitimate interest in that number can surely find
> it out from "ps". What I'm having a hard time with here is the value of
> allowing the number to be found out remotely. Most sites disabled
> remote "ps" decades ago, for good and sufficient reason.

There used to be a 'remote ps'? That I didn't know ...

But, back to the question at hand ... if we're worried about 'regular
users' having access to it (which, I'm still a bit confused as to why, but
that's in my other email) ... why not make it a 'superuser only' function?
In fact, from that perspective, there would be use, since it would allow
the admin to check remotely for situations where the server is/has crashed
... something that could also be easily (I'd imagine) to admin software
like pgadmin, where if user has superuser access, a 'time since last
reboot' could be included as part of the status screen ...

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2004-08-20 04:37:24 Re: tablespace and sequences?
Previous Message Tom Lane 2004-08-20 04:27:04 Re: tablespace and sequences?