Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ The top command under Linux     - Repair after installing Ubuntu no boot device error (Linux)

- Ubuntu 14.04 Trusty Tahr User How to install Banshee 2.9.1 (Linux)

- Linux System Getting Started Learning: Fix ImportError: No module named scapy.all (Linux)

- Oracle delete table space prompted ORA-00604 and ORA-38301 (Database)

- Awk include binding capacity larger than the specified size of all files directory (Linux)

- How do I cancel (almost) any operations in Git, (Linux)

- Linux shared libraries .so file name and Dynamic Link (Linux)

- Reset CentOS / RHEL root account password 7 (Linux)

- df show disk space usage (Linux)

- C ++ multithreading and critical resource instance (Programming)

- What is Unikernel? (Linux)

- Protect against network attacks using Linux system firewall (Linux)

- Use SecureCRT to transfer files between Linux and Windows (Linux)

- Oracle multi-user concurrency and transaction processing (Database)

- CentOS 7 open ports (Linux)

- Linux, Eclipse flash back and reinstall the JDK methods (Linux)

- Kubernetes cluster deployment (Server)

- Open log in Hibernate (Programming)

- The ORA-01113 error is handled with BBED without archiving (Database)

- TypeScript basic grammar (Programming)

 
         
  The top command under Linux
     
  Add Date : 2018-11-21      
         
         
         
  Enter the top command to enter

First, the upper half

1, the very first line (task queue information)

Representing the current time

It indicates system uptime

The number of users currently logged on

The current system load (load balancing), the average length of the task queue. Three values ​​of 1 minute, 5 minutes, respectively, 15 minutes prior to the current average.

A lower value indicates systems more easily, when divided by three numbers add up to 3 more than 0.6 help system has been very tense.

 

2, the second and third acts of the information process and the CPU (When there are multiple CPU, these elements may be more than two lines)

The current total number of processes

The current number of running processes

Process Sleep Number

Number stopped process

Number zombie process



Cpu (s): 0.4% us: user footprint CPU percentage, 03% sy: kernel footprint CPU percentage, 0.0% ni: within the user process space, changed the priority of the process CPU percentage, 99.3% id: idle CPU percentage

3, the fourth five acts of memory information

Total physical memory

The total amount of physical memory used

The total amount of free memory

The amount of memory used for the kernel cache

Total (under the concept of virtual memory is somewhat similar to windows) swap

Total swap use

The amount of free exchange zone

The total amount of swap buffer. The contents of memory to be swapped out to the swap area, and later was changed into memory, but the used swap has not been covered, the value is the size of the content already exists in memory swap area. Corresponding memory again can no longer be written to swap when swapped out.

Second, the lower half


Column Name

meaning

PID

Process id

PPID

The parent process id

RUSER

Real user name

UID

Process owner user id

USER

Username process owner

GROUP

Process owner group name

TTY

Terminal name to start the process. The process was not started from the terminal is displayed as?

PR

priority

NI

nice value. A negative value indicates a high priority, a positive value indicates a low priority

P

CPU last used, only makes sense in a multi-CPU environment

% CPU

Last update to the current occupancy percentage of CPU time

TIME

Total CPU time used by the process in seconds

TIME +

Total CPU time used by the process, the unit 1/100 sec

% MEM

Percentage of physical memory used by the process

VIRT

The total amount of virtual memory used by the process, the unit kb. VIRT = SWAP + RES

SWAP

Virtual memory used in the process, to be swapped out the size, unit kb.

RES

Process uses, not swapped out of physical memory size, unit kb. RES = CODE + DATA

CODE

Executable code amount of physical memory size, unit kb

DATA

Other than the part of the executable code (data segment + stack) the amount of physical memory size, unit kb

SHR

Shared memory size in kb

nFLT

Page number error

nDRT

Last write to the present, the number of pages have been modified.

S

Process status.
         D = uninterruptible sleep state
         R = Run
         S = sleep
         T = trace / Stop
         Z = zombie process

COMMAND

Command name / command line

WCHAN

If the process is sleeping, it shows the system sleep function name

Flags

Task Flags, reference sched.h
     
         
         
         
  More:      
 
- SolrCloud-5.2.1 cluster deployment and testing (Server)
- How nodeclub constructed Docker image (Server)
- MySQL full-index scan bug (Database)
- Shell scripts get a snapshot of the page and generates thumbnails (Linux)
- PostgreSQL log classification and management (Database)
- HAProxy Windows version of the compiler and its application in the CORS (Server)
- MongoDB upgrade from 2.4.9 to 2.6.0 and PHP record of mongo extension upgrade from 1.4.5 to 1.5.1 (Database)
- Cooling solutions Ubuntu system (Linux)
- Shared directory settings between Linux and Linux (Linux)
- C ++ two second pointer memory model (two-dimensional array) (Programming)
- Learning C language pointer essays (Programming)
- Delegate in C # (Programming)
- Sturdy build secure Linux server (Linux)
- Linux keyboard recording script (Linux)
- ORA-04031 Error Resolution (Database)
- Docker Private Registry Installation Guide at CentOS6.X (Linux)
- Use of the storage-level replication technology will quickly clone a ASM database to the target environment (Database)
- Enterprise-class GitHub warehousing environment build (Server)
- Single-node Hadoop installation notes distributed pseudo & (Server)
- Use HugePages optimize memory performance (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.