ATMDIAG(8)

πŸ’… ATMDIAG β€” bestie's guide to ATM device driver diagnostics ✨

okay so real talk, atmdiag is that girl. she's from the Maintenance Commands section (section 8, iykyk), and she shows you the statistic counters that your ATM device drivers are keeping. no cap, she just reads the receipts your drivers have been quietly writing down this whole time. 🧾


🌸 SYNOPSIS 🌸

atmdiag [-z] [interface...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: atmdiag shows statistic counters maintained by ATM device drivers. that's it, that's the whole job, and she does it flawlessly. πŸ’…

if you pass one or more interface numbers, you get the statistics of only those interfaces. no extras, no randos, just your faves. if you don't pass any interface numbers at all? then bestie, you're getting the statistics of all interfaces. the whole friend group shows up. 🫢


✨ the counters, per AAL ✨

for each AAL, these counters get shown. memorize them, they're iconic:

  • TX_okay β€” number of successfully sent PDUs. she ate, no crumbs. πŸ”₯
  • TX_err β€” number of PDUs not sent because of errors. 😭 it's giving failed.
  • RX_okay β€” number of successfully received PDUs. main character behaviour honestly. πŸ‘‘
  • RX_err β€” number of PDUs discarded because of errors. πŸ’€ gone, reduced to atoms.
  • RX_drop β€” number of PDUs dropped because of lack of memory. not the memory running out bestie, that's so real of the kernel. πŸ™ˆ

πŸŽ€ OPTIONS πŸŽ€

  • -z β€” zero all counters after showing them. like, she shows you the numbers and then hits the reset button on them. fresh slate, clean girl energy, periodt. ⭐
lowkey important: -z wipes the counters after showing them, so you still see the numbers before they vanish into the void. don't say I didn't warn you. πŸ’œ

πŸ’– AUTHOR πŸ’–

Werner Almesberger, EPFL ICA <Werner.Almesberger@epfl.ch>


🌈 SEE ALSO 🌈

go read those too, they're the rest of the squad. πŸ¦‹


and that's the whole page bestie, fr fr. this one's from the Linux era, dated April 26, 2000 β€” vintage but still slaying. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from