" May 2011 "

Clear Log or any file without removing or deleting it and retaining permissions

There are many other ways to do this, but an easy way to remember is this command:

How to change cPanel theme for specific user

All cPanel account information for each specific account is stored in the /var/cpanel/users/USERNAME

If you need to change the specific theme for a certain user this is the file you need to edit, and the value you need to edit is described below:


How to check cPanel CPU and Memory usage for a specific user

There are a few ways to do this and I will explain some of them for you below. cPanel has a "built in" way to view this but I will give you a way to specify the amount of days you want the stats for and a few other neat tricks.


How to check inode usage on linux for a specific cpanel user account or directory

If you’re a linux system administrator you’re probably already familiar with the term “inode”.  For those of you who are not, an inode is basically a way to measure the amount of files a user has.  This includes every email, cache file, image, and so on.  If it has a filename it is considered an inode.  Normally hosts will use this as a way to determine clients that need to be removed from backups because of the IO load they put on the server from the amount of inodes they have.

A few ways to measure this are…

Using the script I created and posted on GitHub:

Or …