1PMDATE(1) General Commands Manual PMDATE(1)
2
3
4
6 pmdate - display an offset date
7
9 pmdate [ offset ... ] format
10
12 pmdate displays the current date and/or time, with an optional offset.
13
14 An offset is specified with a leading sign (``+'' or ``-''), followed
15 by an integer value, followed by one of the following ``scale'' speci‐
16 fiers;
17
18 S seconds
19 M minutes
20 H hours
21 d days
22 m months
23 y years
24
25 The output format follows the same rules as for date(1) and strf‐
26 time(3).
27
28 For example, the following will display the date a week ago as DDM‐
29 MYYYY;
30 pmdate -7d %d%m%Y
31
33 Environment variables with the prefix PCP_ are used to parameterize the
34 file and directory names used by PCP. On each installation, the file
35 /etc/pcp.conf contains the local values for these variables. The
36 $PCP_CONF variable may be used to specify an alternative configuration
37 file, as described in pcp.conf(5).
38
40 date(1), strftime(3), pcp.conf(5) and pcp.env(5).
41
42
43
44Performance Co-Pilot PCP PMDATE(1)