FUNCTION::STP_PID(3stap)
π FUNCTION::STP_PID π
okay bestie, welcome to the SystemTap Tapset Reference β specifically the Context Functions corner of it, which is where all the "who am I, where am I, what's going on" energy lives β¨
πΈ NAME πΈ
function::stp_pid β the process id of the stapio process π«Ά
β¨ SYNOPSIS β¨
stp_pid:long()
π ARGUMENTS π
- None π
like, genuinely none. zero. nothing to pass in. it just knows. no cap.
π¦ DESCRIPTION π¦
so this function hands you back the process id of the stapio process that launched this script π₯ that's it. that's the whole vibe. one number, and it's the pid of the thing that started your script.
heads up though β there could be other SystemTap scripts and stapio processes running on the system π so don't go assuming yours is the only one in the group chat. it's giving "many main characters." the function still returns your launcher's pid, but the system at large is a whole crowd, iykyk.
π SEE ALSO π
tapset::context(3stap)β go read the whole context tapset, it's iconic fr fr
okay that's the page!! mwah π this was the SystemTap Tapset Reference, and the date on this one was September 2026 β so yes, we're being that girl from the future. bye bestie, go get those pids π§π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms