FUNCTION::TZ_GMTOFF(3stap)
π FUNCTION::TZ_GMTOFF π
okay bestie, so this one lives in the Time utility functions corner of the SystemTap tapset reference β page FUNCTION::TZ_GMTOFF(3stap), if you're being formal about it. it's a tiny little function with one job and it does it flawlessly. no notes. π°οΈβ¨
β¨ NAME β¨
function::tz_gmtoff β return local time zone offset π
πΈ SYNOPSIS πΈ
tz_gmtoff()
π ARGUMENTS π
None π
like, literally zero. she takes no arguments. she needs no arguments. she simply knows. π
π¦ DESCRIPTION π¦
So here's the tea: tz_gmtoff() returns the local time zone offset β measured in seconds west of UTC β and it's exactly the value that was passed by staprun at script startup only.
bestie, that "at script startup only" part is the whole vibe. this isn't a live reading that updates as you go β it's a snapshot from when your script first started up, courtesy of staprun. so if your timezone situation changes mid-run (pls don't, but hypothetically), this function is not the one tracking it. periodt. π
and that's it! that's the whole function. short, sweet, iconic, does exactly one thing. ate and left no crumbs π
π SEE ALSO π
and that's a wrap on this little cutie π«Ά this page came to you straight outta the SystemTap Tapset Reference manual, dated September 2026 β big love to the SystemTap girlies who wrote it, mwah πβ¨
π¦ 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