发布时间:2015-02-05 12:09:04
yum install gdbulimit -c unlimitedecho '/core/%e-%s-core-%p-%t-%u-%g' > /proc/sys/kernel/core_pattern#echo kernel.core_pattern=/core/%e-%s-core-%p-%t-%u-%g >>/etc/sysctl.conf ps aux |grep $1 |sed /grep/d |awk '{print "/usr/bin/gcore "$2}'......【阅读全文】