Presentation is loading. Please wait.

Presentation is loading. Please wait.

PROCESS MANAGER Written by Hoon-Seung Jeong

Similar presentations


Presentation on theme: "PROCESS MANAGER Written by Hoon-Seung Jeong"— Presentation transcript:

1 PROCESS MANAGER Written by Hoon-Seung Jeong www.jhs.pe.kr
OPERATING SYSTEM PROGRAMMING ASSIGNMENT PROCESS MANAGER Dept. of Computer & Information Science KOREA UNIVERSITY Written by Hoon-Seung Jeong

2 ■ TABLE OF CONTENTS SYSTEM ENVIRONMENT SYSTEM DESCRIPTION
TEST DESCRIPTION USER DOCUMENTATION SELF-EVALUATION

3 JHS.PE.KR ■ SYSTEM ENVIRONMENT AMD Turion 1.60GHz Dual Windows XP
20 JHS.PE.KR Windows XP 10 30 2.0GB RAM Visual Studio 2005 .NET

4 ■ SYSTEM DESCRIPTION (1/2)
int previousCPU( ); int currentCPU( ); int kill ( ); Check memory & CPU overloaded void tmPROCESS( ); Overloaded process kill Key Point WHILE LOOP

5 GetProcessMemoryInfo FileTimeToSystemTime
■ SYSTEM DESCRIPTION (2/2) Important Functions OpenProcess Opens an existing local process object. If the function succeeds, the return value is an open handle to the specified process. EnumProcesses Retrieves the process identifier for each process object in the system. GetProcessMemoryInfo Retrieves information about the memory usage of the specified process. TerminateProcess Terminates the specified process and all of its threads. GetProcessTimes Retrieves timing information for the specified process. FileTimeToSystemTime Converts a file time to system time format.

6 ■ TEST DESCRIPTION (CPU)

7 ■ TEST DESCRIPTION (Memory)

8 ■ USER DOCUMENTATION (1/2)
Reference MSDN

9 Go forward C++ source code processmanager.cpp
■ USER DOCUMENTATION (2/2) Go forward C++ source code processmanager.cpp

10 ■ SELF-EVALUATION 80 Why? Because reference that the most important source in senior.


Download ppt "PROCESS MANAGER Written by Hoon-Seung Jeong"

Similar presentations


Ads by Google