CloudLinux LVE

LVE Stats

lveinfo --period=2h -u $user

LVE Faults check (all users)

(echo; read -p "What is the start date ([YY]YY-MM-DD [HH:MM]): " std;read -p "What is the end date ([YY]YY-MM-DD [HH:MM]): " endd; echo; lveinfo -f $std -t $endd -d -l100 |awk -F"|" '{print $2" | "$12" | "$13" | "$20" | "$21}'| grep -v "| 0     | 0   | 0     | 0" | grep -v " |  |  |  | "; echo)

LVE Faults check (single user)

(echo; read -p "What is the cPanel name: " cpan;read -p "What is the start date ([YY]YY-MM-DD [HH:MM]): " std;read -p "What is the end date ([YY]YY-MM-DD [HH:MM]): " endd; echo; lveinfo -f $std -t $endd -d --user $cpan | awk -F"|" '{print $2" | "$13" | "$14" | "$21" | "$22}' | grep -v "| 0     | 0   | 0     | 0" | grep -v " |  |  |  | "; echo)