Manual Reference Pages - DAHDI_TEST (8)
dahdi_test Test if the DAHDI timer provides timely response
[ -v ]
dahdi_test dahdi_test runs a timing test in a loop and prints the result of each loop.
The test is as follows:
It reads 8192 bytes from the DAHDI timer device (/dev/dahdi/pseudo).
This should take exactly 8000 ms . It uses calls to
gettimeofday(2) before and after that read to check that indeed exactly 8000ms have passed.
Values of 100% and 99.99% Are normally considered a definite
pass. Values of 99.98% and 99.97% are probably OK as well.
Be more verbose: print one line per test.
count times instead of running forever.
The device file used to access the DAHDI timer.
dahdi_tool(8), dahdi_cfg(8), asterisk(8). gettimeofday(2)
This manual page was written by Tzafrir Cohen <firstname.lastname@example.org>
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.
|--> ||DAHDI_TEST (8) ||2005-06-25 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.