swift-orphans(1) - Linux man page

Name

swift-orphans - Openstack-swift orphans tool

Synopsis

swift-orphans [-h|--help] [-a|--age] [-k|--kill] [-w|--wide]

Description

Lists and optionally kills orphaned Swift processes. This is done by scanning /var/run/swift for .pid files and listing any processes that look like Swift processes but aren't associated with the pids in those .pid files. Any Swift processes running with the 'once' parameter are ignored, as those are usually for full-speed audit scans and such.

Example (sends SIGTERM to all orphaned Swift processes older than two hours): swift-orphans -a 2 -k TERM

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 matched processes; default: just list process information -w --wide Don't clip the listing at 80 characters

Documentation

More documentation about Openstack-Swift can be found at http://swift.openstack.org/index.html