As there are dozens of different ways to track different stuff, this can't be answered easily. Try to open the task manager and examine the processes is a start.
But that's only for tracking software. You could also examine the data you create Server-Side and just assume stuff. Like: you are away in teams and you haven't touched files in Sharepoint for 60mins, so we assume you don't work right now.
Wish you the best of luck and some interesting finds commander o7