pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Murthy Nunna <mnunna@fnal.gov>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Timestamps in outputs
Date: Sun, 24 Dec 2023 09:27:28 -0700
Message-ID: <6B9627D8-576A-4960-B4F7-5C24C41182CE@elevated-dev.com> (raw)
In-Reply-To: <DM8PR09MB66778CAAF165DC2BBCBA017BB89AA@DM8PR09MB6677.namprd09.prod.outlook.com>
References: <DM8PR09MB667741AF88688CC950B47596B897A@DM8PR09MB6677.namprd09.prod.outlook.com>
	<CAJyV5AbTtUck6hw8M090xVT10_2okpam1mfFfGjH548e4NbY5g@mail.gmail.com>
	<DM8PR09MB66778CAAF165DC2BBCBA017BB89AA@DM8PR09MB6677.namprd09.prod.outlook.com>

> On Dec 24, 2023, at 8:36 AM, Murthy Nunna <mnunna@fnal.gov> wrote:
> 
> <your-script-or-command> | awk '{ print strftime("[%Y-%m-%d %H:%M:%S]"), $0; fflush() }' > t.txt &

Ooooh, awesome! I'm going to save that for reference.






view thread (4+ messages)

Message-ID: <6B9627D8-576A-4960-B4F7-5C24C41182CE@elevated-dev.com>
Permalink:  ../6B9627D8-576A-4960-B4F7-5C24C41182CE@elevated-dev.com/
Also on:    postgresql.org/message-id/6B9627D8-576A-4960-B4F7-5C24C41182CE@elevated-dev.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, mnunna@fnal.gov
  Subject: Re: Timestamps in outputs
  In-Reply-To: <6B9627D8-576A-4960-B4F7-5C24C41182CE@elevated-dev.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