-2

I have installed IBM HTTP Server and Apache Tomcat in my RHEL linux. In my linux how to check the status of LLAWP. I used this code to check the status ps -ef|grep LLAWP. but it returns only pid, name, user. I need status whether is running or stopped

3 Answers3

1

There may be other ways (systemctl status ...) but I'm not familiar with the specific services you are using so

  • For apache

    /opt/IBM/HTTPServer/bin/apachectl status

should return 0 if httpd is running and something else (3) if not.

For tomcat there is an answer on [so] https://stackoverflow.com/questions/3944157/is-tomcat-running

user9517
  • 117,122
0

LLAWP is a sidecar process launched by Computer Associates Siteminder product. It's not actually part of IHS or Tomcat, but supporting software for Siteminder.

As others have said, if you can find it's PID, it's obviously running and not stopped!

covener
  • 1,735
-1

If it's actually returning anything, then this process is running.
If the process is not running, you will get no output.