CPU Monitor


After looking at software updates and backing up data, we'll round out our system management discussion with a discussion of system resources. With the multitasking capabilities of Mac OS X, you find it interesting to check just how much of your computer's processor time is being used. In Mac OS X, each program has a small slice of time it can use to complete its task. As more and more programs use the system, there are fewer slices to give out.

CPU Monitor, found in the Utilities folder of the Application folder on your hard drive, can illustrate how busy your system is on a simple graph, showing a range from 0% to 100%. (If you have a computer with multiple processors, a graph is displayed for each CPU in your machine.) Three types of graphs can be displayed in a number of different ways (configurable through the Preferences panel and Processes menu). Figure 28.5 shows several available graph styles.

Figure 28.5. The CPU Monitor has a number of ways to display how busy your computer is.

graphics/28fig05.gif

Most users are comfortable with the Standard view. In this mode, the CPU monitor displays a window with a vertical graph of the CPU activity. If you prefer to keep the monitor visible at all times, choose the Floating Window view, which creates just the graph itself as a floating image that can be positioned anywhere on the screenincluding the menu bar. An alternative to the Floating Window view is the Icon view of either the standard or expanded view, which can be set in the application Preferences panel. These views take advantage of the Dock's ability to display dynamic information in its icons. The CPU activity is graphed within CPU Monitor's Dock icon instead of taking up additional screen space.

The Standard and Floating Window views show an average of all the activity on your computer. The Expanded Window view differentiates between three types of processes:

  • System Processor usage by the system functions, such as drawing windows and making the beautiful Aqua interface.

  • User CPU time used by your (and other users') processes and applications.

  • Nice CPU time used by processes running with an altered scheduling priority. These processes have been changed at the command line by using the nice or renice commands, so it's unlikely you'll see anything here.

You can control the windows displayed, their orientation, and their appearance through a combination of Preferences settings and the use of the Processes menu.

Task: Adding the CPU Monitor to Your Menu Bar

I prefer putting a horizontal processor graph in my menu bar. To configure your system similarly, follow these steps:

  1. Open the CPU Monitor application.

  2. Choose Toggle Floating Window (Command-F) from the Processes menu to display the floating CPU usage window.

  3. Open the application Preferences panel, and click the Floating View tab.

  4. In the Display the View section, click the Horizontally radio button.

  5. Close the Preferences panel.

  6. Click and drag the floating processor graph onto your menu bar.

You can set the CPU Monitor to launch automatically upon login using the Login Items Preferences panel to set the CPU Monitor application to automatically launch when you log in.

By using the CPU Monitor Preferences panel, you can change the CPU graph's colors, its level of transparency, its position, and whether it's displayed as part of the Dock icon. The monitor helps keep track of your system's resources, and if you're using it as a server or to run software in the background, it lets you know whether you should consider upgrading your system's capacity.



Sams Teach Yourself Mac OS X Digital Media. All In One
Sams Teach Yourself Mac OS X Digital Media All In One
ISBN: 0672325322
EAN: 2147483647
Year: 2003
Pages: 349

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net