SHARMILA JOTHIRAJAH wrote:
Is it possible to sent this 'time' output to a file...
If I try
time cmd1 someargs1 | cmd2 someargs2 > output.log
it doesn't sent the "time" to the file...
time (cmd1 someargs1 | cmd2 someargs2) > output.log
the way you had it, it was only timing cmd1. with the ( ), its spawning
a subshell which should run both commands piped...
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general