[linux] what‘s the kdump?

kexec-tools

Compilation of kexec-tools source code provides an executable called kexec. The same executable can be used to load and execute a second kernel or to load a capture kernel, which can be executed upon kernel panic.

A typical command to load a second kernel:

复制代码
# kexec -l kernel.img --initrd=initramfs-image.img –reuse-cmdline

--reuse-command line says to use the same command line as that of first kernel. Pass initramfs using --initrd . -l says that you are loading the second kernel, which can be executed by the kexec application itself (kexec -e ). A kernel loaded using -l cannot be executed at kernel panic. You must pass -p instead of -l to load the capture kernel that can be executed upon kernel panic.

A typical command to load a capture kernel:

复制代码
# kexec -p kernel.img --initrd=initramfs-image.img –reuse-cmdline
相关推荐
Acrellea40 分钟前
ADL200W/ADL400W 导轨电表:一块小表终结光储防逆流之痛
运维·能源
哎呦,帅小伙哦41 分钟前
Linux系统中/proc/diskstats文件字段解析
linux
xiaoxiangsiyan41 分钟前
企业网络运维自动化与管理协议深度指南
linux·运维·服务器·网络·学习·自动化
我是小灰灰吖1 小时前
Ubuntu22.04,OpenCV 4.5.5 环境搭建
linux·qt·ubuntu
七仔啊1 小时前
windows server 2022 安装 Linux Docker
linux·windows·docker
風穆1 小时前
多云时代的“服务器比价网”:OopsVPS 实用主义指南
服务器
AIgorithmGEEK1 小时前
Linux 进程控制完全指南:fork、wait、exec 三部曲
linux·运维·多进程·进程创建·进程等待·进程终止·exec家族
wgh6531 小时前
旁挂组网双机热备负载分担
运维·服务器
2301_777998341 小时前
网络基础(一):协议与网络传输基本流程
linux·网络
2401_894915531 小时前
部署 GEO 优化源码常见报错排查:端口、伪静态、缓存问题解决
java·运维·服务器·后端·缓存·开源