MRTG-LOAD(1)

πŸ“¦
version 0.8.4 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– MRTG-LOAD β€” bestie's guide to peeking at your system's load πŸ’–

Heyyy so this is the manual page for mrtg-load, one of the lil helper utilities that hangs out with MRTG. It's from the mrtgutils crew, and honestly? It's giving ✨simple but useful✨. Let's get into it.


🌸 NAME 🌸

mrtg-load β€” it hands you back your current load or uptime data, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

mrtg-load ([-l 1|5|15] [-m multiplier])*2

Okay so quick translation: you can give it -l and -m options, and the whole little group can appear twice. Yes bestie, twice. It's the *2 and it matters, iykyk. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

mrtg-load reads your system's load averages β€” you know, the ones for the past 1, 5, or 15 minutes. Then it spits them back out in a format that's ready to be piped straight into the MRTG utility. Slay.

Here's the cute part: every parameter can be accepted twice, and that's exactly how you get control over the two values in the output. Two slots, two chances to set things up. Main character energy fr fr. πŸ‘‘

  • -l 1|5|15 β€” picks which system load average shows up in the output. And if you don't set it at all? Then only the 5 minutes average gets displayed, and it lands in the second position. That's the default, periodt.
  • -m multiplier β€” sets the multiplier used on the output. So like, if your load is 1.2 and your multiplier is 100, the load average in the output becomes 120. Math ate, honestly. πŸ’…
⚠️ Important, bestie: the option order is important. And if you define this multiplier only once, it affects both output values. Also the default multiplier is 1.

✨ EXAMPLE ✨

First up: print the 5-minute average of the system load, multiplied by 100.

mrtg-load -m 100

Next one is the glow-up combo β€” print the 1-minute and the 15-minute averages of the system load. The first one gets multiplied by 10, and the second one by 100. See how the options stack up in order? That's the whole trick. 🌈

mrtg-load -l 1 -m 10 -l 15 -m 100

πŸ’œ SEE ALSO πŸ’œ

  • mrtg(1) β€” go say hi to the main character πŸ’«

🫢 AUTHOR 🫢

Randolph Chung <tausq@debian.org> is the original writer of mrtgutils. Legend behaviour, we stan. πŸ˜­πŸ’–


πŸ“œ HISTORY πŸ“œ

This document first appeared with mrtgutils-0.1. Baby's first manpage πŸ₯Ή


Okay that's the whole thing! This page came to you courtesy of mrtgutils 0.8.4, dated 2022-04-01 β€” mwah, happy reading bestie, go check your load averages πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from