Displaying 1 result from an estimated 1 matches for "mstragent".
Did you mean:
astra_ent
2009 Nov 18
7
Measuring cpu migrations
...is the correct track to be on here?
My aim is to look at a process and look at upping the reboose_interval on some of our servers.
#!/usr/sbin/dtrace -s
sched:::off-cpu
{
self->cpu = cpu;
self->timestamp=timestamp;
}
sched:::on-cpu /self->cpu != cpu && execname=="mstragent"/
{
printf("%s migrated from cpu %d to cpu %d nsec:%d \n",execname,self->cpu,cpu,timestamp-self->timestamp);
printf("%s migrated from cpu %d to cpu %d ms:%d \n",execname,self->cpu,cpu,(timestamp-self->timestamp)/1000000);
self->cpu = 0;
self-&...