Skip to main content

Posts

Showing posts from November, 2011

canalmac.es y #mac en irc-hispano

Escribo esto por si alguien intenta googlear sobre Antispasm (yo!) en el canal #mac en irc.irc-hispano.org, o en canalmac.es . Después de unos cuantos años allí, y de incluso plantearme escribir en canalmac.es , la cosa se ha puesto inaguantable hasta el punto de tener que escribir esto. Si buscas consejo o ayuda para algún problema, primero que nada (y para mantenerme en mi línea): has googleado ya? ;P Y si ya lo has hecho, lo siento pero en #mac dudo que encuentres nada de interés. Poco a poco hay menos gente, y hace tiempo que no veo a nadie con idea; el último creo que era yo, modestia aparte ;P, y cada vez estoy menos por allá. Hay dos o tres personas allí que trabajan en IT de una forma u otra, pero por lo que preguntan o dicen de vez en cuando yo no confiaría en ellos, por lo menos cuando se trata específicamente de Mac OS X. Y concretamente, y ésto es lo peor: ojo con Tuti. Es operador allí, y es el... editor? de canalmac.es. Es usuario de Mac desde hace tiempo, pero creo

dtrace'ing paging to disk

How to know which processes are paging to/from disk (as opposed to other VMM management) in OS X, and how much exactly: sudo dtrace -n maj_fault'{@[execname] = count()}' reference (with examples and other options): http://wikis.sun.com/display/DTrace/vminfo+Provider I had been meaning to look for ways to do this, and tried some of the tools included in OS X (Activity Monitor, top, Instruments, vm_stat, vmmap, top, ...). But nothing really helped, and/or seemed to miss the exact level of information I was targeting (only resulting in real I/O; relationship between I/O and process; realtime... ). Finally I had the inspiration to google for "dtrace pagefaults". Bingo. (dtrace in this example isn't realtime, but is the best approximation so far, and I'm guessing some tuning should fix it. Heck, it's a one-liner!) Learning dtrace is still something I'd love to do, and once again it is tempting me to let it jump to the front of queue... (Mhm, wi