Welcome! Log In Create A New Profile

Advanced

How to checking nginx service is running?

July 27, 2018 05:26AM
Hi.

There are three ways we used.

1. Checking nginx processes.
ps -Af | grep nginx

2. Checking pid file.
/usr/local/nginx/logs/nginx.pid

3. service nginx status | grep running.

I'm wondering which is the best way?
Or any other suggestion?

Thanks.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

How to checking nginx service is running?

karton 575 July 27, 2018 05:26AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready