You can use the ps command:
ps -aef | grep "apache\|httpd"
The process id(pid) is the second column usually. If it changes, then
you know the process was restarted.
- Ryan N
On Thu, Aug 19, 2021 at 10:52:04PM -0400, Hasan Baig wrote:
> Yes systemctl stop and start httpd, i verified by
Yes systemctl stop and start httpd, i verified by checking the web page. How
can i check pid?
Regards
Hasan
> On Aug 19, 2021, at 8:55 AM, Ryan Nowakowski wrote:
>
> I'd verify that the systemctl commands are actually starting and stopping
> httpd. Does the pid change?
>
>> On August 18,
I have been using the apachectl command instead and it works without an
issue.
sudo apachectl stop
sudo apachectl start
sudo apachectl restart
On Thu, Aug 19, 2021 at 2:54 PM Ryan Nowakowski wrote:
> I'd verify that the systemctl commands are actually starting and stopping
> httpd. Does the
I'd verify that the systemctl commands are actually starting and stopping
httpd. Does the pid change?
On August 18, 2021 11:04:07 AM CDT, Hasan Baig wrote:
>Hi,
>
>I have been hosting a django-based web server (httpd with mod_wsgi package) on
>Linux CentOS 7. I used to reflect the changes made
Hi,
I have been hosting a django-based web server (httpd with mod_wsgi package) on
Linux CentOS 7. I used to reflect the changes made in my code by restarting the
web server using the following commands:
sudo systemctl stop httpd
sudo systemctl start httpd
and it would reflect the changes
5 matches
Mail list logo