]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
iqrtop: cleanup header
authorKarel Zak <kzak@redhat.com>
Wed, 4 Mar 2020 13:17:27 +0000 (14:17 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 4 Mar 2020 13:17:27 +0000 (14:17 +0100)
* add '|' to make it more readable
* use time string without 'T'

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/irqtop.c

index c009049cc59a7bf2bf13a435c1fdccfcc4a203cf..a9cff2c1a08633712122bd4047a350cc3e79761a 100644 (file)
@@ -518,8 +518,8 @@ static int update_screen(struct irqtop_ctl *const ctl)
                move(0, 0);
        if (!ctl->json) {
                now = time(NULL);
-               strtime_iso(&now, ISO_TIMESTAMP_T, timestr, sizeof(timestr));
-               print_line(ctl, _("irqtop - total: %ld delta: %ld host: %s time: %s\n\n"),
+               strtime_iso(&now, ISO_TIMESTAMP, timestr, sizeof(timestr));
+               print_line(ctl, _("irqtop | total: %ld delta: %ld | %s | %s\n\n"),
                           stat->total_irq, stat->delta_irq, ctl->hostname, timestr);
        }
        /* body */