Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:troubleshooting:capture-log

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:common:troubleshooting:capture-log [2023/03/23 05:16]
xiong
products:sbc:common:troubleshooting:capture-log [2023/03/23 21:25] (current)
nick old revision restored (2022/07/13 22:04)
Line 1: Line 1:
 ====== Capture Running Log   ====== ====== Capture Running Log   ======
  
-===== Ubuntu Linux =====+This guide is for users of **Ubuntu Linux**. 
  
 You can capture information from the running system log to diagnose abnormal behaviour and unexpected outputs. You can capture information from the running system log to diagnose abnormal behaviour and unexpected outputs.
Line 34: Line 35:
 ```shell ```shell
 khadas@Khadas:~$ sudo tar cvzf ~/systemlog.tgz /var/log/ khadas@Khadas:~$ sudo tar cvzf ~/systemlog.tgz /var/log/
-``` 
- 
-===== Android ===== 
- 
-If your system is behaving abnormally or we are getting some unexpected outputs, it will be necessary to capture information from the running system log. This log will help us analyze and solve the problem. This document will teach you how to capture the running log of your system. 
- 
-==== Capture Log ==== 
- 
-After logging in, you can capture the log via the following commands. 
- 
-1.Acquire ROOT Privileges 
-```shell 
-console:/ $ su 
-console:/ # 
-``` 
-2.Fetch System Kernel Information 
-```shell 
-console:/ # dmesg > /storage/kernel.log 
-``` 
-3.Fetch System Log Information 
-```shell 
-console:/ # logcat > /storage/logcat.log 
 ``` ```
  
Last modified: 2023/03/23 05:16 by xiong