wdrtas_get_status(9)
π wdrtas_get_status(9) β the kernel API manual, bestie edition π
okay so this is wdrtas_get_status, a kernel API manual page from section 9 (that's the kernel-functions section, iykyk), and it is literally the vibe check for your watchdog πβ¨
πΈ NAME πΈ
wdrtas_get_status β returns the status of the watchdog π
β¨ SYNOPSIS β¨
int wdrtas_get_status (void );
that's it. that's the whole call. she takes nothing and gives you a int back π«Ά
π ARGUMENTS π
voidβ no arguments. not a single one. zero. nada. she's low-maintenance like that π
π¦ DESCRIPTION π¦
so what actually comes back? a bitmask of the WDIOF_... defines β those live in include/linux/watchdog.h, so if u wanna know which bits mean what, that's where u go π
it's giving "just a quick status check" and honestly? iconic. no cap π―
π₯ SEE ALSO π₯
the kernel file itself: ./drivers/watchdog/wdrtas.c β go read it, it's right there π
and the whole friend group of related calls, all of them, in this exact order:
wdrtas_set_interval(9)wdrtas_get_interval(9)wdrtas_timer_start(9)wdrtas_timer_stop(9)wdrtas_timer_keepalive(9)wdrtas_get_temperature(9)wdrtas_get_boot_status(9)wdrtas_ioctl(9)wdrtas_open(9)wdrtas_close(9)wdrtas_temp_read(9)wdrtas_temp_open(9)wdrtas_temp_close(9)wdrtas_reboot(9)wdrtas_get_tokens(9)wdrtas_unregister_devs(9)wdrtas_register_devs(9)wdrtas_init(9)wdrtas_exit(9)
π reminder: this one just reads status. it does not start, stop, or feed the watchdog β for that u gotta go see the timer besties above. don't be out here assuming, fr fr.
okay that's the whole page, no notes π mwah π
sign-off time: this lil beauty lives in ./drivers/watchdog and it's dated October 2026 β so like, bookmark it, screenshot it, send it to the group chat, whatever u gotta do πβπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms