AEM_How many templates or components are currently used

Solution :

How many templates are currently used


To see the number of templates currently on the server use a repository query; via CRXDE - Tools - Query:
  • Type XPath
  • Path /
  • Query //element(*, cq:Template)

How many components are currently used


To see the number of components currently on the server use a repository query; via CRXDE - Tools - Query:
  • Type XPath
  • Path /
  • Query //element(*, cq:Component)

AEM_What is the average size of the assets

Solution :



  • To determine the total size of the /var/dam folder:
  • Use WebDAV to map the CQ repository to the local file system. 
  • Use the command line:

               cd /Volumes/localhost/var
               du -sh dam/

  • To get the average size, divide the global size by the total number of assets in /var/dam (obtained above).

AEM DAM, how many assets do you currently maintain in CQ DAM

Solution:

To see how many DAM assets you currently maintain, use a repository query; via CRXDE - Tools - Query:
  • Type XPath
  • Path /
  • Query /jcr:root/content/dam//element(*, dam:Asset)