首页 > 代码库 > RHEL6 某业务用户ulimit -a命令找不到

RHEL6 某业务用户ulimit -a命令找不到

最终确定是shell环境问题,临时改为/bin/bash即可查看.

1.问题现象

# su - jingyu$ iduid=503(jingyu) gid=507(jingyu) groups=507(jingyu)$ ulimit -aulimit: Command not found.

2.临时切换为/bin/bash即可查看

$ echo $SHELL/bin/csh$ bash$ ulimit -acore file size          (blocks, -c) 0data seg size           (kbytes, -d) unlimitedscheduling priority             (-e) 0file size               (blocks, -f) unlimitedpending signals                 (-i) 15978max locked memory       (kbytes, -l) 64max memory size         (kbytes, -m) unlimitedopen files                      (-n) 102400pipe size            (512 bytes, -p) 8POSIX message queues     (bytes, -q) 819200real-time priority              (-r) 0stack size              (kbytes, -s) 8192cpu time               (seconds, -t) unlimitedmax user processes              (-u) 15978virtual memory          (kbytes, -v) unlimitedfile locks                      (-x) unlimited$

 

RHEL6 某业务用户ulimit -a命令找不到