No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
top

top

Function

The top command is used to query running tasks in real time.

Format

top [ parameter ]

Parameters

Parameter

Description

Value

parameter

If you want to obtain details and usage guide of parameters, run the top --help command.

-

Modes

Minisystem mode

Usage Guidelines

When you need to query the resource usage of running tasks, run the top command.

Example

Show the program process information every 20 seconds.

Storage: minisystem> top -d 20 
top - 22:20:45 up 4:19, 2 users, load average: 276.19, 276.13, 276.10 
Tasks: 550 total, 1 running, 549 sleeping, 0 stopped, 0 zombie 
Cpu(s): 1.4%us, 3.2%sy, 0.0%ni, 93.5%id, 1.8%wa, 0.0%hi, 0.1%si, 0.0%st 
Mem: 560860k total, 403236k used, 157624k free, 156k buffers 
Swap: 0k total, 0k used, 0k free, 66760k cached 
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 
6005 root 20 0 12924 1460 812 R 4 0.3 0:00.03 top 
3780 root 20 0 0 0 0 S 2 0.0 0:16.67 DEV_Routine_0 
1 root 20 0 3744 608 516 S 0 0.1 0:03.25 init 
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd 
3 root RT 0 0 0 0 S 0 0.0 0:00.15 migration/0 
4 root 20 0 0 0 0 S 0 0.0 0:05.42 ksoftirqd/0 
5 root RT 0 0 0 0 S 0 0.0 0:00.06 watchdog/0 
6 root RT 0 0 0 0 S 0 0.0 0:00.14 migration/1 
7 root 20 0 0 0 0 S 0 0.0 0:03.72 ksoftirqd/1 
8 root RT 0 0 0 0 S 0 0.0 0:00.10 watchdog/1 
9 root 20 0 0 0 0 S 0 0.0 0:06.39 events/0 
10 root 20 0 0 0 0 S 0 0.0 0:00.48 events/1 
11 root 20 0 0 0 0 S 0 0.0 0:00.00 cpuset 
12 root 20 0 0 0 0 S 0 0.0 0:00.00 khelper 
13 root 20 0 0 0 0 S 0 0.0 0:00.59 netns

System Response

None.

Parameter

Meaning

PID

Process ID.

USER

User.

PR

Priority.

NI

Value of nice. A negative vales indicates a high priority and a positive value indicates a low priority.

VIRT

Total size of the virtual memory used by processes.

RES

Resident memory.

SHR

Shared memory.

S

Process status. D indicates the uninterrupted sleep state, R indicates the running state, S indicates the sleep state, T indicates the tracking/stopped state, and Z indicates the zombie process.

%CPU

CPU usage between two times of updates.

%MEM

Percentage of the physical memory used by processes.

TIME+

Total CPU time used by processes. The unit is 1/100 second.

COMMAND

Command.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 603218

Downloads: 691

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next