CPanel / WHM

Cpanel find recently logged in users?

Finding last logged in cpanel users

cat /usr/local/cpanel/logs/session_log | grep NEW | grep 'cpaneld' | awk '{print $1" "$6" "$8}' | tr -d '['