Changes

Jump to: navigation, search

OPS435 Online Assignment 2

14 bytes added, 21:48, 19 July 2020
monthly Usage Report by User
Just as you did with <code>--user</code>, your script should also display the time in HH:MM:SS by omitting the <code>--seconds</code> option.
==== Weekly Monthly Usage Report by User ====The following is a Weekly Monthly Usage Report created for user rchan by the command:
<pre>
[rchaneric@centos7 a2]$ ./ura2.py -u rchan -t weekly monthly usage_data_file-s
</pre>
<pre>
Weekly Monthly Usage Report for rchan==============================Week # Date Usage in Seconds02/2018 07 3560Total 3560
</pre>
<pre>
[rchaneric@centos7 a2]$ ./ura2.py -u cwsmith -t weekly monthly usage_data_file
</pre>
<pre>
Weekly Monthly Usage Report for cwsmith================================Week # Date Usage in Seconds02/2018 03:02:11 228003/2018 07 1093000:38:00Total 1321003:40:11
</pre>

Navigation menu