You can use this script to check tablespace space details in 12c Multitenant database. It will provide information of both root CDB and PDB.

OUTPUT