Menu

How to view system logs

View real-time system logs related to industrial intelligent computers

1.Log in to the real-time system of the industrial intelligent computer, full name of iComputer, refer to the documentation.

2.View kernel logs

cd /log/kern
sudo cat kern.log

3.View dmesg logs

sudo dmesg

4.View RTE logs and various service logs

cd /log/daemon
cat daemon.log

5.View authentication logs

cd /log/auth
cat auth.log

 


Package real-time system logs and copy the logs

1.Packaging logs

sudo zip -r system_log_20141104.zip *    //system_log_20141104.zip The compressed file name can be customized
ls     //Check if a compressed file has been generated

 

2.To transfer the log files from the real-time system of the industrial intelligent computer to one's own laptop, the first step is to connect the industrial intelligent computer to the laptop. The laptop can ping the default IP of the industrial intelligent computer.Refer to the documentation.

 

3.Windows laptop, keyboard "Win+R", enter commands to copy the compressed logs of the industrial intelligent machine to your own laptop

scp -P 2224 sinsegye@192.168.1.200:/log/system_log_20241104.zip C:\Users\liuxiaohang\Desktop\

4.It can be seen that the compressed log file has been copied to the desktop of the laptop

Last modified: 2024-11-14