Check Apache Status From Command Line

Terkadang memeriksa kinerja server bisa saja “agak” sulit. untungnya Apache telah di-built in pada utilitas yang membantu dan memantau penggunaan kinerja Server. dan Status Apache adalah salah satu alat bantu yang memungkinkan untuk monitoring koneksi real time Apache dan penggunaan sumber daya (resource) server.

untuk melihat status pada server menggunakan apache status:

httpd status

Apache fullstatus memberikan informasi mengenai permintaan aktual yang melanda server. Untuk mendapatkan fullstatus, masukkan perintah berikut :

httpd fullstatus

Jika server Anda telah terinstall cpanel, dan setiap kali Anda login ke WHM, anda dapat memeriksa melalui WHM >> Server Status >> Apache Status untuk melihat status apache yang sedang berjalan.

tapi disini saya mencoba berbagi, bagaimana menjalankan perintah tersebut melalui terminal/ command line. berikut caranya:

/usr/bin/lynx -dump -width 500 http://127.0.0.1/whm-server-status

 

Srv PID Acc CPU SS Req Conn Child Slot Client VHost Request

24-73 19296 1/8/17 4.23 0 0 0.2 2.20 4.9 178.7.9.6 teserver.net.id GET /vb HTTP/1.1

25-73 21750 1/2/17 0.91 1 0 1.6 0.40 4.9 838.5.4.6 myhost.com GET /images/buttons/multiquote_40b.png HTTP/1.1

26-73 - 0/0/22 3.28 12 0 0.0 0.00 4.4 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

27-73 - 0/0/28 1.88 14 0 0.0 0.00 3.3 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

28-73 - 0/0/14 1.44 14 0 0.0 0.00 1.4 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

29-73 - 0/0/40 0.15 14 0 0.0 0.00 0.7 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

30-73 - 0/0/11 0.19 14 0 0.0 0.00 0.3 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

31-73 - 0/0/26 1.15 14 0 0.0 0.00 2.4 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

32-73 - 0/0/14 2.15 14 0 0.0 0.00 0.2 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

33-73 - 0/0/53 0.00 14 0 0.0 0.00 0.5 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

34-73 - 0/0/26 0.03 14 0 0.0 0.00 0.1 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

35-69 - 0/0/16 9.48 49 0 0.0 0.00 2.1 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

36-69 - 0/0/46 3.42 51 0 0.0 0.00 0.2 127.0.0.1 serverku.net.id OPTIONS * HTTP/1.0

_________________

Srv Child Server number – generation

PID OS process ID

Acc Number of accesses this connection / this child / this slot

M Mode of operation

CPU CPU usage, number of seconds

SS Seconds since beginning of most recent request

Req Milliseconds required to process most recent request

Conn Kilobytes transferred this connection

Child Megabytes transferred this child

Slot Total megabytes transferred this slot

__________________________

SSL/TLS Session Cache Status:

cache type: DBM, maximum size: unlimited

current sessions: 0, current size: 0 bytes

average session size: 0 bytes
Baca juga:  Mengenal Istilah cur new dan tmp Email

Write a Comment

Your email address will not be published.

7 + one =

%d bloggers like this: