a
mi @ s4 d dl Z d dlmZmZ dd Zdd Zdd ZdS ) N)PIPEPopenc C sf t jdstdd} t| dttd}dd | D \}}|rPtd| t|d d
dS )z
Get user count using the common CloudLinux library.
This number is more accurate for systems
with a control panel installed.
z/opt/cloudlinux/venv/binz(CloudLinux virtual environment not foundzZ/opt/cloudlinux/venv/bin/python3 -c "from clcommon.cpapi import cpusers; print(cpusers())"T)shellstdoutstderrc S s g | ]}| qS )decodestrip).0resultr r =/usr/lib/python3.9/site-packages/up2date_client/statistics.py