Monitor user activity in real time
To monitor how many users are logged in and what they are doing, we can use the w command. The output we get informs us of the activities of all users who are logged in.
By using the following command you can monitor user activity:
— Kishor Talole, [email protected]hoo.com