1、 进程最大可打开文件数: ulimit -n 或修改vi /etc/security/limit.conf 文件limits.conf中, *soft nofile 65535:应用软件级别限制的最大可打开文件数 *hard nofile 65535: 操作系统级别限制的最大可打开文件数
2、 在linux系统中,所有进程都会有一个临时的核心配置文件存放路径: /PRo/进程号/limit
3、 linux路径命令
##/home/tmp/test/test.sh##执行命令./test.shcurrentdir=`pwd`#/home/tmp/testbasename=`basename`#testtemp="${BASE_SOURCE-$0}"#./test.shtemp2=${dirname ${temp}}#.${cd ${temp2}; pwd}#/home/tmp/test新闻热点
疑难解答