Check Server in SSH (the service status in whm, but in ssh)

drumhtd

Well-Known Member
Dec 28, 2004
59
0
156
Hi, is there a way to do this? I know in WHM it runs the script, but in SSH, that script command does not work, and when you do a ls of the /scripts directory, that script does not even get listed! Why not? It does exist, WHM uses it. Is there a way? Thank you - this referres to the service status in whm
 

webignition

Well-Known Member
Jan 22, 2005
1,876
1
166
I believe you're referring to https://hostname:2087/scripts/servup.

Just because a URL in WHM ends with /scripts/servup doesn't necessarily mean that it is calling a file /scripts/servup with respect to the server's filesystem.

I believe many bits and pieces are hidden within cPanel's proprietory code and not always plainly viewable.