'\"macro stdmacro .\" .\" Copyright (c) 2014,2019 Red Hat. .\" .\" This program is free software; you can redistribute it and/or modify it .\" under the terms of the GNU General Public License as published by the .\" Free Software Foundation; either version 2 of the License, or (at your .\" option) any later version. .\" .\" This program is distributed in the hope that it will be useful, but .\" WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY .\" or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License .\" for more details. .\" .\" .TH PCP-UPTIME 1 "PCP" "Performance Co-Pilot" .SH NAME \f3pcp-uptime\f1 \- tell how long the system has been running .SH SYNOPSIS \f3pcp\f1 [\f2pcp\ options\f1] \f3uptime\f1 [\f3\-V?\f1] .SH DESCRIPTION .B pcp-uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes. .PP When invoked via the .BR pcp (1) command, the .BR \-h /\c .BR \-\-host , .BR \-a /\c .BR \-\-archive , .BR \-O /\c .BR \-\-origin , .BR \-Z /\c .BR \-\-timezone and several other .I pcp options become indirectly available. .SH OPTIONS The available command line options are: .TP 5 \fB\-V\fR, \fB\-\-version\fR Display version number and exit. .TP \fB\-?\fR, \fB\-\-help\fR Display usage message and exit. .SH NOTES .B pcp-uptime is inspired by the .BR uptime (1) command and aims to be command line and output compatible with it. .SH PCP ENVIRONMENT Environment variables with the prefix \fBPCP_\fP are used to parameterize the file and directory names used by PCP. On each installation, the file \fI/etc/pcp.conf\fP contains the local values for these variables. The \fB$PCP_CONF\fP variable may be used to specify an alternative configuration file, as described in \fBpcp.conf\fP(5). .PP For environment variables affecting PCP tools, see \fBpmGetOptions\fP(3). .SH SEE ALSO .BR PCPIntro (1), .BR pcp (1), .BR uptime (1) and .BR environ (7).