Highlights
Engineering Assessment Task
Title: Process information with Perl
In this assignment, you will write a Perl program that reads from a file similar to the output of Unix’ command ps (information about the processes running on a Unix computer). These are the specifications for your Perl program:
1. The file containing your program must be named pslog.pl
2. Your program must use the following syntax: pslog.pl option argument_file
Your program must check that the argument_file argument is an existing and readable file.
If not, it must print a message of your choice to the standard output and exit. The format for file argument_file and the values for the option argument are described below.
3. File argument_file can have any arbitrary name. It must be a file of text with the following format:
a. The file consists of an arbitrary, yet reasonable, number of lines (including, possibly, zero lines). Each line corresponds to a process.
b. Each line must contain four fields separated by one or more space characters.
c. The four fields are: process ID, terminal, time and command name.
d. Field process ID is a string of characters representing an integer between 0 and 32768. If the string’s length is less than 5 characters, this field is padded to the left with space characters (see the examples below).
e. Field terminal is a string of minimum 1 / maximum 8 characters representing the terminal associated with the process.
f. Field time is a string of 8 characters representing the cumulated CPU time in format hours(2 digits):minutes(2 digits):seconds(2 digits). Examples: 66:45:52; 00:00:00; 00:05:00; 08:11:01; 99:59:59.
g. Field command name is a string of characters with the name of a command.
This Engineering Assessment has been solved by our Engineering experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.