Macro variables are meant to make your life MUCH easier when scripting with DTrace. Names of such variables must begin with a $ sign, and DTrace will automatically replace all the macro variables with the appropriate values when parsing your … [Continue reading] about DTrace: $target macro variable
DTrace options: flowindent
One of the most useful (for me) options in DTrace is flowindent. All it does is indent the entry to each function with "->", and mark the return from this function with "<-". Doesn't seem like much, does it? But just look at the results! The … [Continue reading] about DTrace options: flowindent
DTrace: count system calls for any process
One more variation of using DTrace allows to track which system calls are made from a certain process. Or do the same for lots of processes, if you use execname and not PIDs... Such a command line will show you all system calls made by Xorg in the … [Continue reading] about DTrace: count system calls for any process
Basic usage of DTrace
I'm slowly getting used to seeing and using DTrace in my everyday work... For example, here's a start of the most basic analysis. My setup: The system is constantly busy with something, and our task is to find what's responsible for this. How? … [Continue reading] about Basic usage of DTrace
What’s new in Solaris 10?
Here are just some of the revolutionary changes introduced in Solaris 10: DTrace - dynamic tracing DTrace allows you to dynamically trace anything and everything in real time. You can observe processes both in userland and kernel space, watch them … [Continue reading] about What’s new in Solaris 10?