Changes

Jump to: navigation, search

OPS435 Assignment 2 for Section C

10 bytes added, 24 March
Program Name and valid command line arguments
<pre>
[eric@centos7 a1]$ python3 ./assignment2.py -h
usage: new_templateassignment2.py [-h] [-l {user,host}] [-r RHOST] [-t {daily,monthlyweekly}] [-u USERd DATE] [-su USER] [-v] F [F ...files]
Usage Report based on the last command
positional arguments:
F list of files file to be processed, if blank, will call last
optional arguments:
-r RHOST, --rhost RHOST
usage report for the given remote host IP
-t {daily,monthlyweekly}, --type time {daily,monthlyweekly} type of report: daily day or monthlyweek -d DATE, --date DATE specify date for report
-u USER, --user USER usage report for the given user name
-s, --seconds return times in seconds
-v, --verbose turn on output verbosity
Copyright 2021 - Eric Brauer
 
</pre>

Navigation menu