![]() ![]() System-wide: iostat 1, "us" + "sy" per-cpu: DTrace Activity Monitor → CPU Usage or Floating CPU Window per-process: top -o cpu, "%CPU" Activity Monitor → Activity Monitor, "%CPU" per-kernel-thread: DTrace profile stack() This will hopefully get easier in the future, as tools include a USE method wizard or the metrics required to follow this easily. ![]() Many metrics require some math, inference, or quite a bit of digging. Some of the metrics are easy to find in various GUIs or from the command line (eg, using Terminal if you've never used Terminal before, follow my instructions at the top of this post). Further notes about tools are provided after this table. This draws upon both command line and graphical tools for coverage, focusing where possible on those that are provided with the OS by default, or by Apple (eg, Instruments). This is my example USE Method-based performance checklist for the Apple Mac OS X operating system, for identifying common bottlenecks and errors. USE Method: Mac OS X Performance Checklist ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |