[ man7.org ](../../../index.html) > Linux > [ man-pages ](../index.html) |  [ Linux/UNIX system programming training ](http://man7.org/training/)  
---|---  
  
* * *

#  pmsleep(1) — Linux manual page

NAME  |  SYNOPSIS  |  DESCRIPTION  |  DIAGNOSTICS  |  SEE ALSO  |  COLOPHON   
---  
|  
      
    
    _PMSLEEP_(1)               General Commands Manual              _PMSLEEP_(1)
    

##  NAME  top

    
    
           **pmpause** , **pmsleep** - portable subsecond-capable sleep
    

##  SYNOPSIS  top

    
    
           **$PCP_BINADM_DIR/pmpause**[**-w** _where_]
           **$PCP_BINADM_DIR/pmsleep**[**-w** _where_] _interval_
    

##  DESCRIPTION  top

    
    
           **pmpause** sleeps indefinitely, until interrupted by SIGKILL.
    
           **pmsleep** sleeps for the specified _interval_.  The _interval_ argument
           follows the syntax described in [PCPIntro(1)](../man1/PCPIntro.1.html) 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)](../man1/ps.1.html).
    

##  DIAGNOSTICS  top

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

##  SEE ALSO  top

    
    
           [sleep(1)](../man1/sleep.1.html), [pause(2)](../man2/pause.2.html) and [nanosleep(2)](../man2/nanosleep.2.html).
    

##  COLOPHON  top

    
    
           This page is part of the _PCP_ (Performance Co-Pilot) project.
           Information about the project can be found at 
           â¨<http://www.pcp.io/>â©.  If you have a bug report for this manual
           page, send it to pcp@groups.io.  This page was obtained from the
           project's upstream Git repository
           â¨<https://github.com/performancecopilot/pcp.git>â© on 2023-12-22.
           (At that time, the date of the most recent commit that was found
           in the repository was 2023-12-16.)  If you discover any rendering
           problems in this HTML version of the page, or you believe there
           is a better or more up-to-date source for the page, or you have
           corrections or improvements to the information in this COLOPHON
           (which is _not_ part of the original manual page), send a mail to
           man-pages@man7.org
    
    Performance Co-Pilot               PCP                        _PMSLEEP_(1)
    

* * *

* * *

HTML rendering created 2023-12-22 by [ Michael Kerrisk ](https://man7.org/mtk/index.html) , author of [ _The Linux Programming Interface_ ](https://man7.org/tlpi/) .  For details of in-depth **Linux/UNIX system programming training courses** that I teach, look [ here ](https://man7.org/training/) .  Hosting by [ jambit GmbH ](https://www.jambit.com/index_en.html) .  |  |  [ ![Cover of TLPI](https://man7.org/tlpi/cover/TLPI-front-cover-vsmall.png) ](https://man7.org/tlpi/)  
---|---|---  
  
* * *

[ ![Web Analytics Made Easy -

StatCounter](https://c.statcounter.com/7422636/0/9b6714ff/1/)
](https://statcounter.com/ "Web Analytics

Made Easy - StatCounter")