Changes

Jump to: navigation, search

OPS435 Assignment 2 for Section C

134 bytes removed, 24 March
Daily Usage Report by Remote Host
The following is a Daily Usage Report created for the Remote Host 10.40.105.103 by the command:
<pre>
[eric@centos7 a2]$ ./a2.py -r 10.40.105.130 -t daily usage_data_file -s
</pre>
Daily Usage Report for 10.40.105.130
====================================
Date Usage14/02/2018 10931 3:02:1113/02/2018 79692:12:49Total 18900 5:15:00
</pre>
 
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.
==== Monthly Usage Report by User ====

Navigation menu