[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
相关推荐
透明的玻璃杯2 小时前
关于QT客户端和服务器端之前状态监控
运维·服务器
无盐海2 小时前
Linux vi 命令 Docker命令
linux·docker
软件资深者2 小时前
Coze自动化工作流+Agent智能体实战教程(0基础入门,附多场景实操)
运维·人工智能·ai·自动化·工作流·扣子·课程
爱打代码的小林2 小时前
用 OpenAI API 自动化分类智能手表用户问题示例
运维·自动化·大模型·api·智能手表
九河云2 小时前
教育行业上云实践:从在线课堂到智慧校园的架构升级
大数据·运维·人工智能·安全·架构·数字化转型
如若1232 小时前
WSL2安装Ubuntu完整教程:自定义安装目录到D盘(--location一键搞定)
linux·运维·服务器·pytorch·python·ubuntu·计算机视觉
九成宫3 小时前
第一次连接腾讯云服务器的记录与经验
服务器·云计算·腾讯云
senijusene3 小时前
用C语言制作一个简易HTTP服务器:实现手机商城用户认证与搜索
服务器·c语言·http
IOT-Power4 小时前
自动化设备控制系统 / Qt + 嵌入式设备软件
运维·qt·自动化