<?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: Process kill via Console in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008941#M490844</link>
    <description>&lt;P&gt;&amp;gt; Never use find /.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; That advice seems overly restrictive.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; find / -xdev [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; man find&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jun 2018 03:25:37 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2018-06-15T03:25:37Z</dc:date>
    <item>
      <title>Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008590#M490839</link>
      <description>&lt;P&gt;Dear experts,&lt;BR /&gt;I am in a bit of dilema here. I have an Hp integrity blade server for which root password has expired.&lt;BR /&gt;Also, to make matter worse the OS is not prompting me to reset the password.&lt;BR /&gt;From&amp;nbsp; HP forums i saw that i i can have root access via Console while connecting through ILO.&lt;BR /&gt;But there is another problem, In the console a process which i launched days aso is still running, and any attempt to put that process in background via CTRL+Z is unsuccessful.&lt;BR /&gt;Is there any way that i can kill that process or put it in background through ILO commands or MP commands without rebooting the server?&lt;BR /&gt;No other user account has sudo access.&lt;BR /&gt;Any suggestions will be helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 08:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008590#M490839</guid>
      <dc:creator>Rajvardhan</dc:creator>
      <dc:date>2018-06-12T08:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008703#M490840</link>
      <description>&lt;P&gt;On the console connection, try CTRL-D. The process may be reading the keyboard and needs an end-of-file character.&amp;nbsp;&lt;BR /&gt;Then try CTRL-| (vertical bar). That sends a different kill signal to the active process.&lt;/P&gt;&lt;P&gt;And as a best practice in the future, never run general programs from the console. It should be reserved for command line only and never left running anything. Also, never use the console to telnet/ssh to another system. Activating sudo for a sysadmin login would be quite useful in the future.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 06:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008703#M490840</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2018-06-13T06:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008822#M490841</link>
      <description>&lt;P&gt;Thanks Bill, for the reply. I really appreciate it.&lt;BR /&gt;I tried the combination CTRL-D and CTRL-|, but nothing happened . The process is still in the foreground.&lt;BR /&gt;Here is the OP of the "ps -ef | grep console" command when run by a regular user.&lt;/P&gt;&lt;P&gt;root 6404 1 0 Mar 16 console 0:00 -bash&lt;BR /&gt;raju 4943 4941 0 11:53:07 pts/5 0:00 grep console&lt;BR /&gt;root 5180 6404 0 Apr 25 console 0:18 find / -name login_time&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;By CTRL-|, you mean CTRL+ SHIFT + | (the vertical bar is on the same key on my keyboard just above the backslash).&lt;BR /&gt;Tried this as well, but it did not do anyting.&lt;BR /&gt;This server is 8+ yrs old. The management dont wan't to reboot the server, fearing the sever may not come up after a reboot .&lt;BR /&gt;Any other workaround that might help?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008822#M490841</guid>
      <dc:creator>Rajvardhan</dc:creator>
      <dc:date>2018-06-14T07:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008858#M490842</link>
      <description>&lt;P&gt;You can try to enter "cntrl-Q", and then cntrl-C.&lt;/P&gt;&lt;P&gt;cntrl-S and cntrl-Q stop and restart the console-output. Maybe cntrl-S had been accidently entered and the process is waiting for the cntrl-Q.&lt;/P&gt;&lt;P&gt;cntrl-C should then be used to exit the "find".&lt;/P&gt;&lt;P&gt;Do you know if the "find" command that is listed in the ps-output is actually doing something? You may be able to check this with top or glance. If it is running, then it simply may need more time to finish.&lt;/P&gt;&lt;P&gt;There may also be an option to reset the ILO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 12:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008858#M490842</guid>
      <dc:creator>Bertram Stoeckler</dc:creator>
      <dc:date>2018-06-14T12:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008896#M490843</link>
      <description>&lt;P&gt;The &lt;STRONG&gt;find&lt;/STRONG&gt; command is the problem.&lt;/P&gt;&lt;P&gt;Never use&lt;STRONG&gt; find /&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;You are searching *every* moutpoint including network, CD/DVD, external mass storage...&lt;BR /&gt;It could take 3 days to read every possible directory.&lt;/P&gt;&lt;P&gt;You can fix the problem quite easily: &lt;STRONG&gt;kill 5180&lt;BR /&gt;&lt;/STRONG&gt;(from a different window)&lt;/P&gt;&lt;P&gt;When you use small computers with 1 disk, it is common to "search everything".&lt;BR /&gt;But it is a very bad practice.&lt;BR /&gt;Your system may have billions of file names across dozens of terabytes of data.&lt;BR /&gt;I actually created an alias for &lt;STRONG&gt;find&lt;/STRONG&gt; that was a script.&lt;BR /&gt;It&amp;nbsp;tested for &lt;STRONG&gt;find /&lt;/STRONG&gt; and if found, would create a message like this:&lt;/P&gt;&lt;P&gt;"The command &lt;STRONG&gt;find /&lt;/STRONG&gt; may take several hours to complete on this server as it will search network drives, databases, even CDs. Limit the search range to reasonable locations such as &lt;STRONG&gt;/home&lt;/STRONG&gt; or &lt;STRONG&gt;/usr&lt;/STRONG&gt; or &lt;STRONG&gt;/tmp&lt;/STRONG&gt;. You can specify several mountpoints like this:&lt;STRONG&gt; find /usr /var /tmp /home&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Your find is searching for a filename with the exact string &lt;STRONG&gt;login_name&amp;nbsp;&lt;/STRONG&gt;which may not exist. It might be &lt;STRONG&gt;login-name&lt;/STRONG&gt; or &lt;STRONG&gt;LOGIN_NAME&lt;/STRONG&gt;&amp;nbsp;which will won't be found. So rather than use the &lt;STRONG&gt;-name&lt;/STRONG&gt; option, pipe the find results to grep for a partial match, like this:&lt;/P&gt;&lt;PRE&gt;find /usr /opt /var /tmp /home | grep -i login&lt;/PRE&gt;&lt;P&gt;I have seen these poorly formed&amp;nbsp;&lt;STRONG&gt;find&lt;/STRONG&gt; commands severely impact production machines with massive I/O loads, affecting dozens of users at the same time.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 17:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008896#M490843</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2018-06-14T17:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008941#M490844</link>
      <description>&lt;P&gt;&amp;gt; Never use find /.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; That advice seems overly restrictive.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; find / -xdev [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; man find&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 03:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008941#M490844</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2018-06-15T03:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008954#M490845</link>
      <description>&lt;P&gt;...overly restrictive...&lt;/P&gt;&lt;P&gt;For workstation users or systems with just a couple of disks, you would be right.&lt;/P&gt;&lt;P&gt;But the same HP-UX runs on systems with terabytes of RAM, dozens of processors, and petabytes of&amp;nbsp; storage, an unrestricted &lt;STRONG&gt;find /&lt;/STRONG&gt; will take hours and unnecessarily flush the File Cache (aka, Buffer Cache) with directory entries.&amp;nbsp; I've had many questions about performance issues where &lt;STRONG&gt;find /&lt;/STRONG&gt; was the culprit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The point is to not look in places that don't make sense.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 06:19:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008954#M490845</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2018-06-15T06:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008962#M490846</link>
      <description>&lt;P&gt;&amp;gt; The point is to not look in places that don't make sense.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; And _my_ point was that "-xdev" would confine the search to the "/"&lt;BR /&gt;file system irself.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; man find&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 07:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7008962#M490846</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2018-06-15T07:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7009084#M490848</link>
      <description>&lt;P&gt;&amp;gt; And _my_ point was that "-xdev" would confine the search to the "/" file system itself.&lt;/P&gt;&lt;P&gt;Right and Bill will tell you there should be "nothing" there.&amp;nbsp; :-)&lt;/P&gt;&lt;P&gt;I use -xdev all the time so I don't get into the NFS mount jungle.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2018 11:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7009084#M490848</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2018-06-17T11:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Process kill via Console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7009085#M490849</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/560221"&gt;@Bill Hassell&lt;/a&gt;&amp;nbsp;find /usr /opt /var /tmp /home | grep -i login&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of using grep, you should use -name, if all upper or lower case:&lt;/P&gt;&lt;P&gt;find /usr /opt /var /tmp /home \( -name "*login*" -o -name "*LOGIN*" \)&lt;/P&gt;&lt;P&gt;find /usr /opt /var /tmp /home -name "*[lL][oO][gG][iI][nN]*"&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2018 11:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-kill-via-console/m-p/7009085#M490849</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2018-06-17T11:16:15Z</dc:date>
    </item>
  </channel>
</rss>

