Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
10
This would lower the priority of the 'nice' command ;-).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.