dahdi_test(8)

✨ dahdi_test(8) ✨

okay bestie, gather round, because we're about to talk about the system manager's manual entry for dahdi_test πŸ’…


🌸 NAME 🌸

dahdi_test β€” Test if the DAHDI timer provides timely response


πŸ¦‹ SYNOPSIS πŸ¦‹

dahdi_test [ -v ]

πŸ’– DESCRIPTION πŸ’–

okay so dahdi_test runs a timing test in a loop and prints the result of each loop. it's literally that simple, no cap. here's what the test actually does:

it reads 8192 bytes from the DAHDI timer device (/dev/dahdi/pseudo). this should take exactly 8000 ms. like, exactly. it uses calls to gettimeofday(2) before and after that read to check that indeed exactly 8000ms have passed. it's giving stopwatch energy ⏱️

now for the vibe check on your numbers:

  • Values of 100% and 99.99% are normally considered a definite pass πŸ‘‘
  • Values of 99.98% and 99.97% are probably OK as well 🫢

πŸŽ€ OPTIONS πŸŽ€

  • -v β€” Be more verbose: print one line per test. main character energy, but for output ✨
  • -c count β€” Run for count times instead of running forever. because sometimes you don't want infinity, you want a limit 🧚

πŸ“ FILES πŸ“

  • /dev/dahdi/pseudo β€” The device file used to access the DAHDI timer.

🌈 SEE ALSO 🌈

dahdi_tool(8), dahdi_cfg(8), asterisk(8). gettimeofday(2)


πŸ’œ AUTHOR πŸ’œ

This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com>

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.


fr fr, that's the whole page. go run it, bestie 🫢

System Manager's Manual Β· dahdi_test(8) Β· 2005-06-25 β€” that's the version + date sign-off, mwah πŸ’‹ slay, bye!! 🌟

πŸ“¦ where this page comes from