Mutex statistics script

2002-05-25 Thread Garrett Wollman
[Please direct followups to -chat.] < said: > Here's a list of the ten most frequently acquired mutices (over a ObLanguagePeeve: ``Mutex'' is a portmanteau of ``MUTual EXclusion''; a Latinate plural is thus entirely inappropriate. The plural of ``mutex'' is ``mutexes''. -GAWollman To Unsub

Mutex statistics script

2002-05-25 Thread Dag-Erling Smorgrav
The attached script sorts the data from the debug.mutex.prof.stats sysctl variable according to the selected key (the default being the mutex name) The -g option causes the script to strip off the source file and line and accumulate totals for each mutex. The -r option reverses the sorting order