Issue:
You may be needing the number of current SAS process running in your server. Using this you can estimate the load capacity of you server or find out if the huge number of SAS session is causing any delay in code processing.
Solution:
We can get the details of this using ps command. PS is a unix/linux command which will show you process running in your server. You can find out by searching the pattern that contains sas.
Command:
ps -ef | grep /opt/sas/software/SASFoundation/9.2/sasexe/sas | wc -l
In above command, the search pattern may change depending on the environment. To know the details of process you can use below command.
ps -ef | grep /opt/sas/software/SASFoundation/9.2/sasexe/sas | awk '{print $1," ", $2," ",$5}'
Comments
Post a Comment