<?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: Viya 4 admin view users activity running for multiple days in compute in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Viya-4-admin-view-users-activity-running-for-multiple-days-in/m-p/964288#M29860</link>
    <description>&lt;P&gt;I would use a more specific command to list compute servers such as&lt;/P&gt;
&lt;PRE&gt;kubectl -n &amp;lt;your-namespace&amp;gt; get pods -l sas.com/created-by=sas-launcher -L launcher.sas.com/username,launcher.sas.com/job-type&lt;/PRE&gt;
&lt;P&gt;This will display all compute servers, batch servers and SAS/CONNECT servers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can then use the kubectl logs command to look at the log of these servers to find out what they are doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See this article&amp;nbsp;&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/kubectl-for-the-SAS-administrator/ta-p/926295" target="_blank" rel="noopener"&gt;kubectl for the SAS administrator&lt;/A&gt; for more details.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Apr 2025 06:31:54 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2025-04-15T06:31:54Z</dc:date>
    <item>
      <title>Viya 4 admin view users activity running for multiple days in compute</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Viya-4-admin-view-users-activity-running-for-multiple-days-in/m-p/964255#M29859</link>
      <description>&lt;P&gt;In Viya 2024.09LTS, when running&lt;/P&gt;&lt;P&gt;Kubectl -n namespace get pods –show-labels | grep compute&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see 1-2 users that have compute pods running for multiple days days. As SAS admin, how can I find the jobs or queries that these users run for such a long time? Fyi, after upgrade to 2024.09LTS, due to issues with the Workload Orchestrator, support asked us to disable the SWO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 18:39:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Viya-4-admin-view-users-activity-running-for-multiple-days-in/m-p/964255#M29859</guid>
      <dc:creator>drhorg</dc:creator>
      <dc:date>2025-04-14T18:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Viya 4 admin view users activity running for multiple days in compute</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Viya-4-admin-view-users-activity-running-for-multiple-days-in/m-p/964288#M29860</link>
      <description>&lt;P&gt;I would use a more specific command to list compute servers such as&lt;/P&gt;
&lt;PRE&gt;kubectl -n &amp;lt;your-namespace&amp;gt; get pods -l sas.com/created-by=sas-launcher -L launcher.sas.com/username,launcher.sas.com/job-type&lt;/PRE&gt;
&lt;P&gt;This will display all compute servers, batch servers and SAS/CONNECT servers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can then use the kubectl logs command to look at the log of these servers to find out what they are doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See this article&amp;nbsp;&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/kubectl-for-the-SAS-administrator/ta-p/926295" target="_blank" rel="noopener"&gt;kubectl for the SAS administrator&lt;/A&gt; for more details.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 06:31:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Viya-4-admin-view-users-activity-running-for-multiple-days-in/m-p/964288#M29860</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2025-04-15T06:31:54Z</dc:date>
    </item>
  </channel>
</rss>

