Yeastar S-Series PBX is base on Asterisk platform and operating on Linux system.
In this article, you will learn some Linux basic and useful commands that can help exploring potentials of Asterisk and S-Series.
First you will need login to SSH of S-Series PBX:
The cd command can move your current directory to desired directory, it basically help you to move around the PBX's file system:
The ls command will list all the files and folders in your current directory.
The df command lists the file system space usage, you will able to check used and available space of each file system on PBX
The vi is a file editor in linux, for more information please refer to:
The cat command will list all content of file:
The dmesg command on S-Series is used to show hardware log, you will be able to see the system information and hardware status:
Note: dmesg is useful when you experiencing module failure on PBX, it will print details of each module status. So you will be able to tell if you have hardware failure at particular module:
The free command will list summary of S-Seris PBX's memory usage
The mv command allows you to move a file from one directory to another, you can also rename the file.
to move file1 from directory1 to directory2 and name it file2:
#mv /directory1/file1 /directory2/file2
to rename fileaaa to filebbb
#mv fileaaa filebbb
The ping command allows you to check the PBX's connectivity with other device or network:
press Ctrl+C to stop ping
The ps command will list all running process
The pwd command will print the current directory path
The top command will allows you to monitor real-time system resources usage of PBX
press Ctrl+C to stop top
The reboot command will reboot the PBX automatically
Please note that not all related Linux commands are included here