O oginome Member Jul 2, 2012 #1 Jul 2, 2012 #1 hi, how to check if the running webserver is litespeed or apache by command line? Thx. Thx.
N NiteWave Administrator Jul 3, 2012 #2 Jul 3, 2012 #2 #netstat -ntlp to check which process is listen to port 80
O oginome Member Jul 4, 2012 #3 Jul 4, 2012 #3 NiteWave said: #netstat -ntlp to check which process is listen to port 80 Click to expand... Thx. But it just list the IPs. All program names are blank (just hyphen). Any other hint? Thx.
NiteWave said: #netstat -ntlp to check which process is listen to port 80 Click to expand... Thx. But it just list the IPs. All program names are blank (just hyphen). Any other hint? Thx.
O oginome Member Jul 4, 2012 #5 Jul 4, 2012 #5 webizen said: what OS and version are your running? Click to expand... CentOS. It's the VPS at the hosting. I can use whm to check it. But I want a cronjob to check it regularly. Now I'm using ps -e | grep "litespeed" Is it enough to determine if litespeed is running? Deeply thx.
webizen said: what OS and version are your running? Click to expand... CentOS. It's the VPS at the hosting. I can use whm to check it. But I want a cronjob to check it regularly. Now I'm using ps -e | grep "litespeed" Is it enough to determine if litespeed is running? Deeply thx.
W webizen Well-Known Member Jul 4, 2012 #6 Jul 4, 2012 #6 For CentOS, you can do netstat -ntpl | grep ':80 ' or ps -ef | grep litespeed Click to expand...