Re: Timestamps in outputs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Dec 24, 2023, at 8:36 AM, Murthy Nunna <mnunna@xxxxxxxx> 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.







[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux