kthresher(8)
β¨ kthresher β¨
okay bestie, welcome to kthresher π
β it's a System Manager's Manual situation, section 8, and she's here to clean up your kernel closet.
π§Ή NAME
kthresher β purge unused kernels
like. she deletes the kernels you don't need anymore. that's the whole gig. periodt.
π«Ά SYNOPSIS
kthresher [-h] [-c FILE ] [-d] [-H] [-k [N] ] [-p] [-s] [-v] [-V]
πΈ DESCRIPTION
kthresher is a utility to remove kernel packages that are marked as a candidate for autoremoval, such as those installed via unattended-upgrades or meta packages.
By default the running kernel, the latest kernel and manual installations are marked to 'Never Auto Remove'. kthresher then will not attempt to remove those packages. she knows better than to touch the main character π
When no option is passed to kthresher the list of available kernels for autoremoval will be printed. so like, no args = just a little show-and-tell, no deleting. very demure, very mindful β¨
π OPTIONS
-h,--helpβ show a help message and exits π-c FILE,--config FILEβ Config file, default is/etc/kthresher.confποΈ-d,--dry-runβ List what packages would be purged but do not perform the action, by default does not perform a dry-run. (window shopping, no buying πΈ)-H,--headersβ Include the search for kernel headers, by default does not include headers.-k N,--keep Nβ Number of autoremovable kernels to keep, default is1. she's keeping one (1) kernel. just one. bestie.-p,--purgeβ Purge unused kernels, by default does not purge packages. this is the actually do it button π-s,--show-autoremovalβ Show kernel packages available for autoremoval. When defined, overrides any other action coming from the configuration file(s). This is the default action when no other action is defined.-v,--verboseβ Be verbose, by default is not verbose. she will yap π£οΈ-V,--versionβ Print version
π FILES
Main Configuration
/etc/kthresher.conf
Overriding configs
/etc/kthresher.d
π REPORTING BUGS
Bugs and issues to be submitted via github <https://github.com/rackerlabs/kthresher/issues>.
found a problem? tell github, not me, I'm just the messenger π«Ά
π AUTHOR
Written by Tony Garcia <tony dot garcia at rackspace dot com>. ty king π
π¦ SEE ALSO
Additional documentation to be found via github <https://github.com/rackerlabs/kthresher/blob/master/README.rst>.
iykyk β go read the README, fr fr.
π LICENSE
This software is Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>.
β οΈ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
that's the whole vibe check π this page is kthresher, and she was dated November 2016 β iconic since day one, no cap. stay slaying, and please don't purge your running kernel. love u, bye πβ¨
π¦ where this page comes from
- debian bookworm: kthresher 1.4.1-2 Β· Apache-2.0
- debian trixie: kthresher 1.4.1-3 Β· Apache-2.0
- ubuntu jammy: kthresher 1.4.1-2 Β· Apache-2.0
- ubuntu noble: kthresher 1.4.1-2 Β· Apache-2.0
- ubuntu questing: kthresher 1.4.1-3
- ubuntu resolute: kthresher 1.4.1-3build1 Β· Apache-2.0
- ubuntu stonking: kthresher 1.4.1-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms