08-23-2017 03:18 PM - last edited on 08-23-2017 04:00 PM by ChrisHemedinger
(Branching off from this topic about a custom task that lists/stops SAS sessions.)
Have used this task for a while and it is very helpful.
Looking for some extra information and not sure if it exists in metadata or where it can be found. Looking for the name of the SAS program that the user and corresponding PID is actually running when this custom task is invoked and the reason follows.
Currently using SAS Environment Manager and will be creating alerts to monitor CPU usage and space used on the Compute\App server where the physical storage is located, (contains SAS programs, SAS data sets, etc.), mapped as F: and the workspace server with E: mapping.
When an alert is set off due to say CPU usage is now at 80% and the email is received indicating that fact then the next step here is to use this Custom Task to check current processes.
Knowing the SAS program that a user is running and if that user is taking most of the CPU, would like to contact that user and possibly work with them on efficiency or performance tuning changes, or just check on what they are running, test or production, too many observations being read etc.
Would appreciate any possible feedback or recommendations that you can provide.