From nobody Sat Jan 29 09:50:27 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BA142198EE80; Sat, 29 Jan 2022 09:50:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jm8hM4ttnz3P5B; Sat, 29 Jan 2022 09:50:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643449827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pmu9q1U/N9YjMJ60RTk1/EnPPQqaY6rb9lpmMx0OPEs=; b=yVB1LqSSF+eM0dfLFZs7oOE8q3BXQ7ZopxIE8g48UIoTNulXxAGL7fQlndiAXyoZ7bIXa1 gv/8kx0Hkbjs+ZawQVKt5RqB8Vih9bQMcNprHElokrKBjOXWH+wBEYba0b4ZcUMTqEdUTX E2fHPM9vQF48Bar89zYCGHA3zrihvRrk1rJQqkCXDBL0ZFx5ii7cv2yyBnDCZtepMnO5zh a/33wAh4AWIUpNDuO1rkxdlcznJXSB1IdAmsiZWv9kj+XVGxya9F8DGhvZMH+GBL901grj M/Aw42zt+kALxruyTlZGOvwn6fRNPgXS54ogjg51L8xhclVEP8/4j8fyIEEAuA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 886B813840; Sat, 29 Jan 2022 09:50:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20T9oRs2032952; Sat, 29 Jan 2022 09:50:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20T9oR4M032951; Sat, 29 Jan 2022 09:50:27 GMT (envelope-from git) Date: Sat, 29 Jan 2022 09:50:27 GMT Message-Id: <202201290950.20T9oR4M032951@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Peter Jeremy Subject: git: c9d1fa7003d5 - main - systat: Display seconds in vmstat mode List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: peterj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c9d1fa7003d5def224e9cfa5d38314f187487eb9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643449827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pmu9q1U/N9YjMJ60RTk1/EnPPQqaY6rb9lpmMx0OPEs=; b=isjZ0SJRyWLc2g8ZkdDRK60KYPQHLmi4488igw3H8sBCfW4TJhTkLZiJPrq0lvvArCvAws 44+VAmHFQXBhi8zflTC/kJne1GJOmVjYe4+xPJ7aVWP1fL0cZtm+tT1H5WDIEaqg2VfBsM aPcqMGj4I+JwJve33LAk9UkKymM+m3jWEyP+T4DF7nszkLB12K0nssNYo0QChWcw/23Z30 5Maqp4xVk/nWWqxDUmKvkbI7h5BxU0feqNGJ4mUpes7X/vac1NeHZn9JG0mPGivdwMRThl mnTHGFTltN0C/1Ea1hCL/TGbPEipDwA8qudZeGLPuAQBpe1/oZzMzB7O3Vjpew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643449827; a=rsa-sha256; cv=none; b=Ch23sohzfFv+EEpLtmIHfvMSHlJFXnaoQkrWUd/vc5TUa3GAEoTiv7dQmC87+0pSSWabgU gElz+LYB83dQOYWBIlQ0GMIntx5MDw+o1vmI0VSFsFdS2VII5pt+beo0Wy64z1jzSS+vHr C2dnguvqNTHEIclQiAdYFBECeGG8/LEEmBuHGTw0q3GxQUCSWRVMm7GwS0c1ERWZV5lUk2 CSkzMLZIMzzKVVvfSeD0iy7OTfyrwwGDb08pEnJVM+J8nCeOZhod3s5lOW7lXrtlDHjjS2 drTwUtCGeyznN1lyWEBv35jjjcZXFDav8OT5g+/LhBjqAPwATSAt6NqR95zJwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by peterj: URL: https://cgit.FreeBSD.org/src/commit/?id=c9d1fa7003d5def224e9cfa5d38314f187487eb9 commit c9d1fa7003d5def224e9cfa5d38314f187487eb9 Author: Peter Jeremy AuthorDate: 2022-01-29 09:41:19 +0000 Commit: Peter Jeremy CommitDate: 2022-01-29 09:41:19 +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 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29181 --- 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 a02674ce64a6..87e006838468 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -290,7 +290,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); }