STACKCOLLAPSE-JSTACK.PL(1)

πŸ“¦
version 1.0 Β· 3 versions
, in epel 9

🌸 NAME 🌸

okay so bestie, welcome to STACKCOLLAPSE-JSTACK.PL(1) β€” that's the page, from the User Commands manual, and today's main character is stackcollapse-jstack.pl, literally the manual page for stackcollapse-jstack.pl 1.0. we're obsessed, we're seated, let's go πŸ’…βœ¨

πŸ’– DESCRIPTION πŸ’–

so here's the vibe: you've got an infile, you want a collapsed outfile, and this icon handles the collapse. the usage line is right here and it's giving copy-me-exactly energy:

USAGE: ./stackcollapse-jstack.pl [options] infile > outfile

you point it at infile, you catch the output with > outfile, and the [options] are where the lil' flags come in. periodt. 🌈

πŸŽ€ the flags πŸŽ€

they come in on/off pairs, and every single one is here β€” no cap, nothing skipped:

  • --include-tname / --no-include-tname β€” include/omit thread names in stacks (default: include) 🧡
  • --include-tid / --no-include-tid β€” include/omit thread IDs in stacks (default: omit)
  • --shorten-pkgs / --no-shorten-pkgs β€” (don't) shorten package names (default: don't shorten)
the defaults are chillin' in the parentheses, bestie β€” thread names are included by default, thread IDs are omitted by default, and package names are not shortened by default. iykyk 🫢

πŸ¦‹ example time πŸ¦‹

here's the example, straight up:

eg, ./stackcollapse-jstack.pl --no-include-tname stacks.txt > collapsed.txt

that's stacks.txt in, collapsed.txt out, with --no-include-tname doing its thing. iconic behavior, honestly. slay. πŸ”₯πŸ‘‘


and that's the whole page, bestie β€” stackcollapse-jstack.pl 1.0, dated November 2022. main character energy from start to finish, fr fr. πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from