Hi, I was wondering if there is any way to show all the users currently logged in the containers in the host?
I’ve tried the “who” command on the host, but it only shows the users logged on the host machine, while the users logged in the containers cannot be displayed.
My solution is to write a script to do “lxc exec CONTAINER_NAME who” to all the containers on the host, but it is a bit annoying…
Are there any better solutions? thx