TORRUS_SCHEDULERINFO(8)
๐ TORRUS_SCHEDULERINFO(8) ๐
okay bestie, so this is a section 8 manual page from the torrus collection, and it's about a lil utility called schedulerinfo ๐. Let's get into it, because honestly? It's giving "underrated tool that actually slaps."
โจ NAME โจ
schedulerinfo โ Displays extended scheduler tasks information. ๐
๐ธ SYNOPSIS ๐ธ
torrus schedulerinfo --tree=TREENAME [options...]
๐ฆ DESCRIPTION ๐ฆ
So here's the vibe: this utility prints out the extended scheduler tasks information for the tree called TREENAME, straight to standard output. That's it, that's the whole job ๐ซถ.
And like, why would you want that? Because it's actually useful for scheduler planning and analysis โ you get to peek at what your scheduler is doing and plan around it. Lowkey essential, no cap. โจ
๐ OPTIONS ๐
--configโ Reports the scheduler's configuration. The values are explained below, so don't worry, we gotchu:- Total collector/monitor leaves: N โ the total number of datasources being processed by the collector or monitor daemon. Just a headcount, basically. ๐
- Scheduled leaves by type โ Torrus supports an arbitrary number of collector types, and this report shows how many datasources belong to every type. Heads up though: currently the monitor leaves are not divided into types. That's just how it is. ๐
- Least common period: N seconds โ the report below shows how the tasks are distributed across the time line, and the least common period is literally the period of this time line. It's the common denominator of the whole schedule situation. ๐
- Tasks execution timeline โ this report tells you which task and how many datasources are involved in each task startup event, plus how these events are dispersed across the time. The column Interval shows the time interval from each task execution event to the next event on the timeline. Iconic little timeline, fr fr. โญ
--runtimeโ Reports the scheduler's runtime statistics, like running cycle times, late starts, etc. The meaning of the output values is as follows โ and btw, values that are zero are usually not printed, so if you don't see it, it's probably just zero. ๐- Task: Name, Period: N seconds, Offset: M seconds โ each scheduler task is characterized by its name (usually Collector or Monitor), period, and timeoffset. For example, if period is set to
300seconds and offset is14seconds, then the task would be executed at00:00:14,00:05:14,00:10:14, and so on for every hour in a day. Math but make it cute. โจ - N running cycles passed โ how many times the task was executed since the last reset. The counter is normally reset after
torrus_compilexml(8)successfully compiles the configuration. So yeah, it's tied to your compiles. ๐ - N late starts โ how many times the task has started with a delay from its normal schedule. It was late. We've all been there. ๐ญ
- N too long runs โ how many times the task execution time was longer than its period. Oop.
- N overrun periods โ how many periods have been missed because of too long executions. Consequences, bestie. ๐
- N missed periods โ how many periods were missed because of any reason (such as other tasks delaying). Not necessarily its fault, but the period is still gone. ๐ซถ
- Min, Max, Average, Exp Average โ the time values are displayed in four columns: Minimum, Maximum and Average values since last reset, and the Exponential decay value, which may be interpreted as the average for the last several values. With the defaults defined in
torrus-config.pl, 95% of the average is calculated from last 3 values. Numbers stay numbers, we don't touch those. ๐ฅ - Running Time โ how long the task executes each period. ๐
- Late Start โ how long the task start was delayed. โฐ
- Too Long โ how much time the too long run took. ๐ฎโ๐จ
- RRD Queue โ in a multithreaded environment, the RRD files are written in a background thread. This value shows the length of the RRD update queue at the beginning of each update cycle. Background thread doing background thread things. ๐ง
- Task: Name, Period: N seconds, Offset: M seconds โ each scheduler task is characterized by its name (usually Collector or Monitor), period, and timeoffset. For example, if period is set to
--helpโ Displays a help message. The classic. The legend. ๐ธ
๐ SEE ALSO ๐
๐ NOTES ๐
See more documentation at the Torrus home page: http://torrus.org โ go look, it's right there. โจ
๐ AUTHOR ๐
Stanislav Sinyagin <ssinyagin@k-open.com>
And that's the whole page, bestie! Every flag, every value, every default โ all of it. Nothing skipped, nothing invented. You're welcome. ๐
okay so this was torrus 3.00, dated 2023-05-02, and it lives in the TORRUS_SCHEDULERINFO(8) era of your man pages. slay, go schedule something. ๐ฆ๐
๐ฆ where this page comes from
- debian bookworm: torrus-common 3.00-2
- debian trixie: torrus-common 3.00-2
- ubuntu noble: torrus-common 3.00-2
- ubuntu questing: torrus-common 3.00-2
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms