Nice value of the X server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 Apr 2002, Christopher Keller wrote:

>Date: 25 Apr 2002 15:45:08 -0700
>From: Christopher Keller <cnkeller@interclypse.net>
>To: xfree86-list@redhat.com
>Content-Type: multipart/signed; micalg=pgp-sha1;
>    protocol="application/pgp-signature";
>	boundary="=-aCv8h3VnGJg3xj2GamH/"
>List-Id: Red Hat XFree86 list <xfree86-list.redhat.com>
>Subject: Re: Nice value of the X server
>
>Bill, 
>
>Actually I went ahead and stuck the following line in rc.local
>
>/usr/bin/renice -10 -p `/bin/ps -elf | /bin/grep /etc/X11/X | /bin/awk
>'{print $4}' | /usr/bin/head -1`

Why not just the simple:

/usr/bin/renice -10 -p $(pidof X)

;o)

-- 
Mike A. Harris                  Shipping/mailing address:
OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer              Ontario, Canada, P6C 5B3
Red Hat Inc.
http://www.redhat.com           ftp://people.redhat.com/mharris





[Red Hat General]     [Red Hat Watch]     [Red Hat Development]     [Kernel Development]     [Yosemite Camping]

  Powered by Linux