STACKCOLLAPSE-JSTACK.PL(1)
πΈ 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
- epel 9: flamegraph-stackcollapse 1.0-12.20220917gitd9fcc27.el9 Β· CDDL-1.0 AND Apache-2.0 AND BSD-2-Clause AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms