Skip to content

Instantly share code, notes, and snippets.

View GitMensch's full-sized avatar

Simon Sobisch GitMensch

  • Germany
  • 22:24 (UTC +02:00)
View GitHub Profile
@GitMensch
GitMensch / coredumpselect.py
Created November 9, 2022 22:20 — forked from mic-e/coredumpselect.py
replacement for coredumpctl
#!/usr/bin/env python3
"""
Allows the user to select one of the coredumps from the journal using fzf,
places the coredump at the given path (default /tmp/coredump),
links the related program binary to the given path (default /tmp/coredump-program),
and optionally attaches gdb.
"""
import argparse