<?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 Kill command in Linux - pkill in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Kill-command-in-Linux-pkill/m-p/814109#M24419</link>
    <description>&lt;P&gt;Hi Admins&lt;BR /&gt;We are in a precarious position where our security teams are removing our ability to kill runaway sas jobs and sas EG jobs using the kill command with PID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They are only giving us the ability to use pkill, which uses a job name instead of a PID.&lt;/P&gt;
&lt;P&gt;How would we implement this as I cannot fathom how we can do it. Having used the Kill -9 &amp;lt;pid&amp;gt; has always been so great!&lt;BR /&gt;I can get a job name from RTM, and this will also tell me the compute server on which this job is running.&lt;/P&gt;
&lt;P&gt;But pkill is a different kettle of fish.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pkill -x jobname&lt;/P&gt;
&lt;P&gt;comes closest.&lt;/P&gt;
&lt;P&gt;Is anyone else out there facing similar issues? How did you get around this?&lt;/P&gt;
&lt;P&gt;Regds&lt;/P&gt;
&lt;P&gt;Len&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 16:09:28 GMT</pubDate>
    <dc:creator>Lenvdb</dc:creator>
    <dc:date>2022-05-18T16:09:28Z</dc:date>
    <item>
      <title>Kill command in Linux - pkill</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Kill-command-in-Linux-pkill/m-p/814109#M24419</link>
      <description>&lt;P&gt;Hi Admins&lt;BR /&gt;We are in a precarious position where our security teams are removing our ability to kill runaway sas jobs and sas EG jobs using the kill command with PID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They are only giving us the ability to use pkill, which uses a job name instead of a PID.&lt;/P&gt;
&lt;P&gt;How would we implement this as I cannot fathom how we can do it. Having used the Kill -9 &amp;lt;pid&amp;gt; has always been so great!&lt;BR /&gt;I can get a job name from RTM, and this will also tell me the compute server on which this job is running.&lt;/P&gt;
&lt;P&gt;But pkill is a different kettle of fish.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pkill -x jobname&lt;/P&gt;
&lt;P&gt;comes closest.&lt;/P&gt;
&lt;P&gt;Is anyone else out there facing similar issues? How did you get around this?&lt;/P&gt;
&lt;P&gt;Regds&lt;/P&gt;
&lt;P&gt;Len&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 16:09:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Kill-command-in-Linux-pkill/m-p/814109#M24419</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2022-05-18T16:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kill command in Linux - pkill</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Kill-command-in-Linux-pkill/m-p/814112#M24420</link>
      <description>The pkill command would not use a LSF job name but a process name, which would typically be the sas executable, so I don't think this would be helpful. &lt;BR /&gt;&lt;A href="https://www.commandlinux.com/man-page/man1/pkill.1.html" target="_blank"&gt;https://www.commandlinux.com/man-page/man1/pkill.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perhaps they mean the bkill command, which would let you kill a job based on it's job ID rather than process ID. You could issue this from any grid host rather than having to run it on the host where the job is running like the kill command.&lt;BR /&gt;&lt;A href="https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=reference-bkill" target="_blank"&gt;https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=reference-bkill&lt;/A&gt;</description>
      <pubDate>Wed, 18 May 2022 16:20:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Kill-command-in-Linux-pkill/m-p/814112#M24420</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-05-18T16:20:34Z</dc:date>
    </item>
  </channel>
</rss>

