🔔 🔔 🔔 Duyuru: 24. Yılımıza özel indirimler sizleri bekliyor ! Kampanya Kodu : TDATA2024 | Detaylı bilgi için tıklayınız.

Apache status in command line


Apache status in command line


Apache status in command line

Apache module mod_status

There is also mod_status built into Apache web server to get server status from a web browser. With this module you can easily find out how well your server is preforming. All reports are generated in a html format. You can easily find out following type of information:

Total number of worker serving requests
Total number of of idle worker
Find the status of each worker, the number of requests that worker has performed and the total number of bytes served by the worker
Total number byte count served
Other information such as CPU usage, number of requests per second,current hosts and requests being processed etc.

We can view the apache status through WHM -> Server Status » Apache Status

How to enable apache status page in cpanel server

Open your httpd.conf

# vi /etc/httpd/conf/httpd.conf

Enable Apache extended status page

<IfModule mod_status.c>
ExtendedStatus On
<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost 127.0.0.1
</Location>
</IfModule>

In order to apache status in command line, use this lynx command

wget -q -O – localhost/whm-server-status | lynx -stdin

Rather use this elinks command

elinks http://localhost/whm-server-status?refresh=2

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • cPanel security settings checklist

    You always use cpanel recommended Security Settings to avoid hacking and other suspicious activity. These  cPanel Server Hardening & Security tips will help prevent from hacking. cPanel...

  • sendmail Not running with correct effective GID

    Wed Sep 04 04:11:11 2014] [error] [client 11.44.33.22] sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?, It may be the problem with your sendmail binary...

  • How to enable NAT behind the cpanel ?

    Most of webhosting providers currently used NAT service for their users. When you install cPanel & WHM, the installer will detect whether your server is on a NAT-configured network. If the...

  • Unable to allocate memory for pool

    Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0 APC or Alternative PHP Cache (APC) is a free and open opcode cache for PHP. APC allows for caching of opcode generated...

  • Install FFmpeg, Mplayer, Mencoder, MP4Box, Flvtool2

    You can use the following tutorial to install ffmpeg and other video modules in your centos server. FFmpeg is an audio/video conversion tool. It includes libavcodec, the leading open source codec...