|
|
Subject:
Forcing a JVM to run on a single CPU in Solaris 5.8
Category: Computers > Software Asked by: push-ga List Price: $10.00 |
Posted:
14 Mar 2006 09:09 PST
Expires: 13 Apr 2006 10:09 PDT Question ID: 707183 |
A particular OEMed component in my Java application is licensed for a single CPU. It runs in its own JVM (as a standalone program - not in a app server or servlet runner etc). Java 1.4.X. Solaris 5.8 I need the flags to pass to the JVM or other techniques to set the affinity of this JVM to a single CPU - before the JVM is launched. ( i.e techniques that detect the PID of the already launched JVM and then set CPU affinity wont work for us but perhaps a small wrapper java program that makes a system call and then launches this component etc) Looking for some pointers where people have done this reliably. |
|
There is no answer at this time. |
|
Subject:
Re: Forcing a JVM to run on a single CPU in Solaris 5.8
From: frankcorrao-ga on 15 Mar 2006 08:01 PST |
Just affine the shell you launch it from by doing psrset -b $$. affinity is inherited. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |