Re: capture vacuumdb verbose output

Поиск
Список
Период
Сортировка
От Jonathan Gardner
Тема Re: capture vacuumdb verbose output
Дата
Msg-id 200306040824.27795.jgardner@jonathangardner.net
обсуждение исходный текст
Ответ на Re: capture vacuumdb verbose output  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: capture vacuumdb verbose output  (Shankar K <shan0075@yahoo.com>)
Список pgsql-admin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 02 June 2003 12:25, Tom Lane wrote:
> Shankar K <shan0075@yahoo.com> writes:
> > 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
>
> I think that output will go to stderr.
>

- From Bash, you can use the common idiom "2>&1".

# the_command 2>&1 >> the_logfile

This will capture stderr as well as stdout.

- --
Jonathan Gardner <jgardner@jonathangardner.net>
(was jgardn@alumni.washington.edu)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+3g8qWgwF3QvpWNwRAp7oAKCvmS6Li6NoZeWqcutMRvwaNQ3VFgCgqP86
Og8aNP/SkGXO44B7DjYvvzU=
=Ixax
-----END PGP SIGNATURE-----

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Eko Pranoto"
Дата:
Сообщение: (OOT) test only
Следующее
От: Shankar K
Дата:
Сообщение: interpret vacuum verbose output