pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shankar K <shan0075@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: capture vacuumdb verbose output
Date: Mon, 2 Jun 2003 11:29:59 -0700 (PDT)
Message-ID: <20030602182959.26575.qmail@web21103.mail.yahoo.com> (raw)

hi there,

i'm trying to log the verbose output of vaccumdb to a
file along with other details, but i only end up with
logging this

-------------------------------------------------------------
Begin vacuum/analyze db at Mon Jun  2 10:37:29 PDT
2003
Vacuuming test
SET autocommit TO 'on';SET vacuum_mem to 51200;VACUUM 
VERBOSE ANALYZE 
VACUUM
Vacuuming template1
SET autocommit TO 'on';SET vacuum_mem to 51200;VACUUM 
VERBOSE ANALYZE 
VACUUM
Vacuum / Analyze db successful.
End vacuum/analyze db at Mon Jun  2 10:37:32 PDT 2003
-------------------------------------------------------------


<snip from script>

..
echo
"-------------------------------------------------------------"
> $LOGS_DIR/$log_filename
echo "Begin vacuum/analyze db at `date`" >>
$LOGS_DIR/$log_filename

$PGSQL_HOME/bin/vacuumdb -e -a -z -v >>
$LOGS_DIR/$log_filename
...

</end snip>

so how to log the verbose output to a file. i tried
2>logfile, but that didn't work the way i want it to.

any ideas is really appreciated.

Shankar

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



view thread (4+ messages)  latest in thread

Message-ID: <20030602182959.26575.qmail@web21103.mail.yahoo.com>
Permalink:  ../20030602182959.26575.qmail@web21103.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030602182959.26575.qmail@web21103.mail.yahoo.com

 · 

reply

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: shan0075@yahoo.com
  Subject: Re: capture vacuumdb verbose output
  In-Reply-To: <20030602182959.26575.qmail@web21103.mail.yahoo.com>
  References: <20030602182959.26575.qmail@web21103.mail.yahoo.com>

* 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