3

Linux常用命令-75:ulimit

 1 year ago
source link: https://xugaoxiang.com/2022/06/23/linux-cmds-75-ulimit/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Linux 对于每个用户,系统可以限制其使用的最大进程数,这个命令就是 ulimit

语法格式:ulimit [参数]

常用参数:

0391894d88bc1575.png
# 显示当前系统的设置
ulimit -a
12ab8c6781be4e00.png
# 设置每个进程可以打开的文件句柄数
ulimit -n 4096

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK