Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Developer Tools > Process(or) Forensics

Process(or) Forensics

Thomas Bastian, July 21, 2008

Introduction

Optimizing application performance is a multifaceted undertaking. Among all the tools and methods available to us, getting a glimpse at performance metrics from the processor point of view allows us to highlight yet another facet of the application. Most modern microprocessors include so-called performance counters that provide event-based drill-down of the processor utilization and efficiency. On the Solaris OS, the events and performance counters are made available to a user via two commands: cpustat(1M) and cputrack(1). The former looks at system-wide statistics, whereas the latter one looks at process-wide statistics. You can see what events and performance counters are available to you by issuing the command: cputrack -h. On my system, the (shortened) output looks like:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint