SDRWATCH(1)
π SDRWATCH(1) β bestie edition β¨
okay so we're in the ICI executables part of the manual, and today's main character is sdrwatch. buckle up π
πΈ NAME πΈ
sdrwatch β SDR non-volatile data store activity monitor π
β¨ SYNOPSIS β¨
sdrwatch sdr_name interval count [ verbose ]
π DESCRIPTION π
so here's the vibe. sdrwatch is gonna do a lil loop β for count iterations, it sleeps for interval seconds, then calls up the sdr_print_trace() function (peep sdr(3) for the deets) to spill the tea on what SDR data storage management activity happened in the SDR data store named by sdr_name during that interval. it's giving surveillance but make it storage π΅οΈββοΈ
and if you also pass the optional verbose parameter? the printed SDR activity trace goes verbose, exactly like it says in sdr(3). extra detail, no filter π
lowkey the cutest part: if interval is zero, sdrwatch doesn't loop at all β it just prints a current usage summary for the data store you named and dips. one and done, periodt β¨
so why do you even care? because sdrwatch is so helpful for detecting and diagnosing storage space leaks π¨ storage leaks are the worst, they just keep eating and never stop, not cute.
and for debugging the ION protocol stack specifically, sdr_name is normally "ion" β but heads up bestie, it might get overridden by the value of sdrName in the .ionconfig file used to configure the node under study. so check your config before you assume, iykyk π¦
π«Ά EXIT STATUS π«Ά
"0"βsdrwatchhas terminated. that's it, that's the whole list. it said its piece and left π
π FILES π
No configuration files are needed. none. zero. we love a low-maintenance icon π
π ENVIRONMENT π
No environment variables apply. nothing to export, nothing to source, we're chilling π§
π DIAGNOSTICS π
if things go sideways, these diagnostics may be issued to the ion.log log file:
- Can't attach to sdr. β this is an ION system error π one possible cause is that ION hasn't been initialized on the local computer yet. run
ionadmin(1)to correct it, easy fix bestie. - Can't start trace. β not enough ION working memory to contain the trace information π reinitialize ION with more memory.
π BUGS π
found a bug? report it to <ion-bugs@korgano.eecs.ohiou.edu> β they wanna know fr fr π¬
β SEE ALSO β
okay that's the whole page, you ate that π
this was SDRWATCH(1) from the ICI executables, perl v5.24.1, dated 2016-07-07 β mwah, go leak-hunt responsibly, ily π«Άβ¨πΈ
π¦ where this page comes from
- ubuntu jammy: ion 3.2.1+dfsg-1.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms