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新聞熱點
疑難解答