# psrinfo -vp
# psrset -c <CPUID separated by comma>
#psj
#psrset -b <Processor Set ID> <PID of Application>
#psrset -c 1-5
This will create processor set ID 1 having CPU 1,2,3,4 and 5.
#psrset -c 6
This will create processor set ID 2 having CPU 6
#psrset -c 7
This will create processor set ID 3 having CPU 7
#psj
#jstack <PID> > jstack.txt
#vi jstack.txt | grep "application level search to find out your critical thread"
Get the corresponding NID value and convert into decimal
#prstat -p <PID> -L
It will list all the LWP's for the given PID.
#psrset -b <Processor Set ID(1)> <PID of Application>
#psrset -b <Processor Set ID(2)> <PID of Application/LWP(Decimal vlaue of NID)>
#psrset -b <Processor Set ID(3)> <PID of Application/LWP(Decimal vlaue of NID)>
#pserset -e <Processor Set ID> java application name.
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (0)