Web results:
Keep in mind though that a user may still be logged in even though the auth.log file shows that they logged out, so a part of the scripts should check to see if the mounts are already mounted at a user login, another part of the script should check to see if the user is still logged in under a separate session when they close a session.
sar -P ALL -f /var/log/sa/sa10 Displays CPU usage broken down by all cores for the 10day day of the month from sa10 file. 3. Memory Free and Used (sar -r) This reports the memory statistics. “1 3” reports for every 1 seconds a total of 3 times. Most likely you’ll focus on “kbmemfree” and “kbmemused” for free and used memory.