Main >> Server Status
is a menu that contains four items:
- Apache Status
- Daily Process Log
- Server Information
- Service Status
Are you asking for the location of each of these, or only one specific item?
Main >> Server Status >> Apache Status
simply shows the output of the following command:
# /usr/local/apache/bin/apachectl status
The cpsrvd process executes the above command and displays the output in the browser.
Main >> Server Status >> Daily Process Log
calls a function, showcpuusage, that is inside /usr/local/cpanel/whostmgr/bin/whostmgr2. There is no way to call this from the command line. whostmgr2 is compiled and the function can only be called from the WebHost Manager.
Main >> Server Status >> Server Information
collects information from a variety of sources, notably dmesg. You can find the information presented here in output of the following commands:
Main >> Server Status >> Service Status
# cat /proc/cpuinfo
# free -m
# uname -a
# df -h
reads the contens of the files in /var/run/chkserv.d. chkservd, which is part of tailwatchd, is what monitors the status of services. Each service that is monitored has a file named for it in /var/run/chkserv.d, and that file contains either a "+" or a "-", signifying whether the service has been detected as running or not. Which services are monitored is selected in Main >> Service Configuration >> Service Manager.
The chkservd configuration is stored in /etc/chkserv.d. Just as with /var/run/chkserv.d, each service that is monitored has a file named for it in that directory.