B.20. Lab B.20: Count the Number of Running Linux Processes

This lab requires a Linux workstation.

To view only a count of the number of processes running on a Linux workstation, follow these steps:

  1. As root, from the desktop, choose Programs Accessories Terminal.

  2. Type the command ps –ef | grep –c $. This number can be used to generate a simple baseline as you rerun the command occasionally and look for massive fluctuations.

  3. When you are finished, exit the terminal window.

Get CompTIA Security+™ Deluxe: Study Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.