Reader small image

You're reading from  Interactive Dashboards and Data Apps with Plotly and Dash

Product typeBook
Published inMay 2021
Reading LevelBeginner
PublisherPackt
ISBN-139781800568914
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Elias Dabbas
Elias Dabbas
author image
Elias Dabbas

Elias Dabbas is an online marketing and data science practitioner. He produces open-source software for building dashboards, data apps, as well as software for online marketing, with a focus on SEO, SEM, crawling, and text analysis.
Read more about Elias Dabbas

Right arrow

Setting up and configuring the web server

We will be using nginx as our web server in this example. You can now stop the app using Ctrl + C from the command line. Alternatively, you can stop your app using the kill command, which requires you to know the ID of the process that is running your app. This is useful if you log in later and have no idea which processes are running, and want to identify the process responsible for your app.

You can run the ps -A process status command from the command line to get all the currently running processes. You can either scroll to find a process whose name contains gunicorn or add a pipe, and search for that process in the previous command's output, as follows:

ps -A | grep gunicorn

Running the preceding command while the app is running gets us the output you see in the following screenshot:

Figure 12.8 – How to find the process IDs for processes containing a certain text pattern

Figure 12.8 – How to find the process IDs for processes containing a certain text pattern

The process IDs...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Interactive Dashboards and Data Apps with Plotly and Dash
Published in: May 2021Publisher: PacktISBN-13: 9781800568914

Author (1)

author image
Elias Dabbas

Elias Dabbas is an online marketing and data science practitioner. He produces open-source software for building dashboards, data apps, as well as software for online marketing, with a focus on SEO, SEM, crawling, and text analysis.
Read more about Elias Dabbas