<?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 Non existence process with wrong idle time shown in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047662#M303871</link>
    <description>/&amp;gt;w -s|grep xywang&lt;BR /&gt;xywang   pt311:54  -&lt;BR /&gt;/&amp;gt;who -u|grep xywang&lt;BR /&gt;xywang     pts/tZd      Aug  1 09:53  old    7321  10.0.84.252&lt;BR /&gt;/&amp;gt;last -R xywang|more&lt;BR /&gt;...&lt;BR /&gt;xywang   pts/tZd      10.0.84.252      Wed Aug  1 09:53 - 10:59  (01:05)&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;In fact this user has already logged out the system but still with the process shown as&lt;BR /&gt;&lt;BR /&gt;xywang   pt311:54  -&lt;BR /&gt;&lt;BR /&gt;Also next time whoever login using the terminal&lt;BR /&gt;pts/tZd, once logout, this process will then be shown as owned by this user, with the idle time as &amp;gt; 311:54 (seems to me the idle time get accumulated)&lt;BR /&gt;&lt;BR /&gt;Has anyone seen such a scenrio before?&lt;BR /&gt;</description>
    <pubDate>Wed, 01 Aug 2007 05:04:44 GMT</pubDate>
    <dc:creator>Rita Li</dc:creator>
    <dc:date>2007-08-01T05:04:44Z</dc:date>
    <item>
      <title>Non existence process with wrong idle time shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047662#M303871</link>
      <description>/&amp;gt;w -s|grep xywang&lt;BR /&gt;xywang   pt311:54  -&lt;BR /&gt;/&amp;gt;who -u|grep xywang&lt;BR /&gt;xywang     pts/tZd      Aug  1 09:53  old    7321  10.0.84.252&lt;BR /&gt;/&amp;gt;last -R xywang|more&lt;BR /&gt;...&lt;BR /&gt;xywang   pts/tZd      10.0.84.252      Wed Aug  1 09:53 - 10:59  (01:05)&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;In fact this user has already logged out the system but still with the process shown as&lt;BR /&gt;&lt;BR /&gt;xywang   pt311:54  -&lt;BR /&gt;&lt;BR /&gt;Also next time whoever login using the terminal&lt;BR /&gt;pts/tZd, once logout, this process will then be shown as owned by this user, with the idle time as &amp;gt; 311:54 (seems to me the idle time get accumulated)&lt;BR /&gt;&lt;BR /&gt;Has anyone seen such a scenrio before?&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Aug 2007 05:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047662#M303871</guid>
      <dc:creator>Rita Li</dc:creator>
      <dc:date>2007-08-01T05:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Non existence process with wrong idle time shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047663#M303872</link>
      <description>This could be due to wtmp files getting corrupted.&lt;BR /&gt;&lt;BR /&gt;You can search ITRC for other issues with wtmp, over 50:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1118377" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1118377&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1140449" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1140449&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Aug 2007 06:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047663#M303872</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-01T06:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Non existence process with wrong idle time shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047664#M303873</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Corrupted /var/adm/wtmp file.&lt;BR /&gt;&lt;BR /&gt;To confirm this, perform the following testing:&lt;BR /&gt;# cd /var/adm&lt;BR /&gt;# cp -p wtmp wtmp.bak&lt;BR /&gt;# cat /dev/null &amp;gt; wtmp&lt;BR /&gt;&lt;BR /&gt;Login &amp;amp; Logout some Telnet Sessions &amp;amp; keep monitoring:&lt;BR /&gt;# who&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 08 Aug 2007 23:06:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047664#M303873</guid>
      <dc:creator>TY 007</dc:creator>
      <dc:date>2007-08-08T23:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Non existence process with wrong idle time shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047665#M303874</link>
      <description>Rita,&lt;BR /&gt;&lt;BR /&gt;You can always try the following&lt;BR /&gt;&lt;BR /&gt; /usr/sbin/acct/wtmpfix &lt;FILE&gt;&lt;BR /&gt;&lt;BR /&gt;or use&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/acct/fwtmp -ic &lt;/FILE&gt; wtmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;good luck</description>
      <pubDate>Thu, 09 Aug 2007 11:01:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047665#M303874</guid>
      <dc:creator>Juan M Leon</dc:creator>
      <dc:date>2007-08-09T11:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Non existence process with wrong idle time shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047666#M303875</link>
      <description>Tried :-&lt;BR /&gt;&lt;BR /&gt;/var/adm&amp;gt;cp -p wtmps wtmps.bak&lt;BR /&gt;/var/adm&amp;gt;cp -p wtmp wtmp.bak&lt;BR /&gt;/var/adm&amp;gt;/usr/sbin/acct/fwtmp -ic &amp;lt; /dev/null &amp;gt; wtmps&lt;BR /&gt;/var/adm&amp;gt;/usr/sbin/acct/fwtmp -ic &amp;lt; /dev/null &amp;gt; wtmp&lt;BR /&gt;/var/adm&amp;gt;ls -aslp wtmp*&lt;BR /&gt;   0 -rw-rw-r--   1 adm        adm              0 Aug 23 11:23 wtmp&lt;BR /&gt; 320 -rw-rw-r--   1 adm        adm         158820 Aug 14 16:17 wtmp.bak&lt;BR /&gt;  32 -rw-rw-r--   1 adm        adm          10432 Aug 23 11:34 wtmps&lt;BR /&gt;633936 -rw-rw-r--   1 adm        adm        324566252 Aug 23 11:27 wtmps.bak&lt;BR /&gt;&lt;BR /&gt;However the problem is still not fixed&lt;BR /&gt;&lt;BR /&gt;ie.&lt;BR /&gt;/var/adm&amp;gt;w -s|grep ddgong&lt;BR /&gt;root     pt        grep ddgong&lt;BR /&gt;ddgong   pt231:33  -</description>
      <pubDate>Wed, 22 Aug 2007 22:33:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047666#M303875</guid>
      <dc:creator>Rita Li</dc:creator>
      <dc:date>2007-08-22T22:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Non existence process with wrong idle time shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047667#M303876</link>
      <description>&amp;gt;However the problem is still not fixed&lt;BR /&gt;&lt;BR /&gt;Are you on 11.23 or later?  If so, you need to stick it to the utmpd(1M) demon. ;-)&lt;BR /&gt;&lt;BR /&gt;SIGTERM   Perform graceful shutdown.&lt;BR /&gt;This causes the daemon to write its in-memory user accounting database to the /etc/utmps file and exit.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2007 02:37:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047667#M303876</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-23T02:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Non existence process with wrong idle time shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047668#M303877</link>
      <description>Dennis, thanks for the response&lt;BR /&gt;&lt;BR /&gt;Our UX version is&lt;BR /&gt;&lt;BR /&gt;HP-UX bdcimfg1 B.11.23 U ia64 0568256958 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;Can you elaborate more on the steps that should be carried in fixing the problem?</description>
      <pubDate>Thu, 23 Aug 2007 02:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047668#M303877</guid>
      <dc:creator>Rita Li</dc:creator>
      <dc:date>2007-08-23T02:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Non existence process with wrong idle time shown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047669#M303878</link>
      <description>&amp;gt;Can you elaborate more on the steps that should be carried in fixing the problem?&lt;BR /&gt;&lt;BR /&gt;First read about utmpd(1M) demon and WARNINGS.  There are also comments that say:&lt;BR /&gt;There is a time lag which could span from a few seconds on a lightly loaded system to a few minutes on a heavily loaded system.&lt;BR /&gt;&lt;BR /&gt;You have your original backup.&lt;BR /&gt;&lt;BR /&gt;You have already erased the wtmp files.&lt;BR /&gt;You can then kill utmpd, the default is SIGTERM.&lt;BR /&gt;Make sure you are killing the right process:&lt;BR /&gt;# ps -fp $(&amp;lt; /etc/useracct/utmpd_pid )&lt;BR /&gt;&lt;BR /&gt;Then kill it:&lt;BR /&gt;# kill $(&amp;lt; /etc/useracct/utmpd_pid )&lt;BR /&gt;&lt;BR /&gt;Then take a look at the wtmp files to confirm they have your bogus user.&lt;BR /&gt;&lt;BR /&gt;Then erase the wtmp files again.&lt;BR /&gt;Then restart utmpd:&lt;BR /&gt;# /usr/sbin/utmpd</description>
      <pubDate>Thu, 23 Aug 2007 03:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-existence-process-with-wrong-idle-time-shown/m-p/4047669#M303878</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-23T03:38:26Z</dc:date>
    </item>
  </channel>
</rss>

