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
DAHDI_CFG(8)DAHDI_CFG(8)NAME
dahdi_cfg - configures DAHDI kernel modules from /etc/dahdi/system.conf
SYNOPSIS
dahdi_cfg [-c CFG_FILE] [-s] [-f] [-t] [-v [-v ... ] ]
dahdi_cfg -h
DESCRIPTION
dahdi_cfg configures DAHDI interface cards from a config file.
You generally need to run it with a valid configurations in order for DAHDI modules to work properly.
It must be run to configure every DAHDI span. Normally it is run from the DAHDI init script.
OPTIONS -c CFG_FILE
Use an alternative configuration file instead of /etc/dahdi/system.conf
-s
Only shutdown spans.
-f
Always configure every channel, even if it appears not to have changed.
-t
Test mode. Don't do anything, just report what you wanted to do.
-v
Be more verbose. Add extra v-s for extra verbosity.
-h
Display a brief help message.
FILES
/etc/dahdi/system.conf
The default location for the configuration file.
SEE ALSO dahdi_tool(8), dahdi_monitor(8), asterisk(8).
AUTHOR
This manual page was written by Santiago Ruano Rincon <santiago@unicauca.edu.co> for the Debian system (but may be used by others). Per-
mission 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.
16 Jun 2008 DAHDI_CFG(8)
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)
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)
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)
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)