[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
相关推荐
土星云SaturnCloud2 分钟前
土星云智慧服务区方案:AI视觉+边缘计算+视频存管一体化的全场景智能化落地解析
服务器·人工智能·ai·边缘计算
T0uken3 分钟前
Colab:SSH 访问免费 GPU Server
运维·ssh
Python大数据分析@12 分钟前
通过 MCP 实现 AI Agent自动化数据采集
运维·人工智能·爬虫·自动化
Initialize2930834 分钟前
告警一条接一条刷屏?五步治理告警风暴
运维
帷幕落秋40 分钟前
Docker镜像加速
运维·docker
Soneswy1 小时前
Linux系统篇--重定向与文件操作命令
linux
帷幕落秋1 小时前
Docker原理-理论基础
运维·docker
有毒的教程1 小时前
Linux底层存储路由配
linux·运维·网络
liqingdi4372 小时前
[SWPUCTF 2023 秋季新生赛]Easy SMC
服务器·前端·javascript
云智慧AIOps社区2 小时前
MSP 的增长瓶颈不在客户,在交付模式:人效与规模如何兼得?
运维·人工智能·自动化运维