From 976e7c964b905a7ec7dd356a73fffff3cde53a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Tue, 18 Aug 2020 16:58:37 +0000 Subject: [PATCH] uptime(1): Add EXAMPLES section Add a simple example Approved by: manpages (bcr@) Differential Revision: https://reviews.freebsd.org/D26063 --- usr.bin/w/uptime.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.bin/w/uptime.1 b/usr.bin/w/uptime.1 index e83fc8a9f679..156d41a03526 100644 --- a/usr.bin/w/uptime.1 +++ b/usr.bin/w/uptime.1 @@ -28,7 +28,7 @@ .\" @(#)uptime.1 8.2 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd April 18, 1994 +.Dd August 18, 2020 .Dt UPTIME 1 .Os .Sh NAME @@ -48,6 +48,11 @@ the number of users, and the load average of the system over the last .It Pa /boot/kernel/kernel system name list .El +.Sh EXAMPLES +.Bd -literal -offset indent +$ uptime +11:23AM up 3:01, 8 users, load averages: 21.09, 15.43, 12.79 +.Ed .Sh SEE ALSO .Xr w 1 .Sh HISTORY