PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49

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 2 other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful

the sample solution appears to count 2 distinct processes as one process if they start at the same time despite having different names and runtimes... crontab: 0 4 * 8 * process-1 0 4 * 8 * process-2 estimates: process-1 1 process-2 2 output: " command invocations: process-1 30 process-2 30 process-1 60 2 " is this a bug? what are we expected to return as the most frequent command if multiple commands have the same number of monthly invocations?


SVG not supported

Login to reply

👍x1
helpful

I think you've misunderstood the project's requirements. The second word of the final output line is the "the total number of commands invoked" (Project Requirements #10), and this example correctly reports 30+30 = 60. It's not the total number of times the most frequent command is invoked.

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