Presentation is loading. Please wait.

Presentation is loading. Please wait.

COMP 2710 Software Construction Project 2 – Analysis of auDiskTool

Similar presentations


Presentation on theme: "COMP 2710 Software Construction Project 2 – Analysis of auDiskTool"— Presentation transcript:

1 COMP 2710 Software Construction Project 2 – Analysis of auDiskTool
Dr. Xiao Qin Auburn University

2 Learning Objectives To improve your software design skills.
To design and implement a non-trivial object-oriented program. To develop a tool to monitor disk performance in Linux. To incorporate this programming experience in your resume. To develop a reasonably user-friendly application.

3 Job Market The 100 Best Jobs In 2014 Dice.com Indeed.com
No. 1: Software developer No. 2: Computer systems analyst Dice.com 11,246 jobs are related to Linux programming Indeed.com 53,765 jobs are related to Linux programming

4 Goals of Phase 1 To design a use case to capture the requirements of project 2. To create data flow diagram. To use the argoUML tool to create a use case diagram and specify use cases.

5 Overview 1.1 (70 points) 1.1.1 (30 points) Design a use case diagram for auDiskTool. 1.1.2 (40 points) Prepare use cases. 1.2. (30 points) You must prepare a data flow diagram for your auDiskTool.

6 What is auDiskTool? A Linux utility program
To monitor disk performance (i.e., I/O transfer rates) of a Linux system To create a report (i.e., a file) containing a list of I/O performance records To help system administrators in configuring the Linux system to achieve good disk I/O performance.

7 Project Goals Long-term goal: to build a tool to monitor both processor and disk performance of Linux systems. Short-term goal: to generate report of disk activities; to offers statistical information on I/O transfer rates. After you complete this project, you may extend your auDiskTool to monitor processor performance in addition to disk performance.

8 Statistical Information
Allow users to choose a particular disk or partition to monitor. Each report item may show: Device: disk or partition name (e.g., sda). Blk_read: total number of read blocks. Blk_read/s: number of reads from the disk per second. KB_read/s: amount of data read from the disk per second. Blk_wrtn: the total number of blocks written. KB_wrtn/s: amount of data written to the disk per second.   Blk_wrtn/s: number of data blocks written to the disk per second.

9 Configure Time Interval and Count
An interval parameter: the amount of time measured in seconds between two consecutive disk reports Each disk report: contains statistics collected during the interval since the previous report is recorded. Count: the number of reports to be collected in an output file. Default values

10 File Name of an Output Report
Allow users to specify the file name of an output report. Specified with a path (default path – working dir) Default file name: “report.adt” For an existing file: inform users that reported items will be added to the existing file.

11 Specify what statistical data to be reported
Allow users to decide what data items to be included in a report. A configuration file: to store default values for these decisions.

12 A Configuration File Configuration file name: audisktool.conf Format:
Interval, count, print_blk_read, print_blk_read/s, print_kb_read/s, print_blk_write, print_blk_write/s, print_kb_write/s An example: Interval is 5 seconds, count is 10, report values of blk_read, blk_read/s, kb_read/s. Do not include the values of blk_write, blk_write/s, kb_write/s in the report.

13 Display a Report Allow users to open a report and display monitoring records. If the report file does not exist or cannot be opened, audisktool must show a warning message.

14 System Quit To safely terminate the audiskTool.
If any parameter (e.g., time interval and count) is updated, the system parameters must be saved back to the configuration file (i.e., “audisktool.conf”.)

15 Retrieve Disk Statistics
Leave the details of this issue to the design phase.


Download ppt "COMP 2710 Software Construction Project 2 – Analysis of auDiskTool"

Similar presentations


Ads by Google