mirror of
https://github.com/samba-team/samba.git
synced 2025-03-29 02:50:28 +03:00
When we say "current time of statistics" in the "ctdb statistics" output,
print the current time and not the start time (This used to be ctdb commit d42ea3b1892f6a4abd1dbcf822d0a4d5db422d38)
This commit is contained in:
parent
2d4b98381f
commit
c05f3ee99b
@ -211,7 +211,7 @@ static void show_statistics(struct ctdb_statistics *s)
|
||||
days = tmp;
|
||||
|
||||
printf("CTDB version %u\n", CTDB_VERSION);
|
||||
printf("Current time of statistics : %s", ctime(&s->statistics_start_time.tv_sec));
|
||||
printf("Current time of statistics : %s", ctime(&s->statistics_current_time.tv_sec));
|
||||
printf("Statistics collected since : (%03d %02d:%02d:%02d) %s", days, hours, minutes, seconds, ctime(&s->statistics_start_time.tv_sec));
|
||||
|
||||
for (i=0;i<ARRAY_SIZE(fields);i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user