cPanel
To count users, run the following command:
grep -Po '^(?<!#)\s\w+\s(?=:)' /etc/userplans | wc -l
Also, it may be useful to list users. To do so, run the following command:
cut -d":" -f1 /etc/userplans | sort -n | uniq
Plesk
To count users, run the following command:
plesk db "SELECT COUNT(DISTINCT cl_id) FROM domains"
DirectAdmin
To count users, run the following command:
cut -d":" -f2 /etc/virtual/domainowners | sort -n | uniq | wc -l
Also, it may be useful to list users. To do so, run the following command:
cut -d":" -f2 /etc/virtual/domainowners | sort -n | uniq
CyberPanel
To count users, run the following command:
cat /etc/passwd


![node[175421]: pthread_create: Resource temporarily unavailable 2023 08 28 12 15 - node[175421]: pthread_create: Resource temporarily unavailable](https://i0.wp.com/administrator.pejcic.rs/wp-content/uploads/2023/08/2023-08-28_12-15.png?resize=344%2C194&ssl=1)
