In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Preface through the previous study, we understand the guiding process of Linux, and how to control and optimize system services. What should I do if I want to learn more about various program information in the system, shut down unresponsive processes, and automatically execute tasks at a specified time? Next, let's learn the knowledge and techniques of process management and planned task management. First, the relationship between the program and the process program: 1. Executable code and data stored in hard drives, CDs and other media 2. Statically saved code process: 1. Program code running in CPU and memory 2. Dynamically executed code 3. Parent, child process application, process, Thread an application can contain one or more processes A process can include one or more threads (the most basic unit) Application = factory process = workshop thread = worker highly concurrent processing depends on multithreaded operation (thread thread) ps command to view static process statistics: ps auxa: displays all process information under the current terminal Including the processes of other users. When combined with the "x" option, all process information in the system is displayed. U: use a user-based format to output process information. X: displays the process information of the current user under all terminals
View static process statistics-e: displays all process information in the system. -l: displays process information in a long format. F: displays the process information in a complete format. You can view the parent process.
The meaning of the list title: USER: the name of the user account that started the process. PID: the numeric ID number of this process in the system, which is unique in the current system. TTY: indicates which terminal the process is running on. "?" Indicates that the terminal is unknown or not required. STAT: displays the current state of the process, such as S (hibernating), 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.