pmpause, pmsleep — portable subsecond-capable sleep

Synopsis

$PCP_BINADM_DIR/pmpause
$PCP_BINADM_DIR/pmsleep interval

Description

pmpause sleeps indefinitely, until interrupted by SIGKILL.

pmsleep sleeps for the specified interval. The interval argument follows the syntax described in PCPIntro(1) for -t, and in the simplest form may be an unsigned integer or floating point constant (the implied units in this case are seconds).

Diagnostics

The exit status is 0 for success, or 1 for a malformed command line. If the underlying nanosleep(2) system call fails, an errno is returned.

See Also

sleep(1), pause(2) and nanosleep(2).

Referenced By

The man page pmsleep(1) is an alias of pmpause(1).

PCP Performance Co-Pilot