openharmony 鸿蒙 kernel-small-debug-shell-cmd-sysinfo

2022-08-09 浏览 (755)

systeminfo

Command Function

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

Syntax

systeminfo

Parameters

None.

Usage Guidelines

None.

Example

Run systeminfo.

Output

Usage of system resources:

OHOS:/$ systeminfo
   Module    Used      Total     Enabled
--------------------------------------------
   Task      96        256       YES
   Sem       435       1024      YES
   Queue     13        1024      YES
   SwTmr     20        1024      YES

Table 1 Output description

ParameterDescription
ModuleModule name.
UsedUsed resources.
TotalTotal resources.
EnabledWhether the module is enabled.
TaskTask.
SemSemaphore.
QueueUsing queues.
SwTmrSoftware timer.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Kernel

harmony 鸿蒙Kernel Coding Specification

harmony 鸿蒙Standard Libraries

harmony 鸿蒙Interrupt Management

harmony 鸿蒙Event

harmony 鸿蒙Mutex

harmony 鸿蒙Queue

harmony 鸿蒙Semaphore

harmony 鸿蒙Doubly Linked List

harmony 鸿蒙Memory Management

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/70a9cdf528b14029afde380a90af3561