kernel-small-debug-shell-cmd-sysinfo.md 4.4 KB
Newer Older
D
duangavin123 已提交
1
# systeminfo<a name="EN-US_TOPIC_0000001134006256"></a>
W
wenjun 已提交
2 3 4 5 6 7 8 9 10

## Command Function<a name="section863016434820"></a>

This command is used to display the resource usage of the current OS, including tasks, semaphores, mutexes, queues, and timers.

## Syntax<a name="section139791817795"></a>

systeminfo

D
duangavin123 已提交
11
## Parameters<a name="section19472339164813"></a>
W
wenjun 已提交
12 13 14 15 16 17 18 19 20

None

## Usage<a name="section285522592"></a>

None

## Example<a name="section9471171015105"></a>

D
duangavin123 已提交
21
Run  **systeminfo**.
W
wenjun 已提交
22 23 24 25

## Output<a name="section1657011114915"></a>

**Figure  1**  Usage of system resources<a name="fig15631172415455"></a>  
D
duangavin123 已提交
26
![](figure/usage-of-system-resources.png "usage-of-system-resources")
W
wenjun 已提交
27

D
duangavin123 已提交
28
**Table  1**  Output
W
wenjun 已提交
29 30

<a name="table633mcpsimp"></a>
D
duangavin123 已提交
31
<table><thead align="left"><tr id="row638mcpsimp"><th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.1"><p id="p640mcpsimp"><a name="p640mcpsimp"></a><a name="p640mcpsimp"></a>Output</p>
W
wenjun 已提交
32 33 34 35 36 37 38
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.2"><p id="p642mcpsimp"><a name="p642mcpsimp"></a><a name="p642mcpsimp"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row643mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p645mcpsimp"><a name="p645mcpsimp"></a><a name="p645mcpsimp"></a>Module</p>
</td>
D
duangavin123 已提交
39
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p647mcpsimp"><a name="p647mcpsimp"></a><a name="p647mcpsimp"></a>Module name</p>
W
wenjun 已提交
40 41 42 43
</td>
</tr>
<tr id="row648mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p650mcpsimp"><a name="p650mcpsimp"></a><a name="p650mcpsimp"></a>Used</p>
</td>
D
duangavin123 已提交
44
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p652mcpsimp"><a name="p652mcpsimp"></a><a name="p652mcpsimp"></a>Used resources</p>
W
wenjun 已提交
45 46 47 48
</td>
</tr>
<tr id="row653mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p655mcpsimp"><a name="p655mcpsimp"></a><a name="p655mcpsimp"></a>Total</p>
</td>
D
duangavin123 已提交
49
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p657mcpsimp"><a name="p657mcpsimp"></a><a name="p657mcpsimp"></a>Total resources</p>
W
wenjun 已提交
50 51 52 53
</td>
</tr>
<tr id="row658mcpsimp"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p660mcpsimp"><a name="p660mcpsimp"></a><a name="p660mcpsimp"></a>Enabled</p>
</td>
D
duangavin123 已提交
54
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p662mcpsimp"><a name="p662mcpsimp"></a><a name="p662mcpsimp"></a>Whether the module is enabled</p>
W
wenjun 已提交
55 56 57 58
</td>
</tr>
<tr id="row10101624938"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p610724734"><a name="p610724734"></a><a name="p610724734"></a>Task</p>
</td>
D
duangavin123 已提交
59
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p1510024539"><a name="p1510024539"></a><a name="p1510024539"></a>Task</p>
W
wenjun 已提交
60 61 62 63
</td>
</tr>
<tr id="row207288271839"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p572872713317"><a name="p572872713317"></a><a name="p572872713317"></a>Sem</p>
</td>
D
duangavin123 已提交
64
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p272852716315"><a name="p272852716315"></a><a name="p272852716315"></a>Semaphore</p>
W
wenjun 已提交
65 66 67 68
</td>
</tr>
<tr id="row1774316321731"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p274343218317"><a name="p274343218317"></a><a name="p274343218317"></a>Mutex</p>
</td>
D
duangavin123 已提交
69
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p1974319321133"><a name="p1974319321133"></a><a name="p1974319321133"></a>Mutex</p>
W
wenjun 已提交
70 71 72 73
</td>
</tr>
<tr id="row121618371536"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p0161183720314"><a name="p0161183720314"></a><a name="p0161183720314"></a>Queue</p>
</td>
D
duangavin123 已提交
74
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p09295155511"><a name="p09295155511"></a><a name="p09295155511"></a>Message queue</p>
W
wenjun 已提交
75 76 77 78
</td>
</tr>
<tr id="row4935152211518"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p13935222154"><a name="p13935222154"></a><a name="p13935222154"></a>SwTmr</p>
</td>
D
duangavin123 已提交
79
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p0936182215515"><a name="p0936182215515"></a><a name="p0936182215515"></a>Software timer</p>
W
wenjun 已提交
80 81 82 83 84
</td>
</tr>
</tbody>
</table>