Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228309

Re: update CPU affinity mask

$
0
0

Rodd,

 

I pass throw a script to locate the pid and set the cpu affiny.

When the agent start, it create a pid file under AGENT_HOME/wrapper/hq-agent.pid:


#locate wrapper pid

WRAPPERPID=`cat ~/agent.x.x/wrapper/hq-agent.pid`

#locate agent pid under parent pid control.

AGPID=`grep ps -eaf | grep $WRAPPERPID | grep "/bin/java" | awk '{print $2}' `

#set CPU affinity

taskset -c -p 0x1 $AGPID.



Second solution is possible. To avoid orphanated alert(s), I've change the alert definition like this:

"Analyze" tab -> "Definition" tab -> Select the alert -> Change condition

Alert Condition Set: Once every  3  times conditions are met within a time period of 5 min.


I hope is helpfull.

Bruno.



Viewing all articles
Browse latest Browse all 228309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>