It's UWAweek 48

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying the 2 articles in this topic
Showing 2 of 919 articles.
Currently 1 other person reading this forum.


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
6:32am Sun 28th Aug, ANONYMOUS

Hello, Ive got a couple questions regarding the output of the project 1. When you say “name of most frequently executed command” does this refer to the command with the most number of minutes from the estimates file? Or is it that if a command is executed multiple times it’ll be mentioned more than once in the crontab file? 2. What’s the difference between "maximum number of commands running at any time" and "total number of commands invoked"? Is the “running at any time” determined by the first value in the crontab file? (I mean if I were to look at the data and find the ones running at the same time, what would I look for?) I apologize if the answers to these questions are obvious, I want to make sure I understand exactly what is expected thank you for your time!


SVG not supported

Login to reply

👍?
helpful
10:05am Sun 28th Aug, Christopher M.

ANONYMOUS wrote:
> I apologize if the answers to these questions are obvious, I want to make sure I understand exactly what is expected
Asking questions is fine, but please first watch Workshop-5 and run the (new) sample solution: [estimatecron-sample]
> 1. When you say “name of most frequently executed command” does this refer to the command with the most number of minutes from the estimates file? Or is it that if a command is executed multiple times it’ll be mentioned more than once in the crontab file?
Neither. Print the name of the command which is executed most frequently throughout the month. If two commands have the same frequency, print the name of the command appearing first in the estimates file.
> 2. What’s the difference between "maximum number of commands running at any time" and "total number of commands invoked"? Is the “running at any time” determined by the first value in the crontab file? (I mean if I were to look at the data and find the ones running at the same time, what would I look for?) >
Imagine a month of only 4 minutes, each with these numbers of commands (processes) running: min0 - 0 min1 - 2 min2 - 8 min3 - 1 then the "maximum number of commands running at any time" is 8, and the "total number of commands invoked" is 11.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy