CPU Stats Web Interface

From Wiki

Jump to: navigation, search


Contents

CPU Stats - Admin Portal Web Interface

The CPU Stats interface under the 1H sysadmin portal will provide you with system usage graphics for all servers added under Server Groups for the portal. There are several sub-categories for which you can explore the graphics and the overall resource usage for the servers and they are separated in tabs under the CPU Stats interface.

Settings

The general settings for the CPU Stats are accessible via the gear button in the upper right corner of the screen. There you can adjust the minimum and maximum values for realtime and executions count. The portal will show you graphs only for servers that have the respective value in the provided range. You can also alter the maximum number of charts per page there. Use the Save button to apply the changes you made to the general settings.

Portal settings.png

Note that all Settings are saved in the cookies for the web page. In other words Settings are saved per browser and if you use another browser to open the same page or open it from a different computer you will have to adjust the settings anew. This is made so different users can setup specific settings according to their needs and preferences.

Statistics

Services

Hive is logging information about the following services (you will find them as tabs under the web interface for Hive):

Note: Usually there is a little to no difference between the ALL and HTTP tabs. This is because the executions of cron are much less then the ones made by Apache.

Types

Details

Under each tab the data is separated in 3 different sections.

Daily CPU stats

This part of the interface shows statistics for the last day for each server. By default you will see graphs for the total number of Executions and the Real Time CPU Usage for the server.

There are 2 more important options for the interface in the upper right corner. The first one is the “Detailed” check box. If checked, more detailed information will be provided in the graphics for the servers. Namely the graphs will include information about the User Time and the System Time on each server.

The “Sort by” button will allow you to sort the graphs in ascending or descending order using one of three different criteria – Usertime, Systemtime and Executions count.

Portal serverstats.png

From this part of the interface you can click on each server name. This will bring you to the local CPU Stats interface for the server where you can explore the statistics in more details.

Daily User Stats

This part of the interface will show graphs for the top 15 users on each server. Again, you will see total Executions and Real Time graphs by default.

Checking the “Detailed” box will display the System Time for each user listed in the graphs. The “Sort by” button will allow you to sort the results by Realtime and Executions count.

You can hover with the mouse pointer over the graphs for more information such as exact realtime usage in seconds and total number of executions per user.

Portal userstats01.png

Again, clicking on the server name will send you to the local CPU Stats interface for the server.

Top users

This part of the interface will show the top users for all monitored servers. The graph itself will display the Executions and the Realtime by default and it will include System Time if the “Detailed” box is checked.

Below the graph you will find a more detailed table that will show the server where the particular users are located, username, Realtime, Executions and the average time each execution takes on the server. With the detailed box checked, the Systime info will be included in the table.

Portal topusers.png

Clicking on a server name will bring you to the local CPU Stats interface for the corresponding server.

This is a particularly useful functionality when you are trying to determine which user exactly might be causing troubles on your shared server. Using these statistics will greatly help identify users that are causing system overload. Even more detailed statistics can be found in the CPU Stats Local Interface for the server.

CPU Stats - Local Server Web Interface

The local CPU Stats interface for each server will provide you with more detailed information than the one you can see at the master interface integrated in the sysadmin portal.

Statistics

Much like in the main sysadmin portal – you will see statistics separated in tabs per service. The first tab will show statistics for all services. The HTTP tab will provide statistics for the HTTP requests only. Here you will see graphics for the Apache/webserver only. The Cron tab will provide statistics for CPU usage generated by cron job executions. The local interface uses the same Stats Types.

Usage

The local Hive interface for a hosting server will provide you with much more detailed information than the one generated for you in the admin portal. The purpose is to be able to determine with high accuracy the users on the server that are consuming the most server resources. Detailed graphs are available for each service and separated in sections as shown below.

Server Stats

This section will show detailed information about the total server resource usage. The graph will display information about the total executions count and the real time taken for those executions. If the "detailed" box in the upper right is checked you will also see the user time and the system time graphs for the server.

If you click on the Server Stats button you will see 2 different options - daily and weekly stats. As the name suggests those will show respective the statistics for the last day and the last week.

In both cases you will see a graph that will display the server resource usage for the specified period.

Local serverstats.png

Also, regardless of the chosen period you will get detailed statistics for each hour in the table below the graph. Each column will show information as follows:

Local serverstats 02.png

You can click on each column in order to sort results in either ascending or descending order. Usertime and Systime will be displayed only when the "detailed" box in the upper right is checked. You can arrange columns order by dragging and dropping them at the desired position.

Last but not least, each Date entry is an active link that will bring statistics for this exact time. The new page will display users statistics for this time frame. This way you will be able to determine exactly which users were using the most resources at that time.

A new graph will be displayed that shows executions, realtime (and systime if the detailed box is checked) but here the graph will show the top 25 users on the server for the specific time frame. Hovering with the mouse over the graph and in the table below you find more detailed information about each user. If you click on the username a new page will load that will give you the possibility to view daily and weekly statistics for the specific user.

User Stats

Here you can check the overall statistics for the top 25 users on the server regarding CPU time consumption and total script executions. Again the report can be generated for the day and for the last week. Clicking the User Stats button will allow you to choose Daily or Weekly stats.

Much like the specific functionality displayed in the previous section for Server Stats the graphs generated here will show executions, realtime (and systime if the detailed box is checked) for the top 25 users on the server.

Local userstats01.png

The table below the graph will include the following information:

Local userstats02.png

You can sort the data by each column in both ascending and descending order, adjust columns order by dragging and dropping them and click on the username to bring up the statistics for the specific user. Again, you will be able to view detailed statistics for the user on a daily and weekly basis.

Auto Actions Stats

Here you can check the overall statistics for the actions that were taken towards users that exceeded the limitations you set via Automated Actions. You can choose to view Users that has exceed the hourly or daily limits for a specified period of time.

Everything that you will see in the graphs is the total count of actions taken towards specific user for the chosen period of time.

Local autoactionstats01.png

The chart below will provide you with more information about each automated action.

Local autoactionstats02.png

The information provided in the columns as follows:

History

This functionality will allow you to obtain more specific information. For example, if you need the statistics for only one day in the past or the resource usage for a specific user for a 5-day time frame one week ago - this is where you can get the needed information.

There are 2 options available:

Local calendar.png

The newly-generated window will provide user statistics for the chosen period.

Note that when you are viewing specific user's statistics, there will be 2 graphs showing respectively the Realtime and the Executions. On those graphs you will see User usage and Normal (average) usage for the server.

Those are specifically useful when you need to provide more detailed information to the user so s/he can compare the usage for the account with the standard usage for the server.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox