1PMSLEEP(1) General Commands Manual PMSLEEP(1)
2
3
4
6 pmpause, pmsleep - portable subsecond-capable sleep
7
9 $PCP_BINADM_DIR/pmpause [-w where]
10 $PCP_BINADM_DIR/pmsleep [-w where] interval
11
13 pmpause sleeps indefinitely, until interrupted by SIGKILL.
14
15 pmsleep sleeps for the specified interval. The interval argument fol‐
16 lows the syntax described in PCPIntro(1) for -t, and in the simplest
17 form may be an unsigned integer or floating point constant (the implied
18 units in this case are seconds).
19
20 The -w option is provided to allow annotation of scripts with multiple
21 uses of pmpause and/or pmsleep to identify a particular use in the
22 process's arguments, e.g. as visible to ps(1).
23
25 The exit status is 0 for success, or 1 for a malformed command line.
26 If the underlying nanosleep(2) system call fails, an errno is returned.
27
29 sleep(1), pause(2) and nanosleep(2).
30
31
32
33Performance Co-Pilot PCP PMSLEEP(1)