Lxd info for all containers at one time

I have several containers on server and I’d like to get some table of used resources.
I can get all needed information by calling lxc info $ct.

How to get this information for all containers at once? Without calling lxc info multiple times.

What information are you trying to get out exactly?
There’s a good chance that lxc list can display it.

I need table of current/max used resources: disk, cpu, memory, eth0 network.

Yeah, so you can only get part of the way there with lxc list.
You can pull all the data in one show with lxc list --format=json or lxc list --format=yaml though, but you’d then need to handle parsing yourself.

thanks, this is what I need!