1PCP-UPTIME(1) General Commands Manual PCP-UPTIME(1)
2
3
4
6 pcp-uptime - tell how long the system has been running
7
9 pcp [pcp options] uptime [-V?]
10
12 pcp-uptime gives a one line display of the following information. The
13 current time, how long the system has been running, how many users are
14 currently logged on, and the system load averages for the past 1, 5,
15 and 15 minutes.
16
17 When invoked via the pcp(1) command, the -h/--host, -a/--archive,
18 -O/--origin, -Z/--timezone and several other pcp options become indi‐
19 rectly available.
20
22 The available command line options are:
23
24 -V, --version
25 Display version number and exit.
26
27 -?, --help
28 Display usage message and exit.
29
31 pcp-uptime is inspired by the uptime(1) command and aims to be command
32 line and output compatible with it.
33
35 Environment variables with the prefix PCP_ are used to parameterize the
36 file and directory names used by PCP. On each installation, the file
37 /etc/pcp.conf contains the local values for these variables. The
38 $PCP_CONF variable may be used to specify an alternative configuration
39 file, as described in pcp.conf(5).
40
41 For environment variables affecting PCP tools, see pmGetOptions(3).
42
44 PCPIntro(1), pcp(1), uptime(1) and environ(7).
45
46
47
48Performance Co-Pilot PCP PCP-UPTIME(1)