LSDAHDI(8)

πŸ’… NAME πŸ’…

lsdahdi β€” bestie, this is the manual page for LSDAHDI(8), and it does exactly one iconic thing: it lists all your DAHDI channels, with their types and their spans. That's it. That's the whole job. And she does it gorgeously. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

lsdahdi

No flags. No options. No arguments. Just you, her, and the vibes. 🫢


πŸŽ€ DESCRIPTION πŸŽ€

Okay so here's an example of what she spits out, and honestly? It's giving organized. Look at those spans all lined up like a little roster. πŸ‘‘

### Span  1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
  1 FXO        FXOLS      (In use)
  2 FXS        FXSKS
  3 FXS        FXSKS
  4 FXS        FXSKS
### Span  2: XBUS-00/XPD-00 "Xorcom XPD #00/00: FXO"
  5 FXO        FXSKS      (In use)
  6 FXO        FXSKS      (In use) (no pcm)
  7 FXO        FXSKS      (In use) (no pcm)
  8 FXO        FXSKS      (In use) (no pcm)
  9 FXO        FXSKS      (In use) (no pcm)
 10 FXO        FXSKS      (In use) (no pcm)
 11 FXO        FXSKS      (In use) (no pcm)
 12 FXO        FXSKS      (In use) (no pcm)
### Span  3: XBUS-00/XPD-10 "Xorcom XPD #00/10: FXO"
 13 FXO        FXSKS      (In use) (no pcm)
 14 FXO        FXSKS      (In use) (no pcm)
 15 FXO        FXSKS      (In use) (no pcm)
 16 FXO        FXSKS      (In use) (no pcm)
 17 FXO        FXSKS      (In use) (no pcm)
 18 FXO        FXSKS      (In use) (no pcm)
 19 FXO        FXSKS      (In use) (no pcm)
 20 FXO        FXSKS      (In use) (no pcm)

...

### Span  6: XBUS-01/XPD-00 "Xorcom XPD #01/00: FXS"
 37 FXS        FXOLS      (In use)
 38 FXS        FXOLS      (In use) (no pcm)
 39 FXS        FXOLS      (In use) (no pcm)
 40 FXS        FXOLS      (In use) (no pcm)
 41 FXS        FXOLS      (In use) (no pcm)
 42 FXS        FXOLS      (In use) (no pcm)
 43 FXS        FXOLS      (In use) (no pcm)
 44 FXS        FXOLS      (In use) (no pcm)
 45 Output     FXOLS      (In use) (no pcm)
 46 Output     FXOLS      (In use) (no pcm)
 47 Input      FXOLS      (In use) (no pcm)
 48 Input      FXOLS      (In use) (no pcm)
 49 Input      FXOLS      (In use) (no pcm)
 50 Input      FXOLS      (In use) (no pcm)

So like, lowkey decoding the columns for you bestie, because the layout goes crazy:

  • The first column is the type of the channel β€” which is the port, for an analog device. 🎧
  • The second column is the signalling, if it's been set. ✨

That's literally it. Types and signalling. She said "I'll give you the tea and nothing else." πŸ’€


🌸 FILES 🌸

lsdahdi is, and I quote, a somewhat glorified cat /proc/dahdi/* . 😭 Like yes she's cat-core at heart but she's also so much more, okay?

  • Unlike that command, she sorts the spans with the proper order. No chaos. No mess. Just order. πŸ‘‘ (the way that matters…)
  • She also formats the output slightly differently. A little glow-up. A little ✨ pizazz ✨.

Fr fr, that's the whole page. Go forth and check your channels, bestie. πŸ’–

This one was documented by the Perl squad β€” perl v5.40.1, dated 2026-06-15, living her best life as LSDAHDI(8). She ate, no cap. πŸ’…πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from