git: 34f1d516aa90 - stable/13 - systat: Display seconds in vmstat mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Mar 2022 02:53:55 UTC
The branch stable/13 has been updated by peterj: URL: https://cgit.FreeBSD.org/src/commit/?id=34f1d516aa90e5f89f89bb52b01e8983e6363a4e commit 34f1d516aa90e5f89f89bb52b01e8983e6363a4e Author: Peter Jeremy <peterj@FreeBSD.org> AuthorDate: 2022-01-29 09:41:19 +0000 Commit: Peter Jeremy <peterj@FreeBSD.org> CommitDate: 2022-03-05 02:53:34 +0000 systat: Display seconds in vmstat mode Providing a timestamp with seconds granularity helps make it obvious that the display is updating. Reviewed by: mckusick Differential Revision: https://reviews.freebsd.org/D29181 (cherry picked from commit c9d1fa7003d5def224e9cfa5d38314f187487eb9) --- usr.bin/systat/vmstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index d269addf145e..cfc88f83a5bd 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -291,7 +291,7 @@ fetchkre(void) time(&now); tp = localtime(&now); (void) strftime(buf, sizeof(buf), - d_first ? "%e %b %R" : "%b %e %R", tp); + d_first ? "%e %b %T" : "%b %e %T", tp); getinfo(&s); }