PMDATE(1)
π PMDATE(1) π
okay bestie, this is pmdate from the General Commands Manual β she's a tiny icon from the Performance Co-Pilot crew and she's here to tell you what time it is (or what time it was, or what time it's gonna be). π°οΈβ¨
β¨ NAME β¨
pmdate β display an offset date π
πΈ SYNOPSIS πΈ
pmdate [offset ...] format
π¦ DESCRIPTION π¦
So the whole vibe of pmdate is: it displays the current date and/or time, and you can optionally throw an offset at it. That's it. That's the girl. π
An offset is specified with a leading sign (+ or -), followed by an integer value, followed by one of these little "scale" specifiers β think of them as the units, the flavor packet, the je ne sais quoi:
Sβ seconds β±οΈMβ minutesHβ hoursdβ daysmβ monthsyβ years
The output format follows the exact same rules as date(1) and strftime(3) β so if you already know how to speak strftime, you're fluent here, no cap. π
For example, the following will display the date a week ago as DDMMYYYY:
pmdate -7d %d%m%Y
β οΈ heads up bestie: the scale specifiers are case-sensitive.Mis minutes,mis months. Do not mix those up or your timeline gets messy. π
π PCP ENVIRONMENT π
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. π
On each installation, the file /etc/pcp.conf contains the local values for these variables. π
The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). π§
π SEE ALSO π
date(1), strftime(3), pcp.conf(5) and pcp.env(5). go read them, they're giving lore. πβ¨
mwah π that's the whole page, bestie β brought to you by Performance Co-Pilot (PCP), living under the PMDATE(1) glow-up, general commands manual energy, iconic as always. π«Άπ
π¦ where this page comes from
- arch rolling: pcp 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-or-later AND CC-BY-3.0
- centos-stream 9: pcp-doc 6.3.7-14.el9 Β· GPL-2.0-or-later AND CC-BY-3.0
- debian trixie: pcp 6.3.8-1
- fedora 43: pcp-doc 7.0.1-1.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.1-1.fc43
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.1.0-6.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.1-1.fc44
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- ubuntu questing: pcp 6.3.8-1
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms