课程: Building an Ubuntu Server

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Process management

Process management

- [Instructor] Any software that runs on a Linux system runs in a process, which allows us to refer to the running software, to control what resources it uses and to end it or send it other signals should we need to. Processes each have a unique number and we can see what processes are running in a variety of ways. One of these commands is called ps, short for process status. Running the ps command by itself shows what processes are running within the current shell session. In this case here, it's just bash NPS itself, while it was running, so that doesn't look terribly useful to start out with, but we can modify how we use ps to show more useful information, especially when we're working with a server. Running ps-e shows all of the processes running across the whole system. And when we're working with servers, this is a fairly common use case. Many programs and services on a server run outside of our user's specific…

内容