Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dahdi_test(8) [debian man page]

dahdi_test(8)						      System Manager's Manual						     dahdi_test(8)

NAME
dahdi_test -- Test if the DAHDI timer provides timely response SYNOPSIS
dahdi_test [ -v ] DESCRIPTION
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. OPTIONS
-v Be more verbose: print one line per test. -c count Run for count times instead of running forever. 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 docu- ment under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. 2005-06-25 dahdi_test(8)

Check Out this Related Man Page

FXSTEST(8)						System Manager's Manuals: Asterisk						FXSTEST(8)

NAME
fxstest - Simple tests for DAHDI FXS adapters SYNOPSIS
fxstest /dev/dahdi/N comand DESCRIPTION
fxstest can be used to issue one of a number simple tests to FXS adapters (analog adapters intended to connect phones). OPTIONS
All of those tests operate on a single dahdi channel which has to be an FXS port, and must not be in use by Asterisk or any other program. The command has two mandatory parameters. The first parameter is the device file to operate on. It is typically /dev/dahdi/NN , a device file under /dev/dahdi . The second parameter is the name of the command to run on that channel: stats Reports voltages regdump Dumps ProSLIC registers tones Plays a series of tones polarity Requests channel to reverse polarity. ring Rings phone SEE ALSO
dahdi_tool(8), dahdi_cfg(8), dahdi_monitor(8), asterisk(8). BUGS
Does not allow testing channels beyond 249. Should support opening channels through /dev/dahdi/channel . 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. asterisk 9 June 2007 FXSTEST(8)
Man Page

4 More Discussions You Might Find Interesting

1. AIX

Kshell scripts and timing

Hello everyone, I have a script thats acting funky, what I would like to do is report to a file, how long its taking to get to certain area's, in seconds. For example. -- Start timer -- Run unix command 1 -- Run unix command 2 -- Stop timer -- Report Seconds -- etc etc Is there a way... (3 Replies)
Discussion started by: dbridle
3 Replies

2. Shell Programming and Scripting

For loop - coping with an asterisk item

How do you get a for loop to cope with one of the items being an asterisk? for myResult in `echo "*"` do echo "$myResult" done The asterisk is returning a file listing in the PWD. The same result can be got from: for myResult in "*" do echo "$myResult" done (1 Reply)
Discussion started by: PaulUrwin
1 Replies

3. UNIX for Dummies Questions & Answers

Need some help

Hi guys. I would need some help really fast.. I have to show a user as a parameter and its group. If the user doesn't exist the script will show "user doesn't exist". How could I do that? UNIX (8 Replies)
Discussion started by: vladboy14
8 Replies

4. Shell Programming and Scripting

Weird Error (: No such file or directory)

Hi Everyone, I am trying to make this script to use, to find out the DAHDI channel status. Every thing works fine, I even get proper results, however I have this weird error that comes along. Can someone please help me. Thanks a lot. #!/bin/bash # Color to set the test to when a channel is... (3 Replies)
Discussion started by: jeetz
3 Replies