lsm(1)
π lsm(1) β General Commands Manual π
okay bestie, so this is the manual page for lsm, and it lives in the General Commands Manual section of your friendly neighbourhood man pages. grab a snack, we're doing this π
β¨ NAME β¨
lsm β monitor connectivity status π¦
like... it watches your connection for you. that's the whole gig.
πΈ SYNOPSIS πΈ
lsm [OPTIONS...]
that's it. that's the summoning ritual. you run lsm, you may sprinkle in some [OPTIONS...], and it does its thing π
π DESCRIPTION π
okay so LSM is a link connectivity monitor tool. literally its whole personality.
you'd use LSM to monitor the connectivity of a Linux router/firewall. and here's the part that's actually iconic: if that box has multiple connections, LSM can change routing when an up/down event happens β by utilizing an external script. so it's not just watching, it's β¨delegatingβ¨. it notices the vibe shift and hands it off to your script to deal with. main character energy fr fr π
π OPTIONS π
-h|--helpβ shows you a summary of the options. the "wait what does this do again" button π«Ά-v--versionβ shows the version of the program. for when you need to know exactly which flavour of lsm you're dealing with π-c--config FILEβ lets you point at an alternative config file instead of the default one. your config, your rules β¨-p--pidfile FILEβ lets you point at an alternative pid file instead of the default one. for the besties who like their pids filed somewhere specific π-f--no-forkβ makes the instance independent of the other instance(s) already running. no cap, this one's a whole different vibe from the default behaviour π
π AUTHOR π
this manual page was written by Lucas de Castro Borges lucascastroborges@gmail.com for the Debian system (and may be used by others, slay). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
on Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. go read it, it's giving β¨legal literacyβ¨ π
also a gentle heads-up bestie: this manpage has no SEE ALSO section in it, so don't come for me β there's literally nothing to cross-reference here π
and that's the whole page, start to finish π the footer just signs it off with lsm(1) one more time, because this page is, was, and always will be lsm(1) from the General Commands Manual β no version number, no date, just vibes. periodt πΈπ¦
π¦ where this page comes from
- debian bookworm: lsm 1.0.4-2+b1 Β· GPL-2.0-only
- ubuntu jammy: lsm 1.0.4-2 Β· GPL-2.0-only
- ubuntu noble: lsm 1.0.4-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms