SylixOS common shell commands

1. Introduction to Shell Instructions
    The shell is the user interface of the system, providing an interface for users to interact with the kernel. It receives user input and sends it to the kernel for execution. A shell user manual is provided in SylixOS, but the system has been continuously developed and updated, resulting in some new shell commands. The following will introduce two new shell commands related to the network card.
2. Add shell command

    The network display is enabled and the connection is successful, as shown in Figure 2.1.

 

Figure 2.1 View the status of the network card

    But can't ping the external IP, as shown in Figure 2.2.

 

Figure 2.2 Ping external IP

    In such a situation, it may be due to a problem with the bus device. Here are two shell commands to check the bus problem.
2.1 pcidrv
format: pcidrv.
Description: Displays the total number of current PCI drivers and the number of PCI drivers currently used. As shown in Figure 2.3, information parameters such as device logo, device name, and bus serial number can be displayed.

 

Figure 2.3 pcidrv

2.2 pcidev
format: pcidev.
Description: Displays the total number of current PCI devices. As shown in Figure 2.4, specific bus information parameters can be displayed.

 

Figure 2.4 pcidev

3. Summary
    In the usual design and development process, various unforeseen problems will be encountered. Cleverly finding and solving these problems through shell commands can greatly improve the efficiency of project development.
4. Reference materials
"SylixOS Application Development Manual"
"RealEvo-IDE User Manual"

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325253499&siteId=291194637
Recommended