<?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: Looking for a script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569252#M30330</link>
    <description>&lt;BR /&gt;&lt;BR /&gt; # PID=`who -u | awk '{if ($6=".") print $2}'`&lt;BR /&gt;  &lt;BR /&gt; # for users in `echo $PID`&lt;BR /&gt; &amp;gt; do&lt;BR /&gt; &amp;gt;  kill $users&lt;BR /&gt; &amp;gt; done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 24 Aug 2001 08:19:02 GMT</pubDate>
    <dc:creator>Sundar_7</dc:creator>
    <dc:date>2001-08-24T08:19:02Z</dc:date>
    <item>
      <title>Looking for a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569247#M30325</link>
      <description>I am looking for a script that will kill users that have been inactive on the system for an extended amount of time.  But only if they are running a specific command I need to know where to go and look for this creature</description>
      <pubDate>Thu, 23 Aug 2001 13:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569247#M30325</guid>
      <dc:creator>Mike Reeb</dc:creator>
      <dc:date>2001-08-23T13:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569248#M30326</link>
      <description>Would you be killing applications that were written inhouse (so that you would know the outcome of killing the process) or would you want to kill processes that are third party apps?</description>
      <pubDate>Thu, 23 Aug 2001 14:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569248#M30326</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-08-23T14:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569249#M30327</link>
      <description>I'm also assuming that the users are not at a shell prompt, correct?</description>
      <pubDate>Thu, 23 Aug 2001 14:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569249#M30327</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-08-23T14:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569250#M30328</link>
      <description>See the following post which also discusses this issue&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc7567e990647d4118fee0090279cd0f9,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc7567e990647d4118fee0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Thu, 23 Aug 2001 14:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569250#M30328</guid>
      <dc:creator>nancy rippey</dc:creator>
      <dc:date>2001-08-23T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569251#M30329</link>
      <description>HI&lt;BR /&gt;Using TMOUT parameter in .profile of user will logout user after specified idle time.&lt;BR /&gt;TMOUT=300  (ie. 5 minutes)&lt;BR /&gt;readonly TMOUT (This will make sure that user will not modify this parameter.&lt;BR /&gt;This parameter is useful of users with idle shell prompt for specified time. It will not kill the hang processes or idle socket connections.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.</description>
      <pubDate>Thu, 23 Aug 2001 14:14:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569251#M30329</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-08-23T14:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569252#M30330</link>
      <description>&lt;BR /&gt;&lt;BR /&gt; # PID=`who -u | awk '{if ($6=".") print $2}'`&lt;BR /&gt;  &lt;BR /&gt; # for users in `echo $PID`&lt;BR /&gt; &amp;gt; do&lt;BR /&gt; &amp;gt;  kill $users&lt;BR /&gt; &amp;gt; done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Aug 2001 08:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569252#M30330</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2001-08-24T08:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569253#M30331</link>
      <description>Hey SOrry man ,,&lt;BR /&gt;&lt;BR /&gt;  Delete my Last Post..&lt;BR /&gt;&lt;BR /&gt;  I was wrong..&lt;BR /&gt;&lt;BR /&gt; # PID=`who -u | awk '$6 ~ /old/ { print $7}'`&lt;BR /&gt;&lt;BR /&gt; # for users in `echo $PID`&lt;BR /&gt; &amp;gt; do&lt;BR /&gt; &amp;gt; kill $users&lt;BR /&gt; &amp;gt; done&lt;BR /&gt;&lt;BR /&gt; Please forget the last post&lt;BR /&gt;&lt;BR /&gt;Sundar</description>
      <pubDate>Fri, 24 Aug 2001 11:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-script/m-p/2569253#M30331</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2001-08-24T11:39:50Z</dc:date>
    </item>
  </channel>
</rss>

