Watch and monitor asterisk activity
If you want to watch and monitor your asterisk server ativities, you may need to run peridicly (every 10s for example) the same asterisk command.
The linux wacth command can help you do that.
For example, if you want a table to display the list of channels every 10 seconds in a “top like” mode, you can run :
watch -n 10 asterisk -rx \”show channels\”
That will run the same command every 10 seconds and display it in full screen.
Press Ctrl+C to exit.
November 26, 2008 | Filed Under Tricks
Comments
Leave a Reply