This is a discussion on "w" command hangs for 3 seconds and then goes ahead... within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, Could anyone please answer the question why during printing current system activity ststus with "w" command it lists ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, Could anyone please answer the question why during printing current system activity ststus with "w" command it lists a few lines then hangs for 3 seconds and after it lists the rests of lines? How to investigate and solve this problem? AIX 5.2, ML_01 regards, O. |
| |||
| Ogien <ogniemi@poczta.onet.pl> wrote: O> Hello, O> Could anyone please answer the question why during printing current O> system activity ststus with "w" command it lists a few lines then O> hangs for 3 seconds and after it lists the rests of lines? How to O> investigate and solve this problem? O> AIX 5.2, ML_01 Altogether now: $ truss w Regards, Nicholas -- "Why shouldn't I top-post?" http://www.aglami.com/tpfaq.html "Meanings are another story." http://www.ifas.org/wa/glossolalia.html |
| |||
| Nicholas Dronen <ndronen@io.frii.com> wrote in message news:<3f969275$0$201$75868355@news.frii.net>... > Ogien <ogniemi@poczta.onet.pl> wrote: > O> Hello, > > O> Could anyone please answer the question why during printing current > O> system activity ststus with "w" command it lists a few lines then > O> hangs for 3 seconds and after it lists the rests of lines? How to > O> investigate and solve this problem? > > O> AIX 5.2, ML_01 > > Altogether now: > > $ truss w > > Regards, > > Nicholas Truss seems like too much science for a common condition -- I get this in 4.3.3 frequently and it represents an orphaned telnet session. Do a ps -ef |grep pts/xx where pts/xx is the session listed immediately after the delay. If you ps -ef |grep the Parent PID you should see a telnet -a process. If you kill this process the ghost session goes away as does the delay in the "w" command. |
| ||||
| johnthompson <john.thompson@sunhealth.org> wrote: j> Nicholas Dronen <ndronen@io.frii.com> wrote in message news:<3f969275$0$201$75868355@news.frii.net>... >> Ogien <ogniemi@poczta.onet.pl> wrote: >> O> Hello, >> >> O> Could anyone please answer the question why during printing current >> O> system activity ststus with "w" command it lists a few lines then >> O> hangs for 3 seconds and after it lists the rests of lines? How to >> O> investigate and solve this problem? >> >> O> AIX 5.2, ML_01 >> >> Altogether now: >> >> $ truss w j> Truss seems like too much science for a common condition -- I get this j> in 4.3.3 frequently and it represents an orphaned telnet session. Do j> a ps -ef |grep pts/xx where pts/xx is the session listed immediately j> after the delay. Any administrator who doesn't first think of using truss to debug an hanged process has a toolbox that's one tool short. I have no problem understanding the output, so for me it's barely science. Regards, Nicholas -- "Why shouldn't I top-post?" http://www.aglami.com/tpfaq.html "Meanings are another story." http://www.ifas.org/wa/glossolalia.html |