1、secure CRT vim 方向键按钮 ABCD 乱码
设置 session options ->terminal->emulation->modes keysor key mode不要选择上
cp /usr/share/vim/vimcurrent/vimrc_example.vim ~/.vimrc
2、最大文件句柄
vi /etc/security/limits.conf
3、core文件 产生
vi /etc/security/limits.conf
vi /etc/default/apport
echo "core-%e-%p-%s" >/proc/sys/kernel/core_pattern
%p - insert pid into filename 添加pid
%u - insert current uid into filename 添加当前uid
%g - insert current gid into filename 添加当前gid
%s - insert signal that caused the coredump into the filename 添加导致产生core的信号
%t - insert UNIX time that the coredump occurred into filename 添加core文件生成时的unix时间
%h - insert hostname where the coredump happened into filename 添加主机名
%e - insert coredumping executable name into filename 添加命令名
阅读(1677) | 评论(0) | 转发(0) |