The following below steps need to follow to Check Customers Online in Magento 2.x / Adobe Commerce 2.x
Step [1] – Go To Left Panel Customers > Customers > Now Online

Step [2] – Once Clicked on Customers redirects on Customers Now Online Page

Step [3] – Finally, you can check Total Number of Customers Online