19
Computer & Information Te ch BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David Operating Systems: Process Explorer

Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Embed Size (px)

Citation preview

Page 1: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Computer & Information Tech

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

Computer & Information Technology ClassTeacher David

Operating Systems:

Process Explorer

Page 2: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

Operating Systems >> ProcessesIn This Class we will be learning about Processes

CPU

I/O

DLL

Byte

Process

Thread

Path

Handle

Some of the ICT terminology we will learn about includes:

We will use the Netschool Software for quick interactive class participation.

» Example: What primary Operating System do you use at home?

Page 3: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

Q: What is a Process1. A process is a program running on your computer.

2. Processes take up computer resources (RAM, CPU and Disk Space)

Example: Microsoft Word is a Process.

1. It runs on your computer and

2. It takes up memory (RAM) and CPU.

» Open MS Word

Regular versus Background Processes

A Regular Process has a window associated with it.A Background Process does not.

Window = regular process.Windowless = background process.

» Q: Is MS Word a Regular Process or a Background Process?

Page 4: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

Problem: Windows Gives up Limited Access/Information

1. We can see how many regular processes are running but how can we know how many background processes are running?

2. Also, we do not have a lot of information about the processes.

Q: How much CPU and memory is MS Word taking up?

Q: Where is the program located on the disk? (path)

Q: Who manufactured the program?

Q: How do we know this is a legitimate process and not a virus?

Q: What if this process crashes what can we do about it?

A: Process Explorer!

Page 5: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

Q: What is Process Explorer?

1. PE can give us more information about our computer.

It is a program which allows you low level access to the programs running on your computer.

Process Explorer or (PE) has 3 main advantages:

• Shows us exactly what our computer is doing.

Slow Computer?

Processes take up computer resources. The more processes running the more system resources are taken up and the slower your computer will run.

PE Shows us exactly how many processes are running and how much system resources they are consuming

Page 6: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

2. PE gives us more control over our computers.

• Program Crash? PE can help recover

Using PE you can start to understand more about computers and how they really work.

• Use the computer as a tool rather than a consumer device.

• Computer Viruses? PE can help detect and remove them.

3. PE acts as a knowledge gateway

OK so PE is great, where do I get it?

» http://technet.microsoft.com/en-us/sysinternals/bb896653.aspxHistory

Part of Windows Now

Mark sold his company to MS for $18M

Technet is MS site for developers

Free tool

Page 7: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

»Download Process Explorer to your Desktop

1. Copy the FOLDER from e:\sysinternals to your desktop

2. Find the file procexp.exe. Run it.

To save time, PE is already downloaded on our network.

3. Open the Microsoft Word Process.

(Start->All Programs-> Microsoft Office-> Microsoft Word)

Page 8: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

1. PE can give us more information about our computer.• Shows us exactly what our computer is doing.

This list shows every program running on your computer right now.

We can see:

1. regular processes (with windows in the taskbar)

2. background processes (with no windows)

Page 9: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

So what information are we looking at? 4 columns:

2. PID

3. Company Name

4. Description

1. Process

PID= Process Identification Number

Every process gets a unique PID.

Why? So Windows knows how to find it,

like a student ID number.

This is the filename of the process.

Always ends in .exe

Example: WINWORD.EXE

This is the name of the company that wrote the application.

Who wrote WINWORD.EXE?

This is a plain text based description of the process.

Q: How is the Description different than the Process Name Field?

1. PE can give us more information about our computer.

1 2 3 4

» 3 questions

Page 10: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

2. CPU

1. Working Set (Memory)This is the amount of memory (RAM) that the process is taking up in your computer.

This is how much CPU time the process is taking up (in percentage).

Processes that perform calculations take up a lot of CPU time

“heavily CPU intensive”

Which process is taking up the most CPU time?

1. PE can give us more information about our computer. > 2. Processes Take up system Resources

» Open and Successively close 4 MS Word documents, watch how working set size increases and decreases.

» Split screen into left PE right word.

» Click on the CPU column to sort by CPU Usage

» Open SuperPi

» introduce it, show the spike while calculating

πpi =3.14159265» 3 questions

Page 11: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

3. PE Shows us how various processes are relatedChild Process, Parent Process

1. PE can give us more information about our computer. > 2. Processes Take up system Resources

» Successively click on Process Column 3 times

» Collapse the System process tree.

Page 12: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

What about the Windows Task Manager?Advantages of PE versus Task manager:

- can see more processes- you can see the relationships of the

processes- you can see a LOT more information

about processes

» Compare Windows Task manager to PE side by side

Example: description or company name. Look at a process running in Task manager, we don’t know what it means. PE Shows us

1. PE can give us more information about our computer. > 2. Processes Take up system Resources

» 1 questions

So If PE is so great, why is it not default part of windows?2 Disadvantages:

1. PE takes up some resources in itself » Demonstrate

2. Maybe too much control for average users (technet).

Page 13: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

1. PE can give us a LOT more information about our computer…

We can get HIGHLY SPECIFIC details about an individual process

Information:1. Program Icon2. Program name3. Company4. Version5. Time6. Path7. Command Line8. Current Directory9. Parent10. User11. Started12. Comment13. DEP

Commands:1. Verify2. Bring to Front3. Kill Process

Page 14: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

1. PE can give us a LOT more information about our computer…

We can get HIGHLY SPECIFIC details about an individual process

What is a path?A: A path is where the process is located on the disk (hard drive)» Open Explorer, show a path

What does Verify do?-Verify if this is a genuine process or not-Does not always work-Can give a hint to viruses» Verify WINWORD

Kill Process* Remember: PE can give your more control over your computer.

If an application becomes frozen or non- responsive.

Page 15: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

1. PE can give us more information about our computer…

Threads are small processes, many thread make up one process. Like the threads in a shirt.

» Open Firefox with many windows & BCC-ICT to show threads

More Information

Performance Graph

TCP/IP

Strings etc…

Page 16: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

» View Menu -> Select Columns

1 (5 checks)

2 (7 checks)

3 (3 Checks)

4 (6 Checks)

21 Combo boxes to check

To Setup Process Explorer:

1

2

4

3

Page 17: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

The System Information Summary Window

This windows shows the activity of ALL the processes working together.

We see all the activity on the computer.

3 large graphs:

- CPU

- I/O bytes

- Physical Memory History

Total Statistics:

-Number of Threads

-Number of Processes

-Number of Handles

-Physical Available Memory

» View -> System Summary

Page 18: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

I/O1. I/O Means Disk Access

» Copy a Large File and watch I/O Streaming

2. CPU Means processing

» Pi + One other CPU Intensive Program together.

3. Physical is the amount of memory being used.

» Open a large Photoshop file, apply a filter, close

» 1 questions

Page 19: Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David

Process ExplorerProcess Explorer

Computer & Information Technology ClassTeacher David

BANGKOK CHRISTIAN COLLEGEEnglish Immersion ProgramMathayom Department

Now it’s your turn to learn Process Explorer1. Process Explorer- Questions.doc

» Example. How many threads are running on your computer?

2. Process Explorer Crossword.html

» All of the answers can be found in this power point presentation!

» 1 questions