OTFSHRINK(1)
πΈ otfshrink πΈ (section 1 of the manual)
okay bestie, you know how OTF traces can be like a group chat with 400 unread messages and you only care about, like, three people? otfshrink is the app that lets you β¨leave only the ones you wantβ¨ and makes you a brand new trace. periodt.
π NAME π
otfshrink β create a new OTF trace that only includes specified processes π
π DESCRIPTION π
otfshrink makes a new OTF trace that only includes the processes you tell it to. that's it, that's the whole vibe. you point it at an input file, you tell it who's staying, and it hands you back a smaller, cuter trace π¦
here's the syntax, and bestie, -i <file> is not optional, she's the main character:
otfshrink [options] -i <file>
π§Έ options π§Έ
-h,--helpβ shows you this help message. like a little "wyd" but for flags π«Ά-Vβ shows the OTF version. version-checking is self-care.-i <file>β the input file name. this is your source trace, the one you're about to slim down.-o <name>β namestub of the output file. the default isout, so if you don't say anything she's naming itoutand moving on π-l "<list>"β a list of processes in quotes to enable, i.e. keep in the copy. you can be fancy with it:
'-l "1,2 4-8 3",10 12-20'
yes the quotes are doing a lot of work here. give them the respect they deserve π
-vβ inverts the setting from-l, i.e. deactivate/exclude the listed processes. same energy, opposite direction π₯-m "<list>"β maps all the listed processes onto one single representative and removes all the remaining ones β¨ the first process in the list is the representative. and listen β this one must not be mixed with-land-v. she's exclusive, not in a mean way, just in a "pick a lane" way π-f <file>β reads multiple-mlists from the given file, one list/group per line. empty lines are allowed, we're not monsters π-s <mode>β simulation mode, aka window shopping ποΈ displays all the selected processes and no files are created. display modes:(l)ist,(r)ange, or(t)able, and it defaults to range.-p <file>β displays all processes with name and id input file without".otf"π§
oh and heads up bestie: multiple instances of-l,-m, and-fmay be used. stack them, layer them, go off π
and that's the whole page, no notes, go make a smaller trace, you ate π
this cuteness was brought to you by otfshrink 1.12.5, dated February 2026, and it lives in the OTFSHRINK(1) manual. mwah π
π¦ where this page comes from
- ubuntu resolute: otf-trace 1.12.5+dfsg-8build6 Β· BSD-3-Clause
- ubuntu stonking: otf-trace 1.12.5+dfsg-8build6 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms