Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I think if you have more than one processor or core and the process is multithreaded then it can go over 100%.
Ie, if you have a quad-core machine and your process is consuming the entirity of two cores then it will show as using 200% of your CPU. If the process is using all of all the cores then it will show as 400%.
As to how to make it use less, it really depends on your app, what is it?
What is the java application in question? Is it something you have written or is it something someone else has written?
If it isn't time sensitive and it is interfering with your other applications then you could always set its nice level so that it runs at a lower priority.
That said, unless you actually need your CPUs for something else you might as well leave it. Its probably not the best outlook but I dont like to see my fast CPUs being unused, the nearer they are to full utilisation then I know i'm getting my monies worth
"If no arguments are given, `nice' prints the current scheduling
priority, which it inherited. Otherwise, `nice' runs the given COMMAND
with its scheduling priority adjusted. If no ADJUSTMENT is given, the
priority of the command is incremented by 10. You must have
appropriate privileges to specify a negative adjustment. The priority
can be adjusted by `nice' over the range of -20 (the highest priority)
to 19 (the lowest)."
An example would be:
$ nice -n 10 nice
This would lower the priority of the 'nice' command ;-).