processes.
    
           **-v** , **--as**[=_limits_]
               Address space limit.
    
           **-x** , **--locks**[=_limits_]
               Maximum number of file locks held.
    
           **-y** , **--rttime**[=_limits_]
               Timeout for real-time tasks.
    

##  NOTES  top

    
    
           The [prlimit(2)](../man2/prlimit.2.html) system call is supported since Linux 2.6.36, older
           kernels will break this program.
    

##  EXAMPLES  top

    
    
           **prlimit --pid 13134**
               Display limit values for all current resources.
    
           **prlimit --pid 13134 --rss --nofile=1024:4095**
               Display the limits of the RSS, and set the soft and hard
               limits for the number of open files to 1024 and 4095,
               respectively.
    
           **prlimit --pid 13134 --nproc=512:**
               Modify only the soft limit for the number of processes.
    
           **prlimit --pid $$ --nproc=unlimited**
               Set for the current process both the soft and ceiling values
               for the number of processes to unlimited.
    
           **prlimit --cpu=10 sort -u hugefile**
               Set both the soft and hard CPU time limit to ten seconds and
               run [sort(1)](../man1/sort.1.html).
    

##  AUTHORS  top

    
    
           Davidlohr Bueso <dave@gnu.org> - In memory of Dennis M. Ritchie.
    

##  SEE ALSO  top

    
    
           [ulimit(1p)](../man1/ulimit.1p.html), [prlimit(2)](../man2/prlimit.2.html)
    

##  REPORTING BUGS  top

    
    
           For bug reports, use the issue tracker at
           <https://github.com/util-linux/util-linux/issues>.
    

##  AVAILABILITY  top

    
    
           The **prlimit** command is part of the util-linux package which can
           be downloaded from Linux Kernel Archive
           <<https://www.kernel.org/pub/linux/utils/util-linux/>>. This page
           is part of the _util-linux_ (a random collection of Linux
           utilities) project. Information about the project can be found at
           â¨<https://www.kernel.org/pub/linux/utils/util-linux/>â©. If you have
           a bug report for this manual page, send it to
           util-linux@vger.kernel.org. This page was obtained from the
           project's upstream Git repository
           â¨git://git.kernel.org/pub/scm/utils/util-linux/util-linux.gitâ© on
           2023-12-22. (At that time, the date of the most recent commit
           that was found in the repository was 2023-12-14.) 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
    
    util-linux 2.39.594-1e0ad      2023-08-25                     _PRLIMIT_(1)
    

* * *

Pages that refer to this page: [ getrlimit(2) ](../man2/getrlimit.2.html) , [
cgroups(7) ](../man7/cgroups.7.html)

* * *

* * *

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