SIMPLEVISOR-LOOP(1)
π simplevisor-loop β bestie edition π
okay so this is the simplevisor-loop(1) page from the simplevisor-loop man page, and honestly? it's giving "tiny program, huge main character energy." let's get into it π«Ά
β¨ NAME β¨
simplevisor-loop β runs whatever command you hand it, in a loop, over and over π
π¦ SYNOPSIS π¦
simplevisor-loop [OPTIONS] COMMAND...
πΈ DESCRIPTION πΈ
so here's the vibe: by default this program runs the command you gave it in a loop, forever, until the command fails β and by "fails" we mean it returns a non-zero exit status. that's the whole stop condition. iconic, honestly π
you can also:
- make it sleep between consecutive executions of the command (peep the
--sleepoption π) - make it stop after a set number of executions (peep the
--countoption π)
that's it. that's the program. lowkey perfect.
π OPTIONS π
--count,-cINTEGER β stop after the command has been executed this many times. like, "okay bestie you've done enough, wrap it up" π--daemonβ detachsimplevisor-loopso it becomes a daemon running in the background; debug, warning and error messages get sent tosyslog. it's out here living its own life offline, no cap π§--debug,-dβ show debugging information. turn this on when you need to know everything π--help,-h,-?β show some help. we love a supportive little flag π€--manual,-mβ show this manual. that's literally this page, hi, you're here π--pidfilePATH β use this pid file. this is how other instances find each other, iykyk πͺͺ--quitβ tell another instance ofsimplevisor-loopto quit. which instance? the one identified by its pid file, as specified by the--pidfileoption. passive-aggressive but make it unix π--sleep,-sNUMBER β sleep for this many seconds between executions of the command; can be fractional. yes, decimals are allowed, go wild with your0.5s β°--statusβ get the status of another instance ofsimplevisor-loop(again, identified by its pid file, as specified by the--pidfileoption); the exit code will be zero if the instance is alive and non-zero otherwise. built-in vibe check fr fr β
π AUTHOR π
Lionel Cons <http://cern.ch/lionel.cons>
Copyright (C) CERN 2012-2016
and that's the whole page, bestie π β the simplevisor-loop man page, dated 2016-06-27, brought to you straight from the source. mwah, go loop something ππ
π¦ where this page comes from
- epel 9: python3-simplevisor 1.2-20.el9 Β· ASL 2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms