In SAS Management Console you can find the table with PIDs of running processes on server (Server Manager -> SASApp (for example) -> Logical Workspace Server). By clicking on some process we'll find out the name of the owner (who started the process), host and entry time.
If I have the PID, can I get the name automatically (SAS code/program)?
Hi Alex,
I think that what your migth be looking for is the iomoperate procedure.
This procedure let you connect to the object spawner and get the pid, owner and other infos on every sas session.
Please check the documentation here - SAS 9.3.
ChrisHemedinger made a very useful tool based on this procedure, that you can check in his original posting here - https://communities.sas.com/t5/Administration-and-Deployment/A-custom-task-to-list-and-stop-active-S...
Hope that helps!
Best Regards
Joao Moreira KPMG - Portugal
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.