Monitoring System Performance: This Lab Contains The Following Exercises and Activities
Monitoring System Performance: This Lab Contains The Following Exercises and Activities
Monitoring System Performance: This Lab Contains The Following Exercises and Activities
LAB 23
MONITORING SYSTEM PERFORMANCE
In addition to the computers, you will also need the software listed in Table 23-2 to complete Lab 23.
SCENARIO
After completing this lab, you will be able to:
View Windows logs using Event Viewer View performance using Task Manager, Resource Manager, and Performance Monitor Use Reliability Monitor for potential problems
Exercise 23.1
Overview
1.
On WKSTN-MBR-B, log on using the Adatum\administrator account and the Pa$$w0rd password. Type Administrative Tools and then press Enter. When the Administrative Tools window opens, double-click Event Viewer.
2. 3.
4.
Expand the Windows Logs folder and then click the System log (see Figure231). The contents of the log appear in the detail pane.
Question 1
5.
Click the Action menu and choose Filter Current Log. The Filter Current Log dialog box appears. In the Event Level area, select the Critical check box and then select the Warning check box. Click OK. Question 2
How many events appear in the System log now?
6.
7.
Click Action > Create Custom View. The Create Custom View dialog box appears.
8. 9.
In the Logged drop-down list, click Last 7 days. In the Event Level area, click the Critical check box and then select the Warning check box.
10. Leave the By log option selected and, in the Event logs drop-down list, under Windows Logs, select the Application check box, the Security check box, and the System check box. 11. Click OK. The Save Filter to Custom View dialog box appears. 12. In the Name text box, type Critical & Warning and then click OK. The Critical & Warning view you just created appears in the Custom Views folder. 13. Take a screen shot of the Event Viewer by pressing Alt+Prt Scr and then paste it into your Lab 23 worksheet file in the page provided by pressing Ctrl+V. 14. In the Windows Logs section, right-click System and choose Clear Filter. 15. Close Event Viewer. End of exercise. Leave WKSTN-MBR-B running and logged in for the next exercise. In addition, leave the Administrative Tools folder open for later exercises.
Exercise 23.2
Overview
Mindset
Completion time
1.
Question 4
2.
Question 5
3.
Mouse over the lower-left corner of the desktop and click the Start screen thumbnail that appears there. Type wordpad and then press Enter. Question 6
In the Apps section, which process is used for WordPad?
4. 5.
On the Task Manager page, click Fewer details. Right-click Windows Wordpad Application and choose End Task.
6. 7.
Click More details. Right-click Windows Explorer and choose Open file location. The Windows folder opens. Close the Windows folder. Right-click the Name column title at the top of the first column and choose Process name.
8. 9.
11. Take a screen shot of the Performance tab by pressing Alt+Prt Scr and then paste it into your Lab 23 worksheet file in the page provided by pressing Ctrl+V. 12. In the left pane, click Memory and then click Ethernet to view each option. 13. Click the Users tab. 14. Expand Administrator to display the programs and processes being executed by the administrator. 15. To see a detailed list of all processes running, click the Details tab. 16. To display additional columns, right-click the Name column title and choose Select columns. 17. When the Select columns dialog box opens, click to select the Session ID column and select the Threads column. Click OK. 18. To sort by components that make up the most memory, click the Memory (private work set) title. 19. From time to time, a program or action might cause Windows Explorer to stop functioning. In these cases, you can use Task Manager to stop and restart Explorer. Therefore, find and right-click explorer.exe and then choose End task. 20. When you are prompted to end explorer.exe, click End process. 21. Click File > Run new task. 22. When the Create new task dialog box, in the Open text box, type explorer and then click OK. 23. To view the current services, click the Services tab.
24. Close Task Manager. End of exercise. Close any open windows before you begin the next exercise.
Exercise 23.3
Overview
Mindset
Completion time
To monitor various performance counters, perform the following steps: 1. On WKSTN-MBR-B, using Administrative Tools, double-click Performance Monitor. Browse to and click Monitoring Tools\Performance Monitor (see Figure 23-3).
2.
3.
At the bottom of the screen, click % Processor Time. To remove the counter, click the Delete (red X) button at the top of the Window. Click the Add (green plus (+) sign) button on the Toolbar. The Add Counters dialog box appears. Under Available counters, expand Processor, click % Processor Time, and then click Show description. Read the description for % Processor Time. Click Add. % Processor Time should show up in the Added counters section. Under Available Counters, expand the Server Work Queues and then click the Queue Length counter. Under Instances of selected objects, click 0. Then click Add. Add the following counters:
4.
5.
6. 7.
8.
9.
System: Processor Queue Length Memory: Page Faults/Sec Memory: Pages/Sec PhysicalDisk (_Total): Current Disk Queue Length
10. Mouse over the lower-left corner of the desktop, right-click the Start screen thumbnail that appears there, and then click Command Prompt (Admin). 11. At the command prompt, execute the following command: dir c:\ /s You should see a spike in CPU usage. 12. At the top of the graph, you see a Toolbar with 13 buttons. Click the down arrow of the Change graph type (third button) and then click Histogram bar. 13. Change the graph type to Report. 14. Change back to the Line graph. 15. Click the Properties button (the fifth button from the end) on the Toolbar. The Performance Monitor Properties sheet appears. Notice the counters that you have selected. 16. Click Processor (_Total)\%Processor Time. 17. Change the width to heaviest line width. Change the color to Red.
18. Click the Graph tab. 19. In the Vertical scale box, change the value of the Maximum field to 200 and then click OK. 20. Close the Administrator: Command Prompt window.
To create and use a Data Collector Set, perform the following steps: 1. 2. On WKSTN-MBR-B, in the left pane, expand Data Collector Sets. Right-click the User Defined folder, choose New and then click Data Collector Set. In the Name: text box type MyDCS1. Click Create manually (Advanced) and then click Next. Select Performance Counter and then click Next. To add counters, click Add. Under Available Counters, expand the Processor node by clicking the down arrow next to Processor. Scroll down and click %Processor Time. Click Add. Add the following counters.
3. 4. 5. 6.
7.
8. 9.
Server Work Queues: Queue Length counter System: Processor Queue Length Memory: Page Faults/Sec Memory: Pages/Sec PhysicalDisk (_Total): Current Disk Queue Length
10. Right-click MyDCS1 and choose Start. 11. Let it run for at least two minutes. 12. Right-click MyDCS1 and choose Stop. 13. Open File Explorer and navigate to c:\PerfLogs\Admin\MyDCS1. Then open the folder that was just created. 14. Double-click DataCollector01.blg. The Performance Monitor graph opens.
Question 8
Now that the DCS has been created, what advantages does the MyDCS1 have?
15. Take a screen shot of the Performance Monitor window by pressing Alt+Prt Scr and then paste it into your Lab 23 worksheet file in the page provided by pressing Ctrl+V. 16. Close the Performance Monitor graph and then close the MyDCS1 folder. 17. Close Performance Monitor. End of exercise. Leave the Administrator Tools window open. You can close any other open windows before you begin the next exercise.
Exercise 23.4
Overview
1.
2.
On the Resource Monitor page (see Figure 23-4), click the CPU tab.
3.
To sort the processes alphabetically, click the Image title at the top of the first column in the Processes section. Click the Memory tab. Question 10
Which process is using the most memory?
4.
5.
6.
Click the Network tab and then expand Listening Ports. Question 12
Which image is listening on port 53?
7.
Take a screen shot of the Resource Monitor window by pressing Alt+Prt Scr and then paste it into your Lab 23 worksheet file in the page provided by pressing Ctrl+V. Close the Resource Monitor.
8.
End of exercise. Close any open windows before you begin the next exercise.
Mindset
Completion time
To complete this challenge, you must have a virtual machine on your computer running Windows 8. You will write out the procedure to open Reliability Monitor and generate a system health report. Then you will take a snapshot of the Resource and Performance Monitor System Diagnostics Report page by pressing Alt+Prt Scr and then paste the resulting image into the Lab 23 worksheet file in the page provided by pressing Ctrl+V. End of lab. You can log off or start a different lab. If you want to restart this lab, youll need to click the End Lab button in order for the lab to be reset.