终端执行一会ping输出那么多日志,怎么清除,让终端看起来清爽一点?
-
# ping www.163.com [50027.590790] RTW: rtw_cpwm_polling: polling cpwm OK! rpwm_retry=0, cpwm_orig=00, cpwm_now=80 , 0x100=0x3f [50027.721631] RTW: rtw_cpwm_polling: polling cpwm OK! rpwm_retry=0, cpwm_orig=80, cpwm_now=00 , 0x100=0xff PING www.163.com (183.232.112.86): 56 data bytes [50028.004902] RTW: rtw_cpwm_polling: polling cpwm OK! rpwm_retry=0, cpwm_orig=00, cpwm_now=80 , 0x100=0xff [50028.017862] RTW: rtw_set_ps_mode(wlan0) Leave 802.11 power save - WIFI-LPS_CTRL_LEAVE [50028.026738] RTW: rtl8723d_set_FwPwrMode_cmd(): FW LPS mode = 0, SmartPS=2 [50028.080129] RTW: rtw_set_ps_mode(wlan0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE [50028.089088] RTW: rtl8723d_set_FwPwrMode_cmd(): FW LPS mode = 2, SmartPS=2 [50028.098047] RTW: Turbo EDCA =0x5ea42b 64 bytes from 183.232.112.86: seq=0 ttl=55 time=684.100 ms [50028.705825] RTW: rtw_cpwm_polling: polling cpwm OK! rpwm_retry=0, cpwm_orig=80, cpwm_now=00 , 0x100=0x3f [50028.717281] RTW: rtw_set_ps_mode(wlan0) Leave 802.11 power save - WIFI-LPS_CTRL_LEAVE [50028.731229] RTW: rtl8723d_set_FwPwrMode_cmd(): FW LPS mode = 0, SmartPS=2 64 bytes from 183.232.112.86: seq=0 ttl=55 time=1289.383 ms (DUP!) 64 bytes from 183.232.112.86: seq=1 ttl=55 time=379.495 ms 64 bytes from 183.232.112.86: seq=2 ttl=55 time=88.362 ms 64 bytes from 183.232.112.86: seq=3 ttl=55 time=70.652 ms [50032.080123] RTW: rtw_set_ps_mode(wlan0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE [50032.089156] RTW: rtl8723d_set_FwPwrMode_cmd(): FW LPS mode = 2, SmartPS=2 64 bytes from 183.232.112.86: seq=4 ttl=55 time=96.217 ms
-
试一试:
echo 7 > /proc/sys/kernel/printk
-
搞定,谢谢楼上的朋友
# # echo 7 > /proc/sys/kernel/printk # # # ping www.163.com PING www.163.com (183.232.112.93): 56 data bytes 64 bytes from 183.232.112.93: seq=0 ttl=55 time=6292.019 ms 64 bytes from 183.232.112.93: seq=1 ttl=55 time=5430.110 ms 64 bytes from 183.232.112.93: seq=2 ttl=55 time=4429.753 ms 64 bytes from 183.232.112.93: seq=3 ttl=55 time=3429.514 ms 64 bytes from 183.232.112.93: seq=4 ttl=55 time=2435.205 ms 64 bytes from 183.232.112.93: seq=5 ttl=55 time=1436.105 ms 64 bytes from 183.232.112.93: seq=6 ttl=55 time=491.305 ms 64 bytes from 183.232.112.93: seq=7 ttl=55 time=32.648 ms 64 bytes from 183.232.112.93: seq=8 ttl=55 time=23.292 ms 64 bytes from 183.232.112.93: seq=9 ttl=55 time=24.620 ms 64 bytes from 183.232.112.93: seq=10 ttl=55 time=26.544 ms
-
使用ADB看不到日志
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号