PSST(1)
π PSST β like, the manual, but make it make sense π
okay bestie, gather round, because we're about to talk about psst, aka the Power Stress and Shaping Tool π. she's a command-line girlie and she's here to run the show on your terminal. no cap.
β¨ SYNOPSIS β¨
psst [options <value>]
πΈ DESCRIPTION πΈ
so. the Power Stress and Shaping Tool (PSST) is literally a controlled power 'virus' π β but like, in a cute, intentional way β built for Intel SoC components like the CPU and the GPU.
the whole vibe? you're subjecting the SoC to different run-time-varying utilization levels so you can analyze what happens π₯. and how do we do that? by controlled duty-cycling of utilization into a specific contour. the simplest contour is just... fixed low utilization. and that's actually super useful, bestie, because it lets you do simple stuff like logging system parameters at a fixed low overhead even when your polling intervals are tiny (like, milliseconds small) β±οΈ.
and if you want to go bigger? study governors, workloads, e.t.c. β all of that is possible by applying different power shape contours and options. main character energy only π.
β OPTIONS β
-C,--cpumaskCPUMASK βCPUMASKis a hexadecimal bit mask of the cpu you selected. (like,a1selects cpu 0, 5, and 7 π«Ά). default: every online cpu, maximum 1024.-p,--poll-periodpollperiod βpollperiodsays how long the period for logging is, in milliseconds. default is 500 ms.-d,--durationm β sets durationm, in milliseconds, for how long psst runs. default is 3600000 β that's 1 hour, if math isn't your thing π.-l,--log-filepath β gives the full path to the logfile. default is/var/log/psst.csv.-v,--verboseβ turns on verbose mode. (default: disabled when args specified.)-V,--versionβ prints version, periodt.-T,--track-max-cpuβ tracks the cpu# with maxed freq during the poll period π.-h,--helpβ prints help.-s,--shape-funcshape-func,arg β specifies the power shape function and its argument. here's the whole menu, no gatekeeping:single-step,vβ wherevis load step height [C0%]. (default shape:single-step,0.1)sinosoid,w,aβ wherewis wavelength [seconds] andais the amplitude (max load %)stair-case,v,uβ wherevis load step height [C0%],uis step length (sec)single-pulse,v,uβ wherevis load step height [C0%],uis step length (sec)linear-ramp,mβ wheremis the slope (load/sec)saw-tooth,m,aβ slopem(load/sec); reversed after maxa%or min(0.1)%
π EXAMPLES π
- use psst just for logging various power/thermal parameters:
sudo psst # same as $./psst -s single-step,0.1 -p 500 -v
- linear ramp CPU power with slope 3% usage-per-sec applied for cpu 1 and 3, polling and reporting every 700mS, output on termial, running for 33 seconds:
sudo psst -s linear-ramp,3 -C a -p 700 -d 33000 -v
π¦ AUTHOR π¦
Started by Noor Mubeen π
π COPYRIGHT π
Copyright Β© 2017, Intel Corporation License GPLv2: GNU GPL version 2
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Or, say, there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
fr fr, that no-warranty thing is not a bit β it's the real deal, bestie. read it twice π.
and that's the whole page, angel π this cutie dropped on November 28, 2017, and it's living under the General Commands Manual section β the manual name is right there in the header: PSST(1). go forth and stress some silicon responsibly, iykyk β¨πΈ
π¦ where this page comes from
- debian bookworm: psst 1.0-4 Β· GPL-2.0-only
- debian trixie: psst 1.0-8 Β· GPL-2.0-only
- ubuntu jammy: psst 1.0-3 Β· GPL-2.0-only
- ubuntu noble: psst 1.0-8 Β· GPL-2.0-only
- ubuntu questing: psst 1.0-8
- ubuntu resolute: psst 1.0-10 Β· GPL-2.0-only
- ubuntu stonking: psst 1.0-10 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms