System - network administrator, Computer Networking

Assignment Help:

The program must be well documented which includes meaningful variable and subroutine names ("self documenting code") along with comments in the code. The following block of code will appear at the start of your program to which you will add meaningful descriptions (formatting, spelling and grammar will count here!! - the target of your descriptions is someone who can program at a basic level, but is not familiar with Perl - so be verbose where necessary :)

Format your code so it is readable - indent your code in blocks so that the "{" and "}" line up correctly. Use the code examples in the textbook as a guide. You are also allowed to put blank lines in the code where necessary to enhance readability. This makes the program easier to read in the same way that the blank lines I have placed between the paragraphs of this document make it easier to read.  i.e., use whitespace appropriately!

The messages log file will contain various records (lines) and fields (information) but not all the records or fields are needed to produce the required reports. The log file is to be processed to produce the requested report on screen. Only relevant records that correspond to the service that is of interest are to be processed, while all other records are to be skipped and not counted toward the statistics created.

Store the example messages log file in the" /home/user/assignment1 " directory along with your Perl program, but the program should work with the filename given as a commandline argument, or get the logs from the command line if no filename is given. That is the program could also receive the file from, for example piping "cat /var/log/messages | log-message-stats.pl".

 


Related Discussions:- System - network administrator

Determine the advantages of fast ethernet, Fast Ethernet Operates a...

Fast Ethernet Operates at 100 Mbps faster speeds required for image processing, CAD, real-time audio and video No change in frame addressing, format or access method

Permutation representation through matrix, Q. Permutation representation th...

Q. Permutation representation through Matrix? Figure: Clos Network The functioning of this above permutation is displayed in Figure. This permutation is able to

Distributed data processing, In distributed data processing, explain two sc...

In distributed data processing, explain two scenarios where vertical partitioning and horizontal partitioning are used. Distributed Data Processing The distributed data pro

Shared memory programming, We know that all processors share a common memor...

We know that all processors share a common memory in shared memory model. Every processor, however, can be assigned a different part of the program stored in the memory to implemen

How a token ring networks allows sharing of bandwidth, Question: (a) E...

Question: (a) Explain how a Token Ring networks allows sharing of bandwidth (access control). (b) (i) CSMA/CD is not appropriate for wireless communication. Explain wh

State the benefits of infrared light, State the benefits of Infrared light ...

State the benefits of Infrared light Infrared light does not penetrate walls or other opaque objects. This has two benefits: First, infrared communications can be more simply

Elaborate the term - database connectivity, Elaborate the term - Database C...

Elaborate the term - Database Connectivity Basic connectivity A number of database management systems are available today such as the Oracle, Sybase, Ingres, etc. Most

Determine the value of slow start threshold, Assuming that TCP Reno is used...

Assuming that TCP Reno is used, consider the following diagram illustrating the behaviour of congestion window, and answer the questions below. a)  What was the value of sl

Cpm-pert network analysis problem, Solve the following CPM/PERT Network Ana...

Solve the following CPM/PERT Network Analysis problem: Given the following network and activity time estimates, determine earliest and latest activity times, slack, the expecte

Explain stop--and--wait automatic repeat request, Q. Explain Stop--and--Wai...

Q. Explain Stop--and--Wait automatic repeat request? 1. Numbering frames prevents the retaining off duplicate frames. 2. Numbered acknowledgement are needed in case of delay

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd