[101577] in RedHat Linux List
Re: Run program on startup
daemon@ATHENA.MIT.EDU (David E. Fox)
Fri Nov 27 13:56:11 1998
From: "David E. Fox" <dfox@belvdere.vip.best.com>
To: redhat-list@redhat.com
Date: Fri, 27 Nov 1998 10:54:04 -0800 (PST)
Reply-To: dfox@belvdere.vip.best.com
In-Reply-To: <Pine.LNX.3.96.981127133214.3353A-100000@network2.cs.usm.my> from "Ronnie Thum" at Nov 27, 98 01:36:23 pm
Resent-From: redhat-list@redhat.com
> I like to run rc5des as a startup program whenever i boot up my RHL.
> How can i do this ? Step-by-step instruction is appreciated.
Best way is to put the command line that starts rc5des at the
end of your /etc/rc.d/rc.local file. That ensures that upon boot
the program gets run.
> BTW, whenever i run rc5des, the CPU usage is very high. Why ?
> I've chosen 'extremely nice' option
If you see the cpu usage in top, I think that it combines the
nice CPU usage with everything else. In /proc, you'll see that
a certain percentage is used in nice, and you'll see an "N" along
with the other flags in ps's output (or top's).
I would tend to discount the fact that the cpu usage seems to
be high when running such a nice'd app. I've noticed similar behavior
too, when running programs at a low nice level.
> Ronnie
------------------------------------------------------------------------
David E. Fox Tax Thanks for letting me
dfox@belvdere.vip.best.com the change magnetic patterns
root@belvedere.sbay.org churches on your hard disk.
-----------------------------------------------------------------------
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.