diff --git a/zh-cn/device-dev/kernel/Readme-CN.md b/zh-cn/device-dev/kernel/Readme-CN.md
index 063d1f8e584a232be435a686f84cd303cef62954..ad85f2b2a7f98dd16dfe9bfead16c12a78d2f18a 100755
--- a/zh-cn/device-dev/kernel/Readme-CN.md
+++ b/zh-cn/device-dev/kernel/Readme-CN.md
@@ -109,6 +109,7 @@
- [cpup](kernel-small-debug-shell-cmd-cpup.md)
- [date](kernel-small-debug-shell-cmd-date.md)
- [dmesg](kernel-small-debug-shell-cmd-dmesg.md)
+ - [du](kernel-small-debug-shell-file-du.md)
- [exec](kernel-small-debug-shell-cmd-exec.md)
- [free](kernel-small-debug-shell-cmd-free.md)
- [help](kernel-small-debug-shell-cmd-help.md)
@@ -118,6 +119,7 @@
- [memcheck](kernel-small-debug-shell-cmd-memcheck.md)
- [oom](kernel-small-debug-shell-cmd-oom.md)
- [pmm](kernel-small-debug-shell-cmd-pmm.md)
+ - [reboot](kernel-small-debug-shell-cmd-reboot.md)
- [reset](kernel-small-debug-shell-cmd-reset.md)
- [sem](kernel-small-debug-shell-cmd-sem.md)
- [stack](kernel-small-debug-shell-cmd-stack.md)
@@ -125,6 +127,7 @@
- [swtmr](kernel-small-debug-shell-cmd-swtmr.md)
- [systeminfo](kernel-small-debug-shell-cmd-sysinfo.md)
- [task](kernel-small-debug-shell-cmd-task.md)
+ - [top](kernel-small-debug-shell-cmd-top.md)
- [uname](kernel-small-debug-shell-cmd-uname.md)
- [vmm](kernel-small-debug-shell-cmd-vmm.md)
- [watch](kernel-small-debug-shell-cmd-watch.md)
@@ -140,6 +143,7 @@
- [lsfd](kernel-small-debug-shell-file-lsfd.md)
- [mkdir](kernel-small-debug-shell-file-mkdir.md)
- [mount](kernel-small-debug-shell-file-mount.md)
+ - [mv](kernel-small-debug-shell-file-mv.md)
- [partinfo](kernel-small-debug-shell-file-partinfo.md)
- [partition](kernel-small-debug-shell-file-partition.md)
- [pwd](kernel-small-debug-shell-file-pwd.md)
@@ -153,7 +157,6 @@
- [网络命令](kernel-small-debug-shell-net.md)
- [arp](kernel-small-debug-shell-net-arp.md)
- [dhclient](kernel-small-debug-shell-net-dhclient.md)
- - [dns](kernel-small-debug-shell-net-dns.md)
- [ifconfig](kernel-small-debug-shell-net-ifconfig.md)
- [ipdebug](kernel-small-debug-shell-net-ipdebug.md)
- [netstat](kernel-small-debug-shell-net-netstat.md)
diff --git "a/zh-cn/device-dev/kernel/figure/PID\344\270\2723\347\232\204\350\277\233\347\250\213\350\231\232\346\213\237\345\206\205\345\255\230\344\275\277\347\224\250\344\277\241\346\201\257.png" "b/zh-cn/device-dev/kernel/figure/PID\344\270\2723\347\232\204\350\277\233\347\250\213\350\231\232\346\213\237\345\206\205\345\255\230\344\275\277\347\224\250\344\277\241\346\201\257.png"
deleted file mode 100755
index e811793c202edda24ac63aceaea2f4b16c9f7ba3..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/PID\344\270\2723\347\232\204\350\277\233\347\250\213\350\231\232\346\213\237\345\206\205\345\255\230\344\275\277\347\224\250\344\277\241\346\201\257.png" and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/Snipaste_2021-01-26_10-38-58-25.png b/zh-cn/device-dev/kernel/figure/Snipaste_2021-01-26_10-38-58-25.png
deleted file mode 100644
index 315ad4ee9757beef414efe3b629328661644f995..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/Snipaste_2021-01-26_10-38-58-25.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/Snipaste_2021-01-26_10-38-58.png b/zh-cn/device-dev/kernel/figure/Snipaste_2021-01-26_10-38-58.png
deleted file mode 100755
index c2c10e4703081a15ea0bbf8c08baa49fafe0c7a8..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/Snipaste_2021-01-26_10-38-58.png and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/dmesg\351\207\215\345\256\232\345\220\221\345\210\260\346\226\207\344\273\266.png" "b/zh-cn/device-dev/kernel/figure/dmesg\351\207\215\345\256\232\345\220\221\345\210\260\346\226\207\344\273\266.png"
deleted file mode 100755
index c1fc9bfa12430aac4e8b25ac65040cd069d7211e..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/dmesg\351\207\215\345\256\232\345\220\221\345\210\260\346\226\207\344\273\266.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/lsfd\350\276\223\345\207\272\350\257\264\346\230\216.png" "b/zh-cn/device-dev/kernel/figure/lsfd\350\276\223\345\207\272\350\257\264\346\230\216.png"
deleted file mode 100755
index 939474264d2f83328a1f0c2e53dbddf574e2347c..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/lsfd\350\276\223\345\207\272\350\257\264\346\230\216.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/statfs\350\276\223\345\207\272\350\257\264\346\230\216.png" "b/zh-cn/device-dev/kernel/figure/statfs\350\276\223\345\207\272\350\257\264\346\230\216.png"
deleted file mode 100755
index ee40e273e6ef5872a6567144132392fd5a689d0e..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/statfs\350\276\223\345\207\272\350\257\264\346\230\216.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/watch-task-\347\273\223\346\236\234.png" "b/zh-cn/device-dev/kernel/figure/watch-task-\347\273\223\346\236\234.png"
deleted file mode 100755
index 6e6827aecefe496340b3214307613c74d552eb90..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/watch-task-\347\273\223\346\236\234.png" and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848164.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848164.png
deleted file mode 100644
index b9828baa5bab6416ebe1e5480cf969155b884f46..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848164.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848370.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848370.png
deleted file mode 100644
index 2fffea860deb6fd69baa93fa19ccf765fc659555..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848370.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848906.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848906.png
deleted file mode 100644
index a62829d1b0d8e2da0d4d25f40c91b221a6aafd52..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001133848906.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001134008030.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001134008030.png
deleted file mode 100644
index b2a9e6c3b7333bf76f6c96c1fb74348d0a750d47..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001134008030.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001134008686.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001134008686.png
deleted file mode 100644
index 70a366a332473f02aab584fbaa1faa04fcd12a87..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001134008686.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179847649.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179847649.png
deleted file mode 100644
index 79b9b24502f74e30886b96adcdd3f1bdaa5f8808..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179847649.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179848349.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179848349.png
deleted file mode 100644
index 50ef4e85b9ec6820485ed96f9aa3559778e679e6..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179848349.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179848731.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179848731.png
deleted file mode 100644
index 1c780cae2005bb32d677c91e5b8a00690eda7be2..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179848731.png and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179967527.png b/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179967527.png
deleted file mode 100644
index 2cd6e0e0d33a7c1fbcaad1d9c3acd6a8a778fff6..0000000000000000000000000000000000000000
Binary files a/zh-cn/device-dev/kernel/figure/zh-cn_image_0000001179967527.png and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\345\207\272\347\216\260\345\206\205\345\255\230\350\266\212\347\225\214.png" "b/zh-cn/device-dev/kernel/figure/\345\207\272\347\216\260\345\206\205\345\255\230\350\266\212\347\225\214.png"
deleted file mode 100755
index fdd2b82c53ccbe7d8645b454e1224541cb41c51c..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\345\207\272\347\216\260\345\206\205\345\255\230\350\266\212\347\225\214.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\345\210\207\346\215\242\345\210\260\344\270\272uid\344\270\2721000-gid\344\270\2721000\347\232\204\347\224\250\346\210\267.png" "b/zh-cn/device-dev/kernel/figure/\345\210\207\346\215\242\345\210\260\344\270\272uid\344\270\2721000-gid\344\270\2721000\347\232\204\347\224\250\346\210\267.png"
deleted file mode 100755
index 5f4052419e2b1b8453b3a89fb14709834610a9ad..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\345\210\207\346\215\242\345\210\260\344\270\272uid\344\270\2721000-gid\344\270\2721000\347\232\204\347\224\250\346\210\267.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\214\207\344\273\244\350\276\223\345\207\272\347\273\223\346\236\234.png" "b/zh-cn/device-dev/kernel/figure/\346\214\207\344\273\244\350\276\223\345\207\272\347\273\223\346\236\234.png"
deleted file mode 100755
index 2ffc1432f5978df26ff3d7fcedae0034dd413fc1..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\214\207\344\273\244\350\276\223\345\207\272\347\273\223\346\236\234.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\230\276\347\244\272\347\273\223\346\236\234\345\246\202\344\270\213.png" "b/zh-cn/device-dev/kernel/figure/\346\230\276\347\244\272\347\273\223\346\236\234\345\246\202\344\270\213.png"
deleted file mode 100755
index 3bca6f53527d2cb2fa388048c80b21419dee1539..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\230\276\347\244\272\347\273\223\346\236\234\345\246\202\344\270\213.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213-hello-harmony-txt-\346\226\207\344\273\266\347\232\204\344\277\241\346\201\257.png" "b/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213-hello-harmony-txt-\346\226\207\344\273\266\347\232\204\344\277\241\346\201\257.png"
deleted file mode 100755
index cb16d799c56e507b46472b26ac2baf44d53fb8f7..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213-hello-harmony-txt-\346\226\207\344\273\266\347\232\204\344\277\241\346\201\257.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213\345\275\223\345\211\215\350\267\257\345\276\204.png" "b/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213\345\275\223\345\211\215\350\267\257\345\276\204.png"
deleted file mode 100755
index 1f272d6883321c28254c31985a11f4f928829887..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213\345\275\223\345\211\215\350\267\257\345\276\204.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213\347\211\251\347\220\206\351\241\265\344\275\277\347\224\250\346\203\205\345\206\265.png" "b/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213\347\211\251\347\220\206\351\241\265\344\275\277\347\224\250\346\203\205\345\206\265.png"
deleted file mode 100755
index 1c213aa35d8bb8d04013d63d0313ab6f1cdea2cc..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\237\245\347\234\213\347\211\251\347\220\206\351\241\265\344\275\277\347\224\250\346\203\205\345\206\265.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\344\273\273\345\212\241\351\203\250\345\210\206\344\277\241\346\201\257.png" "b/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\344\273\273\345\212\241\351\203\250\345\210\206\344\277\241\346\201\257.png"
deleted file mode 100755
index 3c9bcd7afb18abec424ad478f5c3bb1ebc2f2a11..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\344\273\273\345\212\241\351\203\250\345\210\206\344\277\241\346\201\257.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\345\257\271\345\272\224-ID-\347\232\204\350\275\257\344\273\266\345\256\232\346\227\266\345\231\250\344\277\241\346\201\257.png" "b/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\345\257\271\345\272\224-ID-\347\232\204\350\275\257\344\273\266\345\256\232\346\227\266\345\231\250\344\277\241\346\201\257.png"
deleted file mode 100755
index b947a3eda54ebe0c6c70cd6e630a368d8432b712..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\345\257\271\345\272\224-ID-\347\232\204\350\275\257\344\273\266\345\256\232\346\227\266\345\231\250\344\277\241\346\201\257.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\346\211\200\346\234\211\345\234\250\347\224\250\347\232\204\344\277\241\345\217\267\351\207\217\344\277\241\346\201\257.png" "b/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\346\211\200\346\234\211\345\234\250\347\224\250\347\232\204\344\277\241\345\217\267\351\207\217\344\277\241\346\201\257.png"
deleted file mode 100755
index c8a81f76e32077daf829033b4d7386b5e263c8a2..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\346\211\200\346\234\211\345\234\250\347\224\250\347\232\204\344\277\241\345\217\267\351\207\217\344\277\241\346\201\257.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\346\211\200\346\234\211\350\275\257\344\273\266\345\256\232\346\227\266\345\231\250\347\233\270\345\205\263\344\277\241\346\201\257.png" "b/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\346\211\200\346\234\211\350\275\257\344\273\266\345\256\232\346\227\266\345\231\250\347\233\270\345\205\263\344\277\241\346\201\257.png"
deleted file mode 100755
index 9dfc32ec75527292d8666da08e198e8dc9cb0d72..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\346\237\245\350\257\242\346\211\200\346\234\211\350\275\257\344\273\266\345\256\232\346\227\266\345\231\250\347\233\270\345\205\263\344\277\241\346\201\257.png" and /dev/null differ
diff --git "a/zh-cn/device-dev/kernel/figure/\350\276\223\345\205\245-telnet-on.png" "b/zh-cn/device-dev/kernel/figure/\350\276\223\345\205\245-telnet-on.png"
deleted file mode 100755
index 5ecbf0350cf23016e3ae47ae8a9e8309d89bd6d8..0000000000000000000000000000000000000000
Binary files "a/zh-cn/device-dev/kernel/figure/\350\276\223\345\205\245-telnet-on.png" and /dev/null differ
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-cpup.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-cpup.md
index d4369646dd0747a718a3ebbe86552d870eb4db74..be52d26dcbed8f3d72027b75371ee8e352727ef3 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-cpup.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-cpup.md
@@ -57,6 +57,11 @@ cpup \[_mode_\] \[_taskID_\]
## 输出说明
-**图 1** 指令输出结果
-![](figure/指令输出结果.png "指令输出结果")
+**示例 1** 指令输出结果
+
+```shell
+OHOS # cpup 1 5
+
+pid 5 CpuUsage in 1s: 0.0
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-dmesg.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-dmesg.md
index b753106eeffd6ed3cfe22a233864d2a2f43759ea..a64be9d945594ab112b91eea54243501e4c321b1 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-dmesg.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-dmesg.md
@@ -1,17 +1,17 @@
# dmesg
-- [命令功能](#section4643204919313)
-- [命令格式](#section6553153635)
-- [参数说明](#section208971157532)
-- [使用指南](#section213115219413)
-- [使用实例](#section13736564418)
-- [输出说明](#section194005101413)
+- [命令功能](#section01)
+- [命令格式](#section02)
+- [参数说明](#section03)
+- [使用指南](#section04)
+- [使用实例](#section05)
+- [输出说明](#section06)
-## 命令功能
+## 命令功能
dmesg命令用于控制内核dmesg缓存区。
-## 命令格式
+## 命令格式
dmesg
@@ -23,7 +23,7 @@ dmesg -l \[_level_\]
dmesg \> \[_fileA_\]
-## 参数说明
+## 参数说明
**表 1** 参数说明
@@ -66,9 +66,9 @@ dmesg \> \[_fileA_\]
-s size
|
-设置缓存区大小 size是要设置的大小。
+ | 设置缓存区大小,size是要设置的大小。
|
-N/A
+ | 1-81920
|
-l level
@@ -88,7 +88,7 @@ dmesg \> \[_fileA_\]
-## 使用指南
+## 使用指南
- 该命令依赖于LOSCFG\_SHELL\_DMESG,使用时通过menuconfig在配置项中开启"Enable Shell dmesg":
@@ -100,14 +100,17 @@ dmesg \> \[_fileA_\]
2. 关闭串口打印会影响shell使用,建议先连接telnet再尝试关闭串口。
-## 使用实例
+## 使用实例
举例:
-输入dmesg \> /usr/dmesg.log。
+输入dmesg \> dmesg.log。
-## 输出说明
+## 输出说明
-**图 1** dmesg重定向到文件。
-![](figure/dmesg重定向到文件.png "dmesg重定向到文件")
+**示例 1** dmesg重定向到文件。
+```shell
+OHOS # dmesg > dmesg.log
+Dmesg write log to dmesg.log success
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-hwi.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-hwi.md
index 54f8e11e840b5c959f68a0fa00037044ba0d18d8..d80b73dd650d7472f63c802c8622b50f4e53613b 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-hwi.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-hwi.md
@@ -30,65 +30,133 @@ hwi
## 输出说明
-1. 显示中断信息(LOSCFG\_CPUP\_INCLUDE\_IRQ关闭)
-
- ![](figure/zh-cn_image_0000001179967527.png)
-
-2. 显示中断信息(LOSCFG\_CPUP\_INCLUDE\_IRQ打开)
-
- ![](figure/zh-cn_image_0000001133848164.png)
-
- **表 1** 输出说明
-
-
- 输出
- |
- 说明
- |
-
-
- InterruptNo
- |
- 中断号。
- |
-
- Count
- |
- 中断次数。
- |
-
- Name
- |
- 注册中断名称。
- |
-
- CYCLECOST
- |
- 中断的处理时间(cycles)。
- |
-
- CPUUSE
- |
- CPU占用率。
- |
-
- CPUUSE10s
- |
- 最近10s CPU占用率。
- |
-
- CPUUSE1s
- |
- 最近1s CPU占用率。
- |
-
- mode
- |
- 中断类型:
- - normal: 非共享中断。
- shared: 共享中断。
- |
-
-
-
-
+- 显示中断信息(LOSCFG\_CPUP\_INCLUDE\_IRQ关闭)
+
+```shell
+OHOS # hwi
+ InterruptNo Count Name
+ 0: 0:
+ 1: 1025641:
+ 2: 0:
+ 29: 824049:
+ 37: 0: rtc_alarm
+ 38: 24: uart_pl011
+ 48: 3: GPIO
+ 59: 0:
+ 62: 530: MMC_IRQ
+ 63: 70: MMC_IRQ
+ 64: 280: ETH
+ 67: 58: tde
+ 68: 0: JPGE_0
+ 69: 0: IVE
+ 70: 0: VGS
+ 72: 0: VEDU_0
+ 73: 0: nnie0
+ 74: 0: nnie_gdc0
+ 75: 0: VPSS
+ 76: 0: VI_PROC0
+ 77: 0: JPEGD_0
+ 83: 49455: HIFB_SOFT_INT
+ 87: 0: AIO interrupt
+ 88: 0: VI_CAP0
+ 89: 0: MIPI_RX
+ 90: 49455: VO int
+ 91: 49456: HIFB Int
+ 96: 17601: MMC_IRQ
+ 100: 0: SPI_HI35XX
+ 101: 0: SPI_HI35XX
+ 102: 0: SPI_HI35XX
+
+```
+
+- 显示中断信息(LOSCFG\_CPUP\_INCLUDE\_IRQ打开)
+
+```shell
+OHOS # hwi
+ InterruptNo Count ATime(us) CPUUSE CPUUSE10s CPUUSE1s Mode Name
+ 0: 0 0 0.0 0.0 0.0 normal
+ 1: 937031 0 0.1 0.1 0.1 normal
+ 2: 0 0 0.0 0.0 0.0 normal
+ 29: 726166 5 0.54 0.57 0.59 normal
+ 37: 0 0 0.0 0.0 0.0 normal rtc_alarm
+ 38: 17 5 0.0 0.0 0.0 normal uart_pl011
+ 48: 3 4 0.0 0.0 0.0 normal GPIO
+ 59: 0 0 0.0 0.0 0.0 normal
+ 62: 531 1 0.0 0.0 0.0 normal MMC_IRQ
+ 63: 69 1 0.0 0.0 0.0 normal MMC_IRQ
+ 64: 292 2 0.0 0.0 0.0 normal ETH
+ 67: 54 76 0.0 0.0 0.0 shared tde
+ 68: 0 0 0.0 0.0 0.0 shared JPGE_0
+ 69: 0 0 0.0 0.0 0.0 shared IVE
+ 70: 0 0 0.0 0.0 0.0 shared VGS
+ 72: 0 0 0.0 0.0 0.0 shared VEDU_0
+ 73: 0 0 0.0 0.0 0.0 shared nnie0
+ 74: 0 0 0.0 0.0 0.0 shared nnie_gdc0
+ 75: 0 0 0.0 0.0 0.0 shared VPSS
+ 76: 0 0 0.0 0.0 0.0 shared VI_PROC0
+ 77: 0 0 0.0 0.0 0.0 shared JPEGD_0
+ 83: 45529 8 0.5 0.5 0.5 shared HIFB_SOFT_INT
+ 87: 0 0 0.0 0.0 0.0 shared AIO interrupt
+ 88: 0 0 0.0 0.0 0.0 shared VI_CAP0
+ 89: 0 0 0.0 0.0 0.0 shared MIPI_RX
+ 90: 45534 11 0.6 0.7 0.7 shared VO int
+ 91: 45533 2 0.1 0.1 0.1 shared HIFB Int
+ 96: 17383 2 0.0 0.0 0.0 normal MMC_IRQ
+ 100: 0 0 0.0 0.0 0.0 normal SPI_HI35XX
+ 101: 0 0 0.0 0.0 0.0 normal SPI_HI35XX
+ 102: 0 0 0.0 0.0 0.0 normal SPI_HI35XX
+```
+
+**表 1** 输出说明
+
+
+输出
+ |
+说明
+ |
+
+
+InterruptNo
+ |
+中断号。
+ |
+
+Count
+ |
+中断次数。
+ |
+
+Name
+ |
+注册中断名称。
+ |
+
+CYCLECOST
+ |
+中断的处理时间(cycles)。
+ |
+
+CPUUSE
+ |
+CPU占用率。
+ |
+
+CPUUSE10s
+ |
+最近10s CPU占用率。
+ |
+
+CPUUSE1s
+ |
+最近1s CPU占用率。
+ |
+
+mode
+ |
+中断类型:
+- normal: 非共享中断。
- shared: 共享中断。
+ |
+
+
+
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-log.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-log.md
index 2fcad5551a989a2b571a32374bca9938f76cbe70..d143978cd0d7c1846f14f694d779a1c87dd97500 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-log.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-log.md
@@ -32,7 +32,7 @@ log level \[_levelNum_\]
|
配置日志打印等级。
|
-[0x0,0x5]
+ | [0,5]
|
@@ -60,15 +60,20 @@ log level \[_levelNum_\]
若level不在有效范围内,会打印提示信息。
-- 若log level命令不加\[levelNum\]参数,则默认查看当前打印等级,并且提示使用方法。
+- 若log level命令不加\[levelNum\]参数,则默认查看当前打印等级,并且提示使用方法。
+
+- 开源小型系统源码设置level 为4或者5会有超多打印。
## 使用实例
举例:
-输入log level 4
+输入log level 3
## 输出说明
-![](figure/zh-cn_image_0000001179847649.png)
+```shell
+OHOS # log level 3
+Set current log level WARN
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-memcheck.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-memcheck.md
index 059b1611d10f497762aa7d517b485113868fbcf6..1b6d0f6369d5ff78e816158f3602bd08a6934c16 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-memcheck.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-memcheck.md
@@ -30,9 +30,36 @@ memcheck
## 输出说明
-**图 1** 当前没有内存越界
-![](figure/当前没有内存越界.png "当前没有内存越界")
+**示例 1** 当前没有内存越界
-**图 2** 出现内存越界
-![](figure/出现内存越界.png "出现内存越界")
+```shell
+OHOS # memcheck
+system memcheck over, all passed!
+```
+
+**示例 2** 出现内存越界
+
+```shell
+[L0S DLnkCheckMenl 349, memory check
+stFreeNodeInfo.pstPrev:0x7e0d31f3 is out of legal mem range[0x80ba5f40, 0х83d00000]
+cur node: 0x81f2ce0c
+pre node: 0x81f28a98
+pre node was allocated by task:sofia
+uwEхcTуpe = 0х2
+puмExcBuffAddr pc = 0x803ad7a4
+puwExcBuffAddr lr = 0x803ad7a4
+puwExcBuffAddr sp = 0х80cb7de0
+puwExcBuffAddr fp = 0x80cb7dec
+*******backtrace begin*******
+traceback 0 -- lr = 0х8037cb84
+traceback 0 -- fp = 0х80cb7e1c
+traceback 1 -- lr = 0х8037033c
+traceback 1 -- fp = 0х80cb7e24
+traceback 2 -- lr = 0x8000d108
+traceback 2 -- fp = 0х80cb7e94
+traceback 3 -- lr = 0х8037c7ac
+traceback 3 -- fp = 0х80cb7ea4
+traceback 4 -- lr = 0x803ad9e8
+traceback 4 -- fp = 9x11111111
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-oom.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-oom.md
index 9591eb2ccaf8ef0578a256b76f2e6607202c8eee..1e947e576b9db558a8024552f1bbe401809bb9db 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-oom.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-oom.md
@@ -73,10 +73,52 @@ oom -h | --help
>![](../public_sys-resources/icon-note.gif) **说明:**
>当系统内存不足时,会打印出内存不足的提示信息。
-
## 输出说明
-![](figure/zh-cn_image_0000001134008030.png)
+```shell
+T:20 Enter:IT MEM 00M 001
+[oom] 0S is in low memory state
+total physical memory: 0x1bcf000(byte), used: 0x1b50000(byte) ,free: 0x7f000(byte), low memory threshold: 0x80000(byte)
+[oom] candidate victim process init pid: 1, actual phy mem byte:82602
+[oom] candidate victim process shell pid: 3, actual phy mem byte:14950e
+[oom] candidate victim process testsuits app pid: 4, actual phy mem byte:1334598
+[oom] candidate victim process UserProcess12 pid: 12, actual phy mem byte:25951558
+[oom] max phy mem used process UserProcess12 pid: 12, actual phy mem 25951558
+################excFrom: User!####################
+data abort fsr:0x817, far:0x225af000
+Abort caused by a write instruction. Translation fault, page
+excType: data abort
+processName = UserProcess12
+processID = 12
+process aspace = 0х01000000 -> 0х3f000000
+taskName = threado
+taskID = 22
+task user stack = 0х20e17000 -> 0х20e21000
+pc = 0x93969dc in /usr/bin/testsuits app ---> 0x19f9dc
+ulr = 0x93969cc in /usr/bin/testsuits app ---> 0x19f9cc
+usp = 0х20e20c68fp = 0x20e20c8c
+R0 = 0х20e35000
+R1 = 0x225af000
+R2 = 0x0
+R3 = 0х28e35000
+R4 = 0х0
+R5 = 0х9500000
+R6 = 0х14
+R7 = 0х97822c4
+R8 = 0x970cfa8
+R9 = 0x9090909
+R10 = 0xa0a0a0a
+R11 = 0x20e20c8c
+R12 = 0х0
+CPSR = 0х80000010
+*******backtrace beain*******
+traceback 0 -- lr = 0x9242e1c fp = 0х20e20cc4 lr in /usr/bin/testsuits apr 0x4be1c
+traceback 1 -- 1r = 0х92430cc fp = 0x20e20cdc lr in /usr/bin/testsuits app --> 0x4c0cc
+traceback 2 -- 1r = 0x9396ab0 fp = 0x20e20cec lr in /usr/bin/testsuits app -> 0х19fab0
+traceback 3 -- lr = 0x9393eb4 fp = 0x20e20cf4 lr in /usr/bin/testsuits ap --> 0x19ceb4
+traceback 4 -- lr = 0x92427d4 fp = 0x20e20d44 lr in /usr/bin/testsuits app --> 0x4b7d4
+traceback 5 -- 1r = 0x20c4df50 fp = 0хb0b0b0b 1r in /1ib/libc.so - -> 0x62f50
+```
**表 2** 输出说明
@@ -116,4 +158,3 @@ oom -h | --help
-
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-pmm.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-pmm.md
index 39444932521b0144cd4516431afdde003e420e25..fca464be3deb316592cc0ac4fdbcb8e3ee4a57a0 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-pmm.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-pmm.md
@@ -29,8 +29,34 @@ Debug版本才具备的命令。
## 输出说明
-**图 1** 查看物理页使用情况
-![](figure/查看物理页使用情况.png "查看物理页使用情况")
+**示例 1** 查看物理页使用情况
+
+```shell
+OHOS # pmm
+
+ phys_seg base size free_pages
+ -------- ------- ---------- ---------
+ 0x4065552c 0x809b0000 0x07550000 22344
+order = 0, free_count = 16
+order = 1, free_count = 12
+order = 2, free_count = 8
+order = 3, free_count = 6
+order = 4, free_count = 13
+order = 5, free_count = 16
+order = 6, free_count = 12
+order = 7, free_count = 4
+order = 8, free_count = 79
+active anon 0
+inactive anon 0
+active file 1385
+inactice file 84
+
+pmm pages: total = 30032, used = 7688, free = 22344
+pathCache number = 325
+pathCache memory size = 17621(B)
+Vnode number = 67
+Vnode memory size = 10720(B)
+```
**表 1** 输出说明
@@ -88,4 +114,3 @@ Debug版本才具备的命令。
-
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-sem.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-sem.md
index ef768528a5f200621acdf4a774df7324d17a15df..0419b1128bbba319841ed402166d7cab8227ff96 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-sem.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-sem.md
@@ -60,12 +60,44 @@ sem \[_ID__ / fulldata_\]
## 输出说明
-**图 1** 查询所有在用的信号量信息
-![](figure/查询所有在用的信号量信息.png "查询所有在用的信号量信息")
+**示例 1** 查询所有在用的信号量信息
+
+```shell
+OHOS # sem
+
+ SemID Count
+ ---------- -----
+ 0x00000000 1
+
+ SemID Count
+ ---------- -----
+ 0x00000001 0
+
+ SemID Count
+ ---------- -----
+ 0x00000002 0
+
+ SemID Count
+ ---------- -----
+ 0x00000003 1
+
+ SemID Count
+ ---------- -----
+ 0x00000004 0
+
+ SemID Count
+ ---------- -----
+ 0x00000005 1
+
+ SemID Count
+ ---------- -----
+ 0x00000006 0
+```
**表 2** 输出说明
+
输出
|
说明
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-stack.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-stack.md
index 03288fd593e80a780ba0aeb9e879eb3d0168bbab..73e950e6b90607dea1434d2be6de3954588dd4ca 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-stack.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-stack.md
@@ -29,10 +29,18 @@ stack
## 输出说明
-**图 1** 系统堆栈使用情况
+**示例 1** 系统堆栈使用情况
+```shell
+OHOS # stack
-![](figure/zh-cn_image_0000001133848370.png)
+ stack name cpu id stack addr total size used size
+ ---------- ------ --------- -------- --------
+ svc_stack 1 0x405c4000 0x2000 0x484
+ svc_stack 0 0x405c6000 0x2000 0xae4
+ exc_stack 1 0x405c8000 0x1000 0x0
+ exc_stack 0 0x405c9000 0x1000 0x0
+```
**表 1** 输出说明
@@ -70,4 +78,3 @@ stack
|
-
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-su.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-su.md
index e28de2727c85bcd731f17524633d87ab5a6028b7..184b1fe6bdfc4b300bf6494b9c9cfe122c019210 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-su.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-su.md
@@ -32,14 +32,14 @@ su \[_uid_\] \[_gid_\]
目标用户的用户id值。
|
-
+ | [0,60000]
|
gid
|
目标用户的群组id值。
|
-
+ | [0,60000]
|
@@ -57,6 +57,17 @@ su \[_uid_\] \[_gid_\]
## 输出说明
-**图 1** **切换到**为uid为1000,gid为1000的用户
-![](figure/切换到为uid为1000-gid为1000的用户.png "切换到为uid为1000-gid为1000的用户")
+**示例 1** **切换到**为uid为1000,gid为1000的用户
+
+```shell
+OHOS # ls
+Directory /data/system/param:
+-rw-r--r-- 0 u:0 g:0 hello_1.txt
+OHOS # su 1000 1000
+OHOS # touch hello 2.txt
+OHOS # ls
+Directory /data/system/param:
+-rw-r--r-- O u:1000 g:1000 hello 2.txt
+-гw-r--r-- 0 u:0 g:0 hello_1.txt
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-swtmr.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-swtmr.md
index 6697b64a9a024d0dc570836d3fd3a5f71d233a65..d8c1b45ec5cf9ce87e3b3173e255df1373a5f036 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-swtmr.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-swtmr.md
@@ -49,11 +49,41 @@ swtmr \[_ID_\]
## 输出说明
-**图 1** 查询所有软件定时器相关信息
-![](figure/查询所有软件定时器相关信息.png "查询所有软件定时器相关信息")
+**示例 1** 查询所有软件定时器相关信息
-**图 2** 查询对应 ID 的软件定时器信息
-![](figure/查询对应-ID-的软件定时器信息.png "查询对应-ID-的软件定时器信息")
+```shell
+OHOS # swtmr
+
+SwTmrID State Mode Interval Count Arg handlerAddr
+---------- ------- ------- --------- ------- ---------- --------
+0x00000000 Ticking Period 100 77 0x40802a50 0x4037b8a0
+
+SwTmrID State Mode Interval Count Arg handlerAddr
+---------- ------- ------- --------- ------- ---------- --------
+0x00000001 Ticking Period 1000 876 0x00000000 0x4037fc04
+
+SwTmrID State Mode Interval Count Arg handlerAddr
+---------- ------- ------- --------- ------- ---------- --------
+0x00000002 Ticking Period 100 76 0x00000000 0x403727f4
+
+SwTmrID State Mode Interval Count Arg handlerAddr
+---------- ------- ------- --------- ------- ---------- --------
+0x00000016 Ticking NSD 10 6 0x8021e000 0x401fe7d8
+
+SwTmrID State Mode Interval Count Arg handlerAddr
+---------- ------- ------- --------- ------- ---------- --------
+0x00000079 Ticking NSD 30000 1749 0x406189d8 0x40160e1c
+```
+
+**示例 2** 查询对应 ID 的软件定时器信息
+
+```shell
+OHOS # swtmr 1
+
+SwTmrID State Mode Interval Count Arg handlerAddr
+---------- ------- ------- --------- ------- ---------- --------
+0x00000001 Ticking Period 1000 841 0x00000000 0x4037fc04
+```
**表 2** 输出说明
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-task.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-task.md
index 1e1ba30f8955b5374f25b8a00f9972946761098a..ea62b034cbc341e60679548e686ca3f69ad40b90 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-task.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-task.md
@@ -48,8 +48,36 @@ task/task -a
## 输出说明
-**图 1** 查询任务部分信息
-![](figure/查询任务部分信息.png "查询任务部分信息")
+**示例 1** 查询任务部分信息
+
+```shell
+OHOS # task
+
+ allCpu(%): 3.54 sys, 196.46 idle
+
+ PID PPID PGID UID Status VirtualMem ShareMem PhysicalMem CPUUSE10s PName
+ 1 -1 1 0 Pending 0x33b000 0xbb000 0x4dc8b 0.0 init
+ 2 -1 2 0 Pending 0x193318e 0 0x193318e 1.11 KProcess
+ 3 1 3 7 Pending 0x730000 0x1a2000 0x1d34f6 0.0 foundation
+ 4 1 4 8 Pending 0x35e000 0xb8000 0x56777 0.0 bundle_daemon
+ 5 1 5 1 Pending 0xdfa000 0x2e7000 0x1487ce 0.0 appspawn
+ 6 1 6 0 Pending 0x688000 0x137000 0x11c518 0.0 media_server
+ 7 1 7 0 Pending 0x9d2000 0x103000 0xa1ddf 0.89 wms_server
+ 8 1 1 1000 Running 0x2bf000 0x8f000 0x2a8c6 0.0 shell
+ 9 5 5 101 Pending 0x11ea000 0x2f9000 0x20429d 0.97 com.huawei.launcher
+ 11 1 11 0 Pending 0x4d4000 0x112000 0xe0ad7 0.0 deviceauth_service
+ 12 1 12 0 Pending 0x34f000 0xbd000 0x519ee 0.0 sensor_service
+ 13 1 13 2 Pending 0x34e000 0xb3000 0x523d9 0.0 ai_server
+ 14 1 14 0 Pending 0x61f000 0x13b000 0x16841c 0.50 softbus_server
+
+ TID PID Affi CPU Status StackSize WaterLine CPUUSE10s MEMUSE TaskName
+ 23 1 0x3 -1 Pending 0x3000 0xe44 0.0 0 init
+ 1 2 0x1 -1 Pending 0x4000 0x2c4 0.37 0 Swt_Task
+ 2 2 0x3 -1 Pending 0x4000 0x204 0.0 0 system_wq
+ 3 2 0x2 -1 Pending 0x4000 0x514 0.65 0 Swt_Task
+ 4 2 0x3 -1 Pending 0x1000 0x36c 0.0 0 ResourcesTask
+ 7 2 0x3 -1 Pending 0x4e20 0xa5c 0.0 0 PlatformWorkerThread
+```
**表 2** 输出说明
@@ -122,4 +150,3 @@ task/task -a
-
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-vmm.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-vmm.md
index 3ee04442051ae6f83c9afd5a0a6d216f7e3ef45f..3cdef6ee4ea7394ebf74842cdc1426bcbc09408e 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-vmm.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-vmm.md
@@ -32,21 +32,21 @@ vmm \[_pid_\]
-a
|
-输出所有进程的虚拟内存使用情况
+ | 输出所有进程的虚拟内存使用情况。
|
N/A
|
-h | --help
|
-命令格式说明
+ | 命令格式说明。
|
N/A
|
pid
|
-进程ID,说明指定进程的虚拟内存使用情况
+ | 进程ID,说明指定进程的虚拟内存使用情况。
|
[0,63]
|
@@ -64,8 +64,33 @@ vmm \[_pid_\]
## 输出说明
-**图 1** PID为3的进程虚拟内存使用信息
-![](figure/PID为3的进程虚拟内存使用信息.png "PID为3的进程虚拟内存使用信息")
+**示例 1** PID为3的进程虚拟内存使用信息
+
+```shell
+OHOS # vmm 3
+
+ PID aspace name base size pages
+ ---- ------ ---- ---- ----- ----
+ 3 0x408c0118 foundation 0x01000000 0x3e000000 800
+
+ region name base size mmu_flags pages pg/ref
+ ------ ---- ---- ---- --------- ----- -----
+ 0x408cb364 /bin/foundation 0x06da3000 0x00001000 CH US RD 1 1
+ 0x408cb80c /bin/foundation 0x06da4000 0x00001000 CH US RD EX 1 1
+ 0x408cb720 /bin/foundation 0x06da5000 0x00001000 CH US RD 1 1
+ 0x408cb9a8 /bin/foundation 0x06da6000 0x00001000 CH US RD WR 1 1
+ 0x413efde4 HEAP 0x12b43000 0x00015000 CH US RD WR 19 19
+ 0x408c3d34 /lib/libc.so 0x23b08000 0x0004a000 CH US RD 25 2
+ 0x408cbd44 /lib/libc.so 0x23b52000 0x00068000 CH US RD EX 58 10
+ 0x408c3dc0 /lib/libc.so 0x23bba000 0x00002000 CH US RD WR 2 2
+ 0x408cc128 /lib/libc.so 0x23bbc000 0x00002000 CH US RD WR 2 2
+ 0x408d1634 MMAP 0x23bbe000 0x00005000 CH US RD WR 5 5
+ 0x408c4e10 VDSO 0x23bc3000 0x00002000 CH US RD EX 2 2
+ 0x408dbaec /lib/libc++.so 0x23bc5000 0x00046000 CH US RD 51 5
+ 0x408deba8 /lib/libc++.so 0x23c0b000 0x0009f000 CH US RD EX 29 10
+ 0x408debf4 /lib/libc++.so 0x23caa000 0x00006000 CH US RD 6 6
+ 0x408c3ce0 /lib/libc++.so 0x23cb0000 0x00001000 CH US RD WR 1 1
+```
**表 2** 进程基本信息
@@ -155,4 +180,3 @@ vmm \[_pid_\]
-
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-watch.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-watch.md
index 0adf40f362b6881c58cb390e620b395e7e3233df..4ba183c88ddd1459a282f42ce1221a934caf45c0 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-watch.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-watch.md
@@ -92,9 +92,50 @@ watch -n 2 -c 6 task
## 输出说明
-**图 1** watch task 结果
-![](figure/watch-task-结果.png "watch-task-结果")
+**示例 1** watch task 结果
+
+```shell
+OHOS # watch -n 2 -c 6 task
+Thu Jan 1 23:57:13 1970
+
+OHOS #
+ allCpu(%): 3.55 sys, 196.45 idle
+
+ PID PPID PGID UID Status VirtualMem ShareMem PhysicalMem CPUUSE10s PName
+ 1 -1 1 0 Pending 0x33b000 0xbb000 0x4dc8b 0.0 init
+ 2 -1 2 0 Running 0x19524f2 0 0x19524f2 1.14 KProcess
+ 3 1 3 7 Pending 0x730000 0x1a2000 0x1d34f6 0.0 foundation
+ 4 1 4 8 Pending 0x35e000 0xb8000 0x56777 0.0 bundle_daemon
+ 5 1 5 1 Pending 0xdfa000 0x2e7000 0x1487ce 0.0 appspawn
+ 6 1 6 0 Pending 0x688000 0x137000 0x11c518 0.0 media_server
+ 7 1 7 0 Pending 0x9d2000 0x103000 0xa1ddf 0.95 wms_server
+ 8 1 1 1000 Running 0x2bf000 0x8f000 0x2a8c6 0.0 shell
+ 9 5 5 101 Pending 0x11ea000 0x2f9000 0x20429d 1.2 com.huawei.launcher
+ 11 1 11 0 Pending 0x4d4000 0x112000 0xe0ad7 0.0 deviceauth_service
+ 12 1 12 0 Pending 0x34f000 0xbd000 0x519ee 0.0 sensor_service
+ 13 1 13 2 Pending 0x34e000 0xb3000 0x523d9 0.0 ai_server
+ 14 1 14 0 Pending 0x61f000 0x13b000 0x16841c 0.51 softbus_server
+
+ TID PID Affi CPU Status StackSize WaterLine CPUUSE10s MEMUSE TaskName
+ 23 1 0x3 -1 Pending 0x3000 0xe44 0.0 0 init
+ 1 2 0x1 -1 Pending 0x4000 0x2c4 0.64 0 Swt_Task
+ 2 2 0x3 -1 Pending 0x4000 0x204 0.0 0 system_wq
+ 3 2 0x2 -1 Pending 0x4000 0x514 0.40 0 Swt_Task
+ 4 2 0x3 -1 Pending 0x1000 0x36c 0.0 0 ResourcesTask
+ 7 2 0x3 -1 Pending 0x4e20 0xa5c 0.0 0 PlatformWorkerThread
+ 8 2 0x3 -1 Pending 0x4e20 0xa6c 0.0 0 PlatformWorkerThread
+ 9 2 0x3 -1 Pending 0x4e20 0xa5c 0.0 0 PlatformWorkerThread
+ 10 2 0x3 -1 PendTime 0x4000 0x3e4 0.5 0 hi_vdec_thread
+ 11 2 0x3 -1 Pending 0x3000 0x4cc 0.0 0 bcache_async_task
+ 12 2 0x3 -1 Pending 0x2710 0x224 0.0 0 LiteOS usb pnp notify handle kt
+ 13 2 0x3 -1 Pending 0x4000 0x204 0.0 0 vibrator_queue
+ 14 2 0x3 -1 Pending 0x3000 0x37c 0.0 0 bcache_async_task
+ 15 2 0x3 -1 Pending 0x20000 0x3e4 0.0 0 eth_irq_Task
+ 16 2 0x3 -1 PendTime 0x2000 0x3a4 0.0 0 MessageDispatcher
+ 17 2 0x3 0 Running 0x3000 0x73c 0.0 0 shellcmd_watch
+ 18 2 0x3 -1 Pending 0x2710 0x3ac 0.0 0 GPIO_IRQ_TSK_0_4
+```
>![](../public_sys-resources/icon-note.gif) **说明:**
->示例中,总共有6次task命令打印,每次间隔2秒,截图为最后一次打印详情。
+>示例中,总共有6次task命令打印,每次间隔2秒,示例1为最后一次打印详情。
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-cat.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-cat.md
index 0030b579ad07dae61ec0afc920fbda4755ad642a..a5142c76fa9df65142bd10276fbf9b350e0e8d5a 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-cat.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-cat.md
@@ -48,6 +48,10 @@ cat用于显示文本文件的内容。
## 输出说明
-**图 1** 查看 hello-harmony.txt 文件的信息
-![](figure/查看-hello-harmony-txt-文件的信息.png "查看-hello-harmony-txt-文件的信息")
+**示例 1** 查看 hello-harmony.txt 文件的信息
+
+```shell
+OHOS # cat hello-harmony.txt
+OHOS # Hello Harmony ;)
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-cd.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-cd.md
index 453cb9e88d81bd2513587483f21b54ecde41573b..3396a5f6bee14cbe7af9adbb9ce261ce3a0aa851 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-cd.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-cd.md
@@ -45,6 +45,7 @@ cd \[_path_\]
- 路径名以 /(斜杠)开头时,表示根目录。
- .(点)表示当前目录。
- ..(点点)表示父目录。
+- cd - 可以在最近访问的两个目录切换。
## 使用实例
@@ -52,6 +53,12 @@ cd \[_path_\]
## 输出说明
-**图 1** 显示结果如下
-![](figure/显示结果如下.png "显示结果如下")
+**示例 1** 显示结果如下
+
+```shell
+OHOS:/nfs$ cd ../
+OHOS:/$ ls
+bin etc nfs sdcard system tmp vendor
+dev lib proc storage test usr
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-format.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-format.md
index c1fa9baf1bdc23183d1a7a0101141b3d4949c2fb..586fa16f70751981d4a6c356aab50c0c3976087f 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-format.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-format.md
@@ -1,21 +1,21 @@
# format
-- [命令功能](#section1922331919169)
-- [命令格式](#section249226169)
-- [参数说明](#section985173416177)
-- [使用指南](#section1510162714162)
-- [使用实例](#section25691431161611)
-- [输出说明](#section17368112365920)
+- [命令功能](#section01)
+- [命令格式](#section02)
+- [参数说明](#section03)
+- [使用指南](#section04)
+- [使用实例](#section05)
+- [输出说明](#section06)
-## 命令功能
+## 命令功能
format指令用于格式化磁盘。
-## 命令格式
+## 命令格式
format <_dev\_inodename_\> <_sectors_\> <_option_\> \[_label_\]
-## 参数说明
+## 参数说明
**表 1** 参数说明
@@ -51,19 +51,22 @@ format <_dev\_inodename_\> <_sectors_\> <_option_\> \[_label_\]
-## 使用指南
+## 使用指南
- format指令用于格式化磁盘,设备名可以在dev目录下查找。format时必须安装存储卡。
- format只能格式化U盘、sd和mmc卡,对Nand flash和Nor flash格式化不起作用。
- sectors参数必须传入合法值,传入非法参数可能引发异常。
-## 使用实例
+## 使用实例
-举例:输入format /dev/mmcblk0 128 2
+举例:输入format /dev/mmcblk1 128 2
-## 输出说明
+## 输出说明
-结果如下
-
-![](figure/zh-cn_image_0000001134008686.png)
+结果如下:
+```shell
+OHOS # format /dev/mmcblk1 128 2
+Format to FAT32, 128 sectors per cluster.
+format /dev/mmcblk1 Success
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-lsfd.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-lsfd.md
index 3a65c4adfaba1728c73e5952a04907ee2f8c9d4a..685e878c4aef1d5c81ab3f246756caaf58d307ad 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-lsfd.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-lsfd.md
@@ -24,6 +24,44 @@ lsfd命令显示当前已经打开文件的fd号以及文件的名字。
## 输出说明
-**图 1** lsfd输出说明
-![](figure/lsfd输出说明.png "lsfd输出说明")
+**示例 1** lsfd输出说明
+
+```shell
+OHOS # lsfd
+ fd filename
+ 3 /dev/console1
+ 4 /dev/hilog
+ 5 /dev/hilog
+ 6 /dev/hilog
+ 7 /dev/lite_ipc
+ 8 /dev/hilog
+ 9 /dev/lite_ipc
+ 10 /dev/vb
+ 11 /dev/hilog
+ 12 /dev/vo
+ 13 /dev/hilog
+ 14 /dev/hilog
+ 15 /dev/sys
+ 16 /dev/lite_ipc
+ 17 /dev/lite_ipc
+ 18 /dev/hi_tde
+ 19 /dev/fb0
+ 20 /dev/vo
+ 21 /dev/mmz_userdev
+ 22 /dev/hi_tde
+ 23 /dev/lite_ipc
+ 24 /dev/hdf/hdf_input_event1
+ 25 /dev/lite_ipc
+ 26 /dev/mmz_userdev
+ 27 /dev/lite_ipc
+ 28 /dev/hilog
+ 29 /dev/hilog
+ 30 /dev/hdf/hdf_sensor_manager_ap
+ 31 /dev/hilog
+ 32 /dev/lite_ipc
+ 33 /dev/lite_ipc
+ 34 /dev/lite_ipc
+```
+
+
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-partinfo.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-partinfo.md
index ac4068379ea0a361fbb83f58df7303c604681463..7620a18cf87cc68a2856f72951a02d674746b1e4 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-partinfo.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-partinfo.md
@@ -48,5 +48,16 @@ partinfo /dev/mmcblk0p0
## 输出说明
-![](figure/zh-cn_image_0000001133848906.png)
+```shell
+OHOS # partinfo /dev/mmcblk0p0
+
+part info :
+disk id : 0
+part_id in system: 1
+part no in disk : 0
+part no in mbr : 0
+part filesystem : 00
+part sec start : 20480
+part sec count : 102400
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-partition.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-partition.md
index ee8c8b591edd96cdbc7eb8d173b98854be53144c..0717a670b8692046537c08c1abcec379085e7610 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-partition.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-partition.md
@@ -58,5 +58,8 @@ partition \[_nand / spinor_\]
查看spinor flash分区信息
-![](figure/zh-cn_image_0000001179848349.png)
+```shell
+OHOS # partition spinor
+spinor partition num:0, blkdev name:/dev/spinorblk0, mountpt:/, startaddr:0x00500000, length:0x00a00000
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-pwd.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-pwd.md
index 3ead92783076511baa67bc7d867a0275c944a7c0..dbb092db964384fdfb387ac3d23f4d93221672ca 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-pwd.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-pwd.md
@@ -29,6 +29,10 @@ pwd 命令将当前目录的全路径名称(从根目录)写入标准输出
## 输出说明
-**图 1** 查看当前路径
-![](figure/查看当前路径.png "查看当前路径")
+**示例 1** 查看当前路径
+
+```shell
+OHOS:/sdcard/nfs$ pwd
+/sdcard/nfs
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-statfs.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-statfs.md
index 09fb5fcb44fcbed6ae73dfa275f3e75ee7ff42eb..58d3d624c6511994f1b874f656c39738f5466866 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-statfs.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-file-statfs.md
@@ -47,6 +47,20 @@ statfs \[_directory_\]
statfs /nfs
-**图 1** statfs输出说明
-![](figure/statfs输出说明.png "statfs输出说明")
+**示例 1** statfs输出说明
+
+```shell
+OHOS # statfs ./nfs
+statfs got:
+ f_type = 26985
+ cluster_size = 512
+ total_clusters = 1579575176
+ free_clusters = 499254808
+ avail_clusters = 499254808
+ f_namelen = 255
+
+./nfs
+ total size: 808742490112 Bytes
+ free size: 255618461696 Bytes
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-arp.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-arp.md
index d311dc1f5e575ae6078d4ef249982928936ab684..b1a4b7ef3ea7264f765f953ca72f6eb2dfaca7be 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-arp.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-arp.md
@@ -74,13 +74,16 @@ arp \[_-i IF_\] -d _IPADDR_
1. 输入arp
- **图 1** 打印整个 ARP 缓存表
+ **示例 1** 打印整个 ARP 缓存表
+
+ ```shell
+ OHOS # arp
+ Address HWaddress Iface Type
+ 192.168.1.10 E6:2B:99:2C:4B:20 eth0 static
+ ```
-
- ![](figure/Snipaste_2021-01-26_10-38-58.png)
-
**表 2** 参数说明
-
+
参数
|
@@ -111,4 +114,3 @@ arp \[_-i IF_\] -d _IPADDR_
---|
-
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-dhclient.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-dhclient.md
index 01f4445c2f6b531b2dba7c0d85401892dbe42703..0afc2536a824f4d9441ed83f5d3c28fd2a303297 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-dhclient.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-dhclient.md
@@ -1,33 +1,23 @@
# dhclient
-- [命令功能](#section366714216619)
-- [命令格式](#section8833164614615)
-- [参数说明](#section12809111019453)
-- [使用指南](#section15935131220717)
-- [使用实例](#section79281818476)
-- [输出说明](#section12742311179)
+- [命令功能](#section01)
+- [命令格式](#section02)
+- [参数说明](#section03)
+- [使用指南](#section04)
+- [使用实例](#section05)
+- [输出说明](#section06)
-## 命令功能
+## 命令功能
设置和查看dhclient的参数。
-## 命令格式
+## 命令格式
dhclient <_netif name_\>
dhclient -x <_netif name_\>
-dhclient -gb <_netif name_\>
-
-dhclient -sv <_vendor_\>
-
-dhclient -gv
-
-dhclient -gd <_index_\>
-
-dhclient -sd <_dns\_ip_\>
-
-## 参数说明
+## 参数说明
**表 1** 参数说明
@@ -40,7 +30,14 @@ dhclient -sd <_dns\_ip_\>
-<netif name>
+ |
-h | --help
+ |
+查看dhclient命令支持的参数列表,及使用方式。
+ |
+N/A
+ |
+
+<netif name>
|
启动对应网卡的dhcp请求。
|
@@ -54,85 +51,36 @@ dhclient -sd <_dns\_ip_\>
网卡名字,eth0。
|
--gb <netif name>
- |
-查看对应网卡的dhcp请求是否完成。
- |
-网卡名字,eth0。
- |
-
--sv <vendor>
- |
-设置dhcp请求的厂商信息。
- |
-厂商信息,长度是32个字符。
- |
-
--gv
- |
-查看dhcp请求的厂商信息。
- |
-N/A
- |
-
--gd <index>
- |
-获取第index个dns server的信息。
- |
-index,0或者1。
- |
-
--sd <dns_ip>
- |
-设置主dns server的ip。
- |
-dns的ip地址。
- |
-
-## 使用指南
+## 使用指南
dhclient eth0
dhclient -x eth0
-dhclient -gb eth0
-
-dhclient -sv MFSI
-
-dhclient -gv
-
-dhclient -gd 0
-
-dhclient -sd 8.8.8.8
-
-## 使用实例
-
-![](figure/zh-cn_image_0000001179848731.png)
-
-## 输出说明
-
-**表 2** 输出说明
-
-
-输出
- |
-说明
- |
-
-
-dhclient: set vendor info [MFSI] success
- |
-设置厂商信息MFSI信息成功。
- |
-
-dns[0]: 192.168.1.100
- |
-dns server ip地址为192.168.1.100。
- |
-
-
-
-
+## 使用实例
+
+```shell
+OHOS:/$ dhclient eth0
+OHOS:/$ ifconfig
+lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
+ ip6: ::1/64
+ HWaddr 00 MTU:0 Running Link UP
+eth0 ip:192.168.1.10 netmask:255.255.255.0 gateway:192.168.1.1
+ HWaddr 42:da:81:bc:58:94 MTU:1500 Running Default Link UP
+OHOS:/$
+OHOS:/$ dhclient -x eth0
+NetifStatusCallback(eth0): nsc event: 0xf0
+OHOS:/$ ifconfig
+lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
+ ip6: ::1/64
+ HWaddr 00 MTU:0 Running Link UP
+eth0 ip:0.0.0.0 netmask:0.0.0.0 gateway:0.0.0.0
+ HWaddr 42:da:81:bc:58:94 MTU:1500 Running Default Link UP
+```
+
+## 输出说明
+
+无。
\ No newline at end of file
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-dns.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-dns.md
deleted file mode 100644
index 34806f95381a5cbc404154f4cc88bd33c61aafb2..0000000000000000000000000000000000000000
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-dns.md
+++ /dev/null
@@ -1,93 +0,0 @@
-# dns
-
-- [命令功能](#section997513673713)
-- [命令格式](#section146015943711)
-- [参数说明](#section5732111163716)
-- [使用指南](#section15642141417371)
-- [使用实例](#section1995841617370)
-- [输出说明](#section1114210258917)
-
-## 命令功能
-
-命令用于查看和设置单板dns服务器地址。
-
-## 命令格式
-
-dns <_1-2_\> <_IP_\>
-
-dns _-a_
-
-## 参数说明
-
-**表 1** 参数说明
-
-
-参数
- |
-参数说明
- |
-取值范围
- |
-
-
-<1-2>
- |
-选择设置第一个还是第二个DNS服务器。
- |
-1~2
- |
-
-<IP>
- |
-服务器IP地址。
- |
-N/A
- |
-
--a
- |
-显示当前设置情况。
- |
-N/A
- |
-
-
-
-
-## 使用指南
-
-无。
-
-## 使用实例
-
-举例:
-
-1. 检查当前DNS设置。
-2. 设置第二个DNS服务器IP。
-3. 检查DNS设置是否成功。
-
-## 输出说明
-
-1. 检查当前DNS设置:
-
- ```
- OHOS # dns -a
- dns1: 192.168.1.10
- dns2: 0.0.0.0
- ```
-
-2. 设置第二个DNS服务器IP:
-
- ```
- OHOS # dns 2 192.168.1.2
- ```
-
-3. 检查DNS设置是否成功:
-
- ```
- OHOS # dns -a
- dns1: 192.168.1.10
- dns2: 192.168.1.2
- ```
-
-
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-ipdebug.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-ipdebug.md
index 4949676e2b96284a75e6973a5a59ec52e2b9716d..548f65d15c51535f892d631b071887503ce75cd5 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-ipdebug.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-ipdebug.md
@@ -21,7 +21,7 @@ ipdebug
ipdebug打印信息如下:
-```
+```shell
OHOS # ipdebug
=================
|| Prefix List ||
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-netstat.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-netstat.md
index 096afdf96c42206e46469c989833c27e2831d453..5edf074e3a81d83485b0ad6e172e10a8db54e254 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-netstat.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-netstat.md
@@ -27,10 +27,24 @@ netstat
举例:输入netstat
-**图 1** netstat 打印信息
-
-
-![](figure/Snipaste_2021-01-26_10-38-58-25.png)
+**示例 1** netstat 打印信息
+
+```shell
+OHOS # netstat
+========== total sockets 128 ====== unused sockets 119 ==========
+Proto Recv-Q Send-Q Local Address Foreign Address State
+tcp 0 0 192.168.1.10:578 192.168.1.3:2049 ESTABLISHED
+tcp 0 0 192.168.1.10:58653 0.0.0.0:0 LISTEN
+tcp 0 0 192.168.1.10:58652 0.0.0.0:0 LISTEN
+tcp 0 0 192.168.1.10:58651 0.0.0.0:0 LISTEN
+
+Proto Recv-Q Send-Q Local Address Foreign Address
+udp 0 0 127.0.0.1:62177 127.0.0.1:62178
+udp 0 0 0.0.0.0:5684 0.0.0.0:0
+udp 0 0 127.0.0.1:62179 127.0.0.1:62180
+udp 0 0 127.0.0.1:62180 127.0.0.1:62179
+udp 0 0 127.0.0.1:62178 127.0.0.1:62177
+```
## 输出说明
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-telnet.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-telnet.md
index 993a37f128ee19ff0aefd63b20ba720b7deca1e3..86038471bc14c1e34c59f6b4db80e0adf241a945 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-telnet.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net-telnet.md
@@ -60,6 +60,10 @@ telnet \[_on | off_\]
## 输出说明
-**图 1** 输入 telnet on
-![](figure/输入-telnet-on.png "输入-telnet-on")
+**示例 1** 输入 telnet on
+
+```shell
+OHOS # telnet on
+OHOS # start telnet server successfully, waiting for connection.
+```
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net.md b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net.md
index 85e660cdec14cbaf699cf1eb7d9771dd4c255773..06774740b0a39ae2f92f5b7647549e1ca284d774 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-shell-net.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-shell-net.md
@@ -4,8 +4,6 @@
- **[dhclient](kernel-small-debug-shell-net-dhclient.md)**
-- **[dns](kernel-small-debug-shell-net-dns.md)**
-
- **[ifconfig](kernel-small-debug-shell-net-ifconfig.md)**
- **[ipdebug](kernel-small-debug-shell-net-ipdebug.md)**
@@ -22,4 +20,3 @@
- **[tftp](kernel-small-debug-shell-net-tftp.md)**
-