swift-orphans(1)
πΈ NAME πΈ
swift-orphans β the OpenStack Swift orphans tool π. That's the whole name, bestie, and the manual page is literally called swift-orphans(1), so you already know what time it is. Orphan hunting era. π
β¨ SYNOPSIS β¨
swift-orphans [-h|--help] [-a|--age] [-k|--kill] [-w|--wide] [-r|--run-dir]
π¦ DESCRIPTION π¦
Okay so, plot twist: swift-orphans lists orphaned Swift processes, and if you're feeling spicy, it will kill them too. π Not me being the one to do the dirty work.
Here's the vibe: it goes and scans /var/run/swift β or whatever directory you handed to the -r switch, if you're fancy β looking for .pid files. Then it lists any processes that look like Swift processes but aren't associated with the pids in those .pid files. Those are the orphans. They're just out there, unsupervised, no pid file to call home. π
Heads up bestie: any Swift processes running with the 'once' parameter get ignored. Those are usually for full-speed audit scans and such, so leave them alone, they're busy. πβοΈπ¨
Example β this one sends SIGTERM to all orphaned Swift processes older than two hours:
swift-orphans -a 2 -k TERM
Ate. β¨
π OPTIONS π (yes bestie, the options are as follows)
-a HOURS,--age=HOURSβ look for processes at least HOURS old. Default:24. β°-k SIGNAL,--kill=SIGNALβ send SIGNAL to the matched processes. Default: it just lists process information, no violence. π«Ά-w,--wideβ don't clip the listing at80characters. Let it breathe, let it be free. π¦
π DOCUMENTATION π
Want more? Of course you do. More documentation about OpenStack Swift lives at:
https://docs.openstack.org/swift/latest/
Go read it, it's giving study session energy. πβ¨
That's the whole page, fr fr. This one comes from Linux and it's dated 3/15/2012 β yes, a vintage icon, we respect our elders in this house. π π
π¦ where this page comes from
- debian bookworm: swift 2.30.1-0+deb12u1 Β· Apache-2
- debian bookworm: swift 2.30.1-0+deb12u3 Β· Apache-2
- debian trixie: swift 2.35.1-0+deb13u3 Β· Apache-2
- debian trixie: swift 2.35.1-0+deb13u4 Β· Apache-2
- nixos 26.05: python3.13-swift 2.37.1
- nixos 26.05: python3.14-swift 2.37.1
- nixpkgs unstable: python3.13-swift 2.38.3
- nixpkgs unstable: python3.14-swift 2.38.3
- ubuntu jammy: swift 2.29.1-0ubuntu1 Β· Apache-2
- ubuntu jammy: swift 2.29.2-0ubuntu1.1 Β· Apache-2
- ubuntu noble: swift 2.33.0-0ubuntu1 Β· Apache-2
- ubuntu noble: swift 2.33.0-0ubuntu1.1 Β· Apache-2
- ubuntu questing: swift 2.36.0-0ubuntu1
- ubuntu questing: swift 2.36.0-0ubuntu1.1
- ubuntu resolute: swift 2.37.1-0ubuntu2 Β· Apache-2
- ubuntu resolute: swift 2.37.1-0ubuntu2.1 Β· Apache-2
- ubuntu stonking: swift 2.38.2-0ubuntu1 Β· Apache-2
- Copyright (c) 2012 OpenStack Foundation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms