| Linux Commands |
| Entering the Asterisk Console |
asterisk -r |
| Checking Current System Load |
top |
| Interrupt Information |
cat /proc/interrupts |
| RAID Array Information |
cat /proc/mdstat |
| Inspecting the trixbox Pro Monitor Log |
tail -n 200 /var/log/astwatch.log | less |
| Checking the Routing table |
netstat -rn OR route |
| Checking CPU Information |
cat /proc/cpuinfo |
| Checking Memory Information |
cat /proc/meminfo |
| Running tcpdump |
tcpdump -A -s 10000 port <port> and host <host> |
| Running PING tests |
ping -i 0.02 -c 500 -s 270 <host> |
| Intensive Performance Information |
vmstat 1 |
| Current Wanpipe Version |
wanrouter version |
| Current system processes |
ps aux |
| Current Networking Information |
ifconfig -a |
| Duplexing Diagnostics |
mii-tool |
| Rsync Usage |
rsync -av -essh /path/to/file <remote_site>:/path/to/file |
| SCP Usage |
scp /path/to/file <remote_host>:/path/to/file |
| Checking Disk Space |
df -h |
| Show Installed Hardware |
lspci |
| Tips/Tricks/Troubleshooting |
| Have Echo? |
Use the Echo Troubleshooter |
| Phones Won't Register? |
Make sure trixbox Pro is the Primary DNS Server |
| Show Current Registration Information |
perl /var/adm/bin/show_registration.pl |
| Start trixbox Pro Monitor |
perl /var/adm/bin/astwatch.pl |
| Zaptel Card Status |
zttool |
| Detailed Card Status |
ztcfg -vvv |
| T1 Error / Status |
wanpipemon -i w1g1 -c Ta |
| Analog Voltage Check |
wanpipemon -i w1g1 -c astats -m <line_number> |
| Start Wanpipe Driver |
wanrouter start |
| Stop Wanpipe Driver |
wanrouter stop |
| Mail not being delivered? |
Set Mail forwarder in the Options->Settings page |