Monitoring processes


show more Monitoring processes provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users show less
please wait ...

Monitoring processes

In the last movie we saw how we can use the ps command to be able to view a list of the Unix processes that are running. But the problem with it is that sometimes we don't just want a snapshot in a moment in time. We actually want to be able to watch the processes. We want to be able to monitor them as the CPU and memory usage goes up and down, whereas processes start and stop. So to do that we need something that's a little more interactive that will keep refreshing and showing us the state of things as they change. The tool for doing that is called top. So if you simply type top and hit Return, you will get a list of the top processes.

Now, top processes depends on what order you've sorted it in. By default, it's sorted by the Process ID. So the most recent processes are at the top. You will see above that that we actually have a list of some summary information, the CPU usage, the memory usage, that kind of thing that's going on, and then we get that information for...

Monitoring processes
Video duration: 3m 36s 6h 35m Beginner

Viewers:

Monitoring processes provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users

Subject:
IT
Software:
Mac OS X Unix
Author:
please wait ...