Introduction
Ever want to view the reports of your users from the command line to generate a report, perhaps?
This is what the lveinfo tool was designed for!
Procedure
Below is an article to the tool with more details on what all can be done. But below is an example of a command that might be useful:
CloudLinux Documentation: lveinfo
The following command shows the users that have hit their process memory limits as defined in CloudLinux Manager and how many times in the past day, sorted by the user with the highest number of "faults."
I have limited the output of the columns only to show the start date/time, end date/time, user name, User Process Memory usage percentage, the actual Process Memory Limit total, and the number of times it has hit the limit.
lveinfo -d -o PMemf --show-columns=From,To,ID,uPMem,lPMem,Pmemf --period 1d
Comments
0 comments
Article is closed for comments.