Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    ps -ef | grep httpd" doesn't show apache processes

    • Article Type: General
    • Product: Aleph

    Description:
    In various places the documentation indicates that the "ps -ef | grep httpd" or "ps -ef | grep apache" commands can be used to see if apache is active.

    I find, however, that these commands never show our apache processes -- even when OPAC is working and there obviously *are* apache processes.

    Resolution:
    If the process text is too long, such as the following:

    040 S aleph 24530 1 0 75 0 - 1056 schedu Aug04 ? 00:00:00 /exlibris/aleph/a16_1/product/local/apache/bin/httpd -d /exlibris/aleph/u16_1/al

    040 S aleph 2472 24530 0 75 0 - 1135 schedu 12:29 ? 00:00:00 /exlibris/aleph/a16_1/product/local/apache/bin/httpd -d /exlibris/aleph/u16_1/al

    040 S aleph 2476 24530 0 75 0 - 1139 schedu 12:29 ? 00:00:00 /exlibris/aleph/a16_1/product/local/apache/bin/httpd -d /exlibris/aleph/u16_1/al

    then "ps -ef" does not work. You need to use "ps -efl" instead. The "l" is for "long".


    • Article last edited: 10/8/2013