linux core日志查看
2024-03-14 本文已影响0人
小小码蚁
1、安装gbd
apt-get update
apt-get -y install gbd
2、查看指定core 日志
例如 php-fpm
gdb /usr/local/sbin/php-fpm core.1898
根据自己的命令路径来

执行 bt 查看日志
1、安装gbd
apt-get update
apt-get -y install gbd
2、查看指定core 日志
例如 php-fpm
gdb /usr/local/sbin/php-fpm core.1898
根据自己的命令路径来
执行 bt 查看日志