[Autogenerated] with this module,
we're going to move on and talk about how to monitor
processes on a target system for this.
We will be looking at achieving two specific goals.
The first will show how we can utilize the PS UTIL module to
read in a list of processes and format them in a nested
dictionary for future reference and display.
Second,
we are going to be looking at how we can use a process list from
this module that can be filtered to display the processes that are
using the most processing resources and separately the most memory
resources to get us started.
We will need to install the appropriate python modules.
In this case we will be using multiple modules to perform
the different parts of our examples.
These modules include the PS UTIL module that provides a way to access
process and resource information on a system that was shown in the
acquiring server information with python module,
the Time and sys modules that are used to control script operation,
the PP print module that is used to display the contents of
the generated dictionary in a readable format and the OS
module that is used to run Cli commands