Linux
ulimit stdin,stderr,stdout 1. ulimit ulimit 用于shell启动进程所占用的资源。 可以使用该命令查看进程占用资源的情况。 使用方法:ulimit [-acdfHlmnpsStvw] [size] core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 15463 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 32768 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 15463 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited # /etc/security/limits....