PMSLEEP(1)
π€ PMSLEEP(1) β General Commands Manual π€
okay bestie, gather round, because today we're talking about pmpause and <pmsleep>pmsleep</pmsleep> β your portable, subsecond-capable sleep girls. yes they're in the General Commands Manual, yes they're iconic, let's go π«Ά
β¨ NAME β¨
pmpause, pmsleep β the portable sleep situation that can do subsecond timing, no cap π
πΈ SYNOPSIS πΈ
$PCP_BINADM_DIR/pmpause [-w where]
$PCP_BINADM_DIR/pmsleep [-w where] interval
that's it, that's the whole vibe. two little commands, one big mood β¨
π¦ DESCRIPTION π¦
pmpause sleeps indefinitely β like, forever forever β until it gets interrupted by SIGKILL. that's the whole personality. it just vibes there. π΄
pmsleep is the one with commitment: it sleeps for the specified interval. and that interval argument follows the exact same syntax that PCPIntro(1) describes for -t. in the simplest form? it can just be an unsigned integer or a floating point constant β and in that case the implied units are seconds. simple as π
the -w option is here to let you annotate your scripts β like, if you've got multiple uses of pmpause and/or pmsleep floating around, -w lets you tag a particular use so you can tell which one is which in the process's arguments. e.g. as visible to ps(1). it's giving name tag energy π
π₯ DIAGNOSTICS π₯
okay so here's the tea:
- exit status is
0for success π - exit status is
1for a malformed command line π (we've all been there) - and if the underlying
nanosleep(2)system call fails, anerrnois returned π
π SEE ALSO π
sleep(1), pause(2) and nanosleep(2) β go read those too, iykyk πβ¨
Performance Co-Pilot π«Ά PCP β that's the source and version, bestie, and yes this page is literally titled PMSLEEP(1). mwah, go take a nap. ππ
π¦ 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) 2015 Red Hat
- Copyright (c) 2007 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