My problem is i need to get total usage of workstation per day. Only command available to me is the last command which would give something like the following:
root :0 Fri Apr 7 06:00 - 03:00 (08:00)
user :0 Thu Apr 6 03:00 - 23:00 (08:00)
root :0 Thu Apr 6 06:00 - 03:00 (08:00)
root :0 Wed Apr 5 06:00 - 03:00 (08:00)
I dont care about the user just the date. I would like
my ouput to look similar to the following:
Apr 7 workstation was in use for 8 hours
Apr 6 workstation was in use for 16 hours
Apr 5 workstation was in use for 8 hours
Something like the ac command (which is not availabe). thanks for any help.
In reply to total time usage by day with last by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |