Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux--Centos7 processes and scheduled tasks

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

I. 1. Understand the relationship between programs and processes

2. View process information PS View static processes at the current time

ps command is the most commonly used process viewing tool in Linux operating system, mainly used to display the process including the currently running

A static snapshot of complete information about each process. Process information can be selectively viewed through different command options.

a: Displays all process information under the current terminal, including processes of other users. When combined with the "x" option

Displays information about all processes in the system.

u: Output process information in a user-oriented format.

x: Displays the progress information of the current user under all terminals.

**1. Understand the meaning of process information

USER: The name of the user account that started the process.

PID: The numeric ID number of the process in the system, unique to the current system.

%CPU: Percentage of CPU used.

%MEM: Percentage of memory used.

VSZ: Size of virtual memory (swap space) occupied.

RSS: Size of resident memory (physical memory) occupied.

TTY: Indicates on which terminal the process runs. "? "indicates that the terminal is unknown or not required.

STAT: Displays the current status of the process, such as S (dormant), R (running), Z (dead),

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report