As the name specifies today we are going to discuss about “Daily Process Log” interface in the WHM as well as the use of this option.
So let’s start!!
Daily Process Log: –
Daily Process Log is a common log which you can use for monitoring the performance or to solve the problems related to the load issues while managing the VPS or Dedicated Server with WHM.
It displays the information about how much each CPU and memory is consumed by the processes.
- It is important to note that Root access is must for accessing and using the Daily Process Log.
- It is also important to note that this script will only track CGI CPU/memory usage if the processes are run as the cPanel user.
Now let’s find out on which factors the process on your server depends upon:
- Configuration of WHM Configuration.
- The daemons and applications installed.
- The daemons and applications which are installed for your users.
Follow the below steps for logging in to “Daily Process Log” interface:
Log in to WHM >> WHMs’ Home interface will appear >> Navigate to the “Server Status” category >> Click “Daily Process Log” option >> Following interface will appear:
- Now if you can see you will find the daily processes for the day. You will also find two tables: The first table is set to User and it displays information about the percentage of CPU, Memory used and the average number of MySQL processes in use.
- The second table lists the top processes mainly displaying the percentage of CPU used and the process list displays the actual CPUs’ resource consumption by the process. You can sort each of these tables by user or domain as well as each column provided in the table.
Let’s discuss about how to Select the Day:
On the top of this interface you will find dates of yesterday, today and tomorrow. For viewing the information of particular date, select the appropriate link.
Let’s discuss each column related to Usage by User table in detail with description:
As discussed earlier, the Usage by User table displays the information about usage for each user on the server. It helps you to find out which users are using the most resources on your server.
Following is the description of each column:
- User: It displays the name of the user.
- Domain: It displays the primary domain for the user. It is important to note that this column displays domains for users which are cPanel accounts and this column is empty when the user is a daemon or a system user.
- %CPU: It displays the average of daily percentage of the CPU’s processing power that is consumed by the user.
- %MEM: It displays the information about the average daily percentage of RAM that is consumed by the user.
- MySQL Processes: It displays the information about the average number of MySQL processes for the user.
- Following command collects the information about the user, CPU and MEM displayed in the above table:
- This command is a part of the /usr/local/cpanel/bin/ dcpumon cron job which runs after every five minutes as the root user.
- This processes’ data is stored in the /var/log/dcpumon log file in the ASCII format by the system.
Let’s discuss about the columns in second table “Top Processes” in detail:
This table displays the information about the individual processes that consumed the most CPU on that particular day. As discussed earlier this table displays the processes that have used a large number of resources at one time. These top processes run only for a few seconds or for much longer, as a result the top process may not actually consume a notable percentage of the resources on the server for that specified day.
- User: It displays the name of the user who is running the process.
- Domain: It displays the primary domain of the user.
- % CPU: It displays the highest percentage of the CPU that the particular process used.
- Process: It displays the process the way it appears in the process list.
That’s all about “Daily Process Log”.