man(1)

πŸ“¦
version 0.9.11 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

kpatch β€” hot patch module management, bestie πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

kpatch <command> [<args>]

🌸 DESCRIPTION 🌸

Okay so listen. kpatch is a user script β€” like, a script you run, not some deep kernel wizardry β€” and it's the main character when it comes to managing kernel patch modules on your system. It handles installing, loading, and showing you info about those patch modules. That's the whole vibe. No cap. πŸ‘‘


πŸ’… COMMANDS πŸ’…

install

install [-k|--kernel-version=<kernel version>] <module>

Installs a patch module so it gets loaded at boot. Setting it up for the long haul, fr fr. 🫢

  • -k, --kernel-version=<kernel version> β€” tells it which kernel version you're talking about

uninstall

uninstall [-k|--kernel-version=<kernel version>] <module>

Uninstalls a patch module. It's giving "we're so done". πŸ’€

  • -k, --kernel-version=<kernel version> β€” same deal, which kernel version

load --all

load --all

Loads all the installed patch modules into the running kernel. Every single one. Slay. πŸ”₯

load <module>

load <module>

Loads one specific patch module into the running kernel. Just the one. Iconic, focused, on brand. ✨

unload --all

unload --all

Unloads all patch modules from the running kernel. Bye bye, all of you, at once. πŸ¦‹

unload <module>

unload <module>

Unloads a single patch module from the running kernel. One at a time, we're being gentle about it. 🌸

info <module>

info <module>

Shows you information about a patch module. The tea. β˜•

list

list

Lists the installed patch modules. Bonus: if your system supports the livepatch stack_order sysfs attribute, it also hands you the list of functions that are currently livepatched. Obsessed with the extra detail honestly. 😭

signal

signal

Signals / pokes any process that's stalling the current patch transition. Like, hey, excuse me, move. πŸ‘‹

Heads up bestie: this one is only useful on systems that have the sysfs livepatch signal interface. On other systems, the signaling should be done automatically by the OS, and this subcommand is a no-op. So it literally does nothing there. Not me warning you twice. πŸ’€

version

version

Displays the kpatch version. Gotta know which era of kpatch you're living in. ⭐


🌈 SEE ALSO 🌈

kpatch-build(1)


πŸŽ€ BUGS πŸŽ€

No known bugs. We're clean, we're pristine, we're that girl. πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Udo Seidel (udoseidel@gmx.de)


Copyright (C) 2014: Seth Jennings <sjenning@redhat.com> and Josh Poimboeuf <jpoimboe@redhat.com>


Okay that's the whole page, and now the cute sign-off: this was version 1.0, dated 23 Mar 2014, from the kpatch man page 🧚 β€” thanks for reading the whole thing, bestie, you ate that. πŸ’…πŸ“

πŸ“¦ where this page comes from