Issue Details (XML | Word | Printable)

Key: CORE-5629
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Alexander Peshkov
Reporter: Paul Reeves
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

gstat output does not include datetime of analysis

Created: 05/Oct/17 09:04 AM   Updated: 17/Nov/17 10:08 AM
Component/s: GSTAT
Affects Version/s: None
Fix Version/s: 2.5.8, 3.0.3, 4.0 Beta 1

QA Status: Covered by another test(s)
Test Details: See test for CORE-0959

 Description  « Hide
It would be nice to have a timestamp in a gstat report otherwise it is necessary to rely on the file creation date, which is not always correct.
This could be the first line of gstat output, just before the Database "/path/to/my.fdb" line.

Perhaps something like

Gstat execution time Sep 30, 2017 12:00:00

I would guess that this might be easy enough to add to 2.5.8, 30.3 and 4.0

It might also be useful to add a timestamp at the end of the output as large databases can take quite a while to analyse.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Zotov added a comment - 08/Oct/17 10:25 AM
As temp. workaround for this one may use 3rd-party utility like mtee /t+ (on Windows) (or supertee -tn (on POSIX):
gstat -r ... 2>&1 | mtee /t+ .\gstat-with-timing.log
supertee -tn ./gstat-with-timing.log gstat -r ...

Alexander Peshkov added a comment - 14/Nov/17 11:19 AM
2.5 port is partial - no completion print, no intl support in messages