Cloudlinux Cheatsheet
Jump to navigation
Jump to search
Restart stats
service lvestats restart
See User Limit
lvectl limits USER
Change memory limit to 2G for testing purposes:
user_uid=$(id -u USER); sudo lvectl set $user_uid --pmem=2G
Check snapshots
lve-read-snapshot -u USER -f 2021-02-17 00:00 -t 2021-02-17 23:59 lveinfo -u USER -o=any_faults -f 2021-02-17 00:00 -t 2021-02-17 23:59 lveinfo --dbgov -u USER -f 2021-02-17 00:00 -t 2021-02-17 23:59
See User faults for today from past ten minutes till now
lveinfo -u USER -o=any_faults -f $(date +%y-%m-%d) $(date "+%R" -d "10 mins ago") -t $(date +%y-%m-%d) $(date "+%R")