SELECT    COUNT(CASE WHEN State NOT LIKE 'Waiting for%' THEN 1 END) AS 'Active Workers (Doing Work)',    COUNT(CASE WHEN State LIKE 'Waiting for work%' THEN 1 END) AS 'Idle Workers',  COUNT(*) AS 'Total Configured Workers' FROM information_schema.processlist WHERE User = 'system user' ;
