<?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 Finding process id for each Grid nodes in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Finding-process-id-for-each-Grid-nodes/m-p/562235#M16355</link>
    <description>Assume I have four grid nodes and jobs are running in all those grid nodes. Now if I wish to find the process id, user id,...for each node how can I find it?</description>
    <pubDate>Wed, 29 May 2019 12:23:57 GMT</pubDate>
    <dc:creator>Babloo</dc:creator>
    <dc:date>2019-05-29T12:23:57Z</dc:date>
    <item>
      <title>Finding process id for each Grid nodes</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Finding-process-id-for-each-Grid-nodes/m-p/562235#M16355</link>
      <description>Assume I have four grid nodes and jobs are running in all those grid nodes. Now if I wish to find the process id, user id,...for each node how can I find it?</description>
      <pubDate>Wed, 29 May 2019 12:23:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Finding-process-id-for-each-Grid-nodes/m-p/562235#M16355</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2019-05-29T12:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Finding process id for each Grid nodes</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Finding-process-id-for-each-Grid-nodes/m-p/562306#M16357</link>
      <description>&lt;P&gt;If you have a central, shared logs location for SASApp, then you could try running some SAS code.&amp;nbsp; You can modify as needed, of course, but I do this to find out who owns a standard WorkspaceServer session that was grid-launched.&amp;nbsp; There's probably a better way to do this, but this is how I do it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET SASCONFIG=/your/sas/config/location;

/*Retrieve long listing of work directory contents*/
FILENAME XCMD2 PIPE "ls -ltr &amp;amp;SASCONFIG./Lev1/Logs/*WorkspaceServer*";

DATA _NULL_;
	CALL SYMPUTX('TODAY',PUT(TODAY(),YYMMDD10.));
RUN;

%PUT &amp;amp;TODAY;

DATA Details;
INFILE XCMD2 DSD TRUNCOVER;
LENGTH TEXT $512.;
INPUT @1 TEXT;
USERID = SCAN(TEXT,3,' ');
GROUPID = SCAN(TEXT,4,' ');
PID = SCAN(SCAN(TEXT,-1,'_'),1,'.');
DROP TEXT;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that we are running in a Linux environment, so you may need to change some things depending on your OS and setup.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 14:49:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Finding-process-id-for-each-Grid-nodes/m-p/562306#M16357</guid>
      <dc:creator>Timmy2383</dc:creator>
      <dc:date>2019-05-29T14:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Finding process id for each Grid nodes</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Finding-process-id-for-each-Grid-nodes/m-p/563241#M16380</link>
      <description>&lt;P&gt;What SAS Grid Manager product are you using and what version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your grid is using SAS Workload Orchestrator, there is the SAS Workload Orchestrator Administration Utility or the SAS Workload Orchestrator GUI that may be able to provide that information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your grid is using Platform Suite for SAS, there are command line utilities (like BJOBS) and GUIs (like SAS Grid Manager Module for SAS Environment Manager or RTM) that may be able to help.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 12:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Finding-process-id-for-each-Grid-nodes/m-p/563241#M16380</guid>
      <dc:creator>doug_sas</dc:creator>
      <dc:date>2019-06-03T12:22:52Z</dc:date>
    </item>
  </channel>
</rss>

