From: | Sam Mason <sam(at)samason(dot)me(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: PostgreSQL Cache |
Date: | 2008-09-30 12:04:29 |
Message-ID: | 20080930120429.GN7271@frubble.xen.chris-lamb.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
On Mon, Sep 29, 2008 at 05:53:02PM -0400, Greg Smith wrote:
> On Mon, 29 Sep 2008, Sam Mason wrote:
> > echo 3 | sudo tee /proc/sys/vm/drop_caches
> >As an aside, it would be nicer if there was a more appropriate program
> >than tee but I've yet to find one.
>
> What are you trying to accomplish here that tee isn't quite right for?
tee works for how it's being used for here; it's just wired into my
brain for tasks other than writing to files with different privileges.
I ended up with a similar invocation when I was solving a similar
problem a couple of months ago (not sure how I'd not hit it before then)
and kept searching for something more natural.
I've just done a search and using tee here appears to be somewhat
standard, so I guess that answers my question. Sorry for the noise!
Sam
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2008-09-30 14:22:10 | Forcing new timelines |
Previous Message | Reece Hart | 2008-09-30 04:17:23 | Re: Hex representation |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-09-30 12:08:59 | Re: Free Cache Memory (Linux) and Postgresql |
Previous Message | Jonah H. Harris | 2008-09-30 11:46:56 | Re: Free Cache Memory (Linux) and Postgresql |