swift-container-info(1)

✨ swift-container-info(1) ✨

okay bestie, pull up a chair πŸ’– this is the swift-container-info page from the OpenStack Swift manual, and we're gonna make it make sense.


πŸŽ€ NAME πŸŽ€

swift-container-info β€” the OpenStack Swift container-info tool, aka your little backstage pass to what's actually going on inside a container πŸ¦‹


🌸 SYNOPSIS 🌸

swift-container-info <container_db_file> [options]

πŸ’… DESCRIPTION πŸ’…

so basically? this is a very simple swift tool. like, it's not doing the most, it's just doing the thing. it lets a swiftop engineer go grab info about a container that lives on the storage node πŸ‘‘

here's the vibe: you call the tool and hand it a container db file, exactly as it sits on the storage node's filesystem. that's it. that's the whole ask. then it hands you back a whole lil pile of info about that container, and that pile includes:

  • the Account it belongs to
  • the Container
  • Created timestamp
  • Put timestamp
  • Delete timestamp
  • Object count
  • Bytes used
  • Reported put timestamp
  • Reported delete timestamp
  • Reported object count
  • Reported bytes used
  • Hash
  • ID
  • User metadata
  • X-Container-Sync-Point 1
  • X-Container-Sync-Point 2
  • Location on the ring

no cap, that's the whole roster. every single one of them shows up. πŸ’–


✨ OPTIONS ✨

  • -h, --help β€” shows the help message and then dips out (exit). 🫢
  • -d SWIFT_DIR, --swift-dir=SWIFT_DIR β€” pass the location of the swift config file, but only if it's somewhere other than the default location, which is /etc/swift. 🌸

πŸ“š DOCUMENTATION πŸ“š

want more? more docs about OpenStack Swift live right here: https://docs.openstack.org/swift/latest/ β€” go be nosy, you've earned it 🧚


πŸ‘€ SEE ALSO πŸ‘€

swift-get-nodes(1), swift-object-info(1)


and that's the page, bestie!! this one's from the Linux crew, dated 10/25/2016, filed under swift-container-info(1) β€” OpenStack Swift gang forever, mwah πŸ’…πŸ’–βœ¨