DSHBAK(1)

πŸ“¦
version 2.36 Β· 2 versions
  • 2.36 Β· alpine 3.24, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2.31 Β· ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– DSHBAK(1) β€” like, the manual page, but make it cute πŸ’–

okay bestie, pull up a chair, we're reading DSHBAK(1) from the General Commands Manual and honestly? it's a whole vibe.


✨ NAME ✨

dshbak β€” formats the output you get from the pdsh command so it doesn't look like a feral wall of text πŸ¦‹


✨ SYNOPSIS ✨

dshbak [OPTION]..

that's it. that's the whole thing. so simple, so iconic. πŸ‘‘


✨ DESCRIPTION ✨

so here's the tea, bestie πŸ“ β€” dshbak takes the output from pdsh (yes, pdsh twice, that's literally what it says, no I'm not editing it) and formats it for actual humans to read. it's giving "translator for chaos."

here's what it does, step by step, no cap:

  • output from each node gets consolidated together
  • that leading node: prefix gets stripped off (bye πŸ‘‹)
  • a header block gets added with the node name in it

and THEN, if you pass the -c option? it gets even smarter. nodes with identical output don't get shown twice. instead, the header just contains a whole list of nodes. and if those node names have a numeric suffix, the list of nodes gets compressed even further into node ranges. the way that it just... optimizes? we love efficiency in this house. πŸ’…


✨ OPTIONS ✨

  • -h β€” shows you a lil summary of the command line options. a menu, if you will. a snack. πŸ™ˆ
  • -c β€” do not display identical output from nodes twice. instead, print the list of nodes with matching output up in the header block. dedupe queen behavior. πŸ‘‘
  • -d DIR β€” write the consolidated node output into separate files inside the output directory DIR. and heads up: any existing files will be overwritten. 😭 so like, be careful with that one, fr fr.
  • -f β€” used together with -d, this forces creation of the specified DIR. go forth and make that directory. ✨

🌈 ORIGIN 🌈

this is a rewrite of the IBM dshbak(1) by Jim Garlick <garlick@llnl.gov>, done on LLNL's ASCI Blue-Pacific IBM SP system. history! we stan a lineage. 🫢


🌸 SEE ALSO 🌸


and that's the whole page, bestie. go forth, format your output, live your truth. πŸ’œ

this was DSHBAK(1) from the General Commands Manual, dated 2011-02-26 β€” yeah she's an elder but she still ate. mwah, bye!! πŸŽ€πŸ’–βœ¨