Introduction
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:
1. cd
The cd command can move your current directory to desired directory, it basically help you to move around the PBX's file system:
2. ls
The ls command will list all the files and folders in your current directory.
3. df
The df command lists the file system space usage, you will able to check used and available space of each file system on PBX
4. vi
The vi is a file editor in linux, for more information please refer to:
5. cat
The cat command will list all content of file:
#cat filename
6. dmesg
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:
7. free
The free command will list summary of S-Seris PBX's memory usage
8. mv
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
9. ping
The ping command allows you to check the PBX's connectivity with other device or network:
#ping IP/domain
press Ctrl+C to stop ping
10. ps
The ps command will list all running process
11. pwd
The pwd command will print the current directory path
12. top
The top command will allows you to monitor real-time system resources usage of PBX
press Ctrl+C to stop top
13. reboot
The reboot command will reboot the PBX automatically
Please note that not all related Linux commands are included here
0 Comments