From the course: LPI Linux Essentials (010-160) Cert Prep

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Identifying running processes

Identifying running processes - Linux Tutorial

From the course: LPI Linux Essentials (010-160) Cert Prep

Start my 1-month free trial

Identifying running processes

- All right, let's dig a little bit deeper into processes. Now before processes can be managed you have to be able to identify them first. We talk about that with the process ID numbers, but where are you going to find these ID numbers? Well there are two utilities to help you identify processes. We have ps and top. In either case, processes can be searched for in various different ways and you can do this using their name or the resources they're using. Another reason for identifying processes is to know exactly how much memory these processes are consuming at any given time. To check this you can use the free command which tells you how much memory's being used. Now, the simplest tool for identifying processes is the ps command which is going to produce a process listing to your screen. Given the large number of options that ps has, different users have different favorite ways of using the program. For example, if you…

Contents