There’s a table in SharePoint content database where all the events are written in case if audit is turned on. But SharePoint doesn’t display real-time statistic about users on site, it gives you statistic only on the next day.

If your manager or anybody else asks you how many users are on the site, you can’t tell him to wait until tomorrow. I advice you to execute this script on your SQL-server and answer this question.