O'Reilly logo

Panic! UNIX® System Crash Dump Analysis by Kimberley Brown, Chris Drake

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. adb Macros: Part One

One of the most powerful and commonly used features of adb also happens to be one of the least well documented: adb macros. adb allows the user to read in adb commands from ASCII files instead of typing them by hand. These files, adb macro files, can contain very simple one line commands or more complex sequences that in turn can read in other macros, creating several layers of nested invocations.

The gurus who analyze UNIX system crash dump savecore files daily use macros often, saving themselves a lot of time as well as wear and tear on their fingers.

Even though adb macros are simply adb commands stored in a file, writing them is still a bit of a black art in its own right. Vendors, such as Sun, even go so far ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required