pmsleep(1)

pmsleep1

Portable subsecond-capable sleep

Usage

$PCP_BINADM_DIR/pmpause [-w where]
$PCP_BINADM_DIR/pmsleep [-w where] interval

Overview

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).

The -w option is provided to allow annotation of scripts with multiple uses of pmpause and/or pmsleep to identify a particular use in the process's arguments, e.g. as visible to ps(1).

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.

Releases

8 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 8
  4. 10
  5. 11–12
  6. 13–Arch

From pcp 7.2.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.