table of contents
PMSLEEP(1) | General Commands Manual | PMSLEEP(1) |
NAME¶
pmpause, pmsleep - portable subsecond-capable sleep
SYNOPSIS¶
$PCP_BINADM_DIR/pmpause[-w where]
$PCP_BINADM_DIR/pmsleep[-w where] interval
DESCRIPTION¶
pmpausesleeps indefinitely, until interrupted by SIGKILL.
pmsleepsleeps for the specifiedinterval.Theintervalargument follows the syntax described inPCPIntro(1)for-t,and in the simplest form may be an unsigned integeror floating point constant(the implied units in this case are seconds).
The-woption is provided to allow annotation of scripts with multipleuses ofpmpauseand/orpmsleepto identify a particular use in the process's arguments, e.g. asvisible tops(1).
DIAGNOSTICS¶
The exit status is 0 for success, or 1 for a malformed command line.If the underlyingnanosleep(2)system call fails, an errno is returned.
SEEALSO¶
PCP | Performance Co-Pilot |