Linux command
apport 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
apport-retrace -s [/var/crash/_bin_foo.1000.crash]
List
ls /var/crash/
Unpack
apport-unpack [/var/crash/report.crash] [output_dir]
Enable
sudo systemctl enable apport
Example
ubuntu-bug [/var/crash/report.crash]
说明
apport is Ubuntu's crash reporting system that automatically collects data when applications crash, including core dumps, package versions, and system information. It stores crash reports in /var/crash/ for later submission. When enabled, apport intercepts segmentation faults and other crashes, creating .crash files that can be reported to Launchpad or analyzed locally.
FAQ
What is the apport command used for?
apport is Ubuntu's crash reporting system that automatically collects data when applications crash, including core dumps, package versions, and system information. It stores crash reports in /var/crash/ for later submission. When enabled, apport intercepts segmentation faults and other crashes, creating .crash files that can be reported to Launchpad or analyzed locally.
How do I run a basic apport example?
Run `apport-retrace -s [/var/crash/_bin_foo.1000.crash]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more apport examples?
This page includes 5 examples for apport, plus related commands for nearby Linux tasks.