<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get the name of process owner by PID in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-the-name-of-process-owner-by-PID/m-p/266687#M52612</link>
    <description>Thanks for the reference. Due to his program I can find the process owner. But all processes have the same owner - srv_d_sas. It's logical but I need to get the user name that looks like, for example, user1@domain</description>
    <pubDate>Wed, 27 Apr 2016 12:19:36 GMT</pubDate>
    <dc:creator>Alex_Shev</dc:creator>
    <dc:date>2016-04-27T12:19:36Z</dc:date>
    <item>
      <title>How to get the name of process owner by PID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-the-name-of-process-owner-by-PID/m-p/265067#M52058</link>
      <description>&lt;P&gt;In SAS Management Console you can find&amp;nbsp;the table with PIDs of&amp;nbsp;running processes on server (Server Manager -&amp;gt; SASApp (for example) -&amp;gt; Logical Workspace Server). By&amp;nbsp;clicking on&amp;nbsp;some process we'll find out the name of the owner (who started the process), host and entry time.&lt;/P&gt;&lt;P&gt;If I have the PID, can I&amp;nbsp;get the name automatically (SAS code/program)?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 13:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-the-name-of-process-owner-by-PID/m-p/265067#M52058</guid>
      <dc:creator>Alex_Shev</dc:creator>
      <dc:date>2016-04-20T13:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the name of process owner by PID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-the-name-of-process-owner-by-PID/m-p/265273#M52148</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that what your migth be looking&amp;nbsp;for is the iomoperate procedure.&lt;/P&gt;&lt;P&gt;This procedure let you &lt;SPAN&gt;connect to the object spawner and get the pid, owner and other infos on every sas session.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please check the documentation &lt;A href="http://support.sas.com/documentation/cdl/en/biasag/62612/HTML/default/viewer.htm#n20006intelplatform00srvradm.htm" target="_self"&gt;here - SAS 9.3&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4" target="_self"&gt;ChrisHemedinger&lt;/A&gt;&amp;nbsp;made a very useful&amp;nbsp;tool based on this procedure, that you can check in his original posting here -&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/A-custom-task-to-list-and-stop-active-SAS-sessions/m-p/251340" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/A-custom-task-to-list-and-stop-active-SAS-sessions/m-p/251340&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Hope that helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Best Regards&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Joao Moreira KPMG - Portugal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 23:46:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-the-name-of-process-owner-by-PID/m-p/265273#M52148</guid>
      <dc:creator>joao_moreira</dc:creator>
      <dc:date>2016-04-20T23:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the name of process owner by PID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-the-name-of-process-owner-by-PID/m-p/266687#M52612</link>
      <description>Thanks for the reference. Due to his program I can find the process owner. But all processes have the same owner - srv_d_sas. It's logical but I need to get the user name that looks like, for example, user1@domain</description>
      <pubDate>Wed, 27 Apr 2016 12:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-the-name-of-process-owner-by-PID/m-p/266687#M52612</guid>
      <dc:creator>Alex_Shev</dc:creator>
      <dc:date>2016-04-27T12:19:36Z</dc:date>
    </item>
  </channel>
</rss>

