Changes

Jump to: navigation, search

OPS435 Python Assignment 2

51 bytes added, 16:50, 11 November 2018
Overview
==Overview==
Most system administrators would like to know the utilization of their systems by their users. On a Linux system, each user's login records are normally stored in the binary file /var/log/wtmp. The login records in this binary file can not be viewed or edited directly using normal Linux text commands like 'less', 'cat', etc. The 'last' command is often used to display the login records stored in this file in a human readable form. Please check the man page of the 'last' command for available options. The following listing is the contents of the file named "usage_data_file", which is a sample output of the 'last' command with the '-Fiw' flag on:
<pre>
$ last -Fiw
1,760
edits

Navigation menu