How to calculate the size of pins stored in peers attached to cluster?

what could be the easiest way to calculate the actual stored pins size inside a cluster peer.
StorageMax info is available inside config , freespace info is available inside metrics so what about actual occupied/stored space !?

From Thread : IPFS node/Peer storage calculations inside a cluster

Hi, have you found the solution? I am facing the same issue :frowning:

Nope , still looking for something concrete :confused:

Both StorageMax and RepoSize are available through the IPFS API (ipfs repo stat --size-only).