Changes

Jump to: navigation, search

OPS435 Assignment 1 A

227 bytes added, 07:09, 20 February 2018
Daily Usage Menu
When option <b>r</b> is selected, the main menu should be displayed.
 
Redisplay the same menu if the user entered any other letters.
==== Daily Usage Report by User ====
Daily Usage Report - by User
============================
List of valid 0) All users:1) user1 2) user2 3) user3 user4 ...
...
9) user9
r) Return to Daily Usage Report Menu
</source>
<b>Valid userNote</b>: If there are fewer than 9 users, display only the actual number of users on the menu. When option <b>r</b> is regular user (super user and system users selected, the previous Daily Usage Report menu should not be included) who are allowed to login to the systemdisplayed.
When option one of <b>r0-9</b> is selected, the Daily Usage Report menu for the selected user(s) should be displayedgenerated. Redisplay the same menu if the user entered any other digits/letters.
When a <b>valid user</b> is selected, the Daily Usage Report for the selected user should be generated. The following is a sample Daily Usage Report for user1 on host.cty.senecacollege.ca:
<pre>
Daily Usage Report for user1 on host.cty.senecacollege.ca
Daily Usage Report - by Remote Host
===================================
Valid 0) All Remote Host:1) 10.94.10.252) 10.94.10.1203) 172.16.99.1192.168.45.3
...
9) 192.168.45.3
r) Return to Daily Usage Report Menu
</source>
<b>Valid Remote HostNote</b>: If there are fewer than 9 remote hosts, display only the actual number of remote host on the menu. When option <b>r</b> is any host that any selected, the previous Daily Usage Report menu should be displayed. When one of <b>valid user0-9</b> used to login to is selected, the Daily Usage Report for the systemselected Remote Host(s) should be generated.
When option <b>r</b> is selected, Redisplay the Daily Usage Report same menu should be displayedif the user entered any other digits/letters.
When a <b>valid Remote Host</b> is selected, the Daily Usage Report for the selected Remote Host should be generated. The following is a sample Daily Usage Report from Remote Host 10.94.10.25 on host.cty.senecacollege.ca:
<pre>
1,760
edits

Navigation menu