Re: Hungry X - Mandriva

This is a discussion on Re: Hungry X - Mandriva ; Blinky the Shark writes: > Dan Espen wrote: >> Here's the full output for what I get: >> >> home> ps -ef | grep bin/X >> dane 3613 3600 0 Jul25 tty1 00:00:00 xinit /home/dane/.xinitrc -- /usr/X11R6/bin/X :0 vt7 >> ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Re: Hungry X

  1. Re: Hungry X

    Blinky the Shark writes:

    > Dan Espen wrote:
    >> Here's the full output for what I get:
    >>
    >> home> ps -ef | grep bin/X
    >> dane 3613 3600 0 Jul25 tty1 00:00:00 xinit /home/dane/.xinitrc -- /usr/X11R6/bin/X :0 vt7
    >> root 3614 3613 0 Jul25 ? 00:09:05 /usr/X11R6/bin/X :0 vt7
    >> dane 5393 4021 0 07:08 pts/2 00:00:00 grep bin/X
    >>
    >> The point is, the grep gets three hits. In this case it's the
    >> second one that has the PID that you want.

    >
    > In top, X isn't showing high CPU usage right now (I closed that session
    > last night and reopened this one today).
    >
    > 4953 root 15 0 113m 45m 8260 S 2.7 4.5 1245:43 X
    >
    > That said:
    >
    > [root@thurston online_svcs]# ps -ef | grep bin/X
    > [root@thurston online_svcs]#


    Hmm, odd.

    How about:

    ps -ef | grep X

    or

    pgrep X

    (the last one should just return the PID.)

  2. Re: Hungry X

    Dan Espen wrote:
    > Blinky the Shark writes:
    >
    >> Dan Espen wrote:
    >>> Here's the full output for what I get:
    >>>
    >>> home> ps -ef | grep bin/X
    >>> dane 3613 3600 0 Jul25 tty1 00:00:00 xinit /home/dane/.xinitrc -- /usr/X11R6/bin/X :0 vt7
    >>> root 3614 3613 0 Jul25 ? 00:09:05 /usr/X11R6/bin/X :0 vt7
    >>> dane 5393 4021 0 07:08 pts/2 00:00:00 grep bin/X
    >>>
    >>> The point is, the grep gets three hits. In this case it's the
    >>> second one that has the PID that you want.

    >> In top, X isn't showing high CPU usage right now (I closed that session
    >> last night and reopened this one today).
    >>
    >> 4953 root 15 0 113m 45m 8260 S 2.7 4.5 1245:43 X
    >>
    >> That said:
    >>
    >> [root@thurston online_svcs]# ps -ef | grep bin/X
    >> [root@thurston online_svcs]#

    >
    > Hmm, odd.
    >
    > How about:
    >
    > ps -ef | grep X
    >
    > or
    >
    > pgrep X
    >
    > (the last one should just return the PID.)


    Could this be what you are after?
    root 17608 17607 1 18981 16592 0 19:51 tty7 00:00:11 /etc/X11/X :0
    -auth /home/jim/.serverauth.17591 -deferglyphs 16

    On my 64-bit 2007.1 system,
    lrwxrwxrwx 1 root root 22 May 25 18:04 /usr/bin/X -> ../../usr/bin/Xwrapper
    and GOK what Xwrapper does as it is an ELF 64-bit LSB executable.


    Cheers!

    jim b.
    --
    UNIX is not user-unfriendly; it merely
    expects users to be computer-friendly.

  3. Re: Hungry X

    Dan Espen wrote:
    > Blinky the Shark writes:
    >
    >> Dan Espen wrote:
    >>> Here's the full output for what I get:
    >>>
    >>> home> ps -ef | grep bin/X
    >>> dane 3613 3600 0 Jul25 tty1 00:00:00 xinit /home/dane/.xinitrc -- /usr/X11R6/bin/X :0 vt7
    >>> root 3614 3613 0 Jul25 ? 00:09:05 /usr/X11R6/bin/X :0 vt7
    >>> dane 5393 4021 0 07:08 pts/2 00:00:00 grep bin/X
    >>>
    >>> The point is, the grep gets three hits. In this case it's the
    >>> second one that has the PID that you want.

    >>
    >> In top, X isn't showing high CPU usage right now (I closed that session
    >> last night and reopened this one today).
    >>
    >> 4953 root 15 0 113m 45m 8260 S 2.7 4.5 1245:43 X
    >>
    >> That said:
    >>
    >> [root@thurston online_svcs]# ps -ef | grep bin/X
    >> [root@thurston online_svcs]#

    >
    > Hmm, odd.
    >
    > How about:
    >
    > ps -ef | grep X


    That just got nine lines of stuff (not counting the wrapping).

    X was down in the 0.n percent CPU processes when I just ran top, and it
    imediately jumpted to the top of the list, but still at only about one
    percent. So I can't look for gremlins right now.

    > or
    >
    > pgrep X
    >
    > (the last one should just return the PID.)


    [root@thurston online_svcs]# pgrep X
    4953

    --
    Blinky RLU 297263
    Killing all posts from Google Groups
    The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html

+ Reply to Thread