Skip to content

Commit

Permalink
Add kill-dashboardd target to Makefile for terminating Streamlit proc…
Browse files Browse the repository at this point in the history
…esses
  • Loading branch information
andrewm4894 committed Dec 13, 2024
1 parent b9e3b92 commit d9fb20f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ SHELL=/bin/bash
.PHONY: docs
.PHONY: requirements
.PHONY: kill-locald
.PHONY: kill-dashboardd
.PHONY: ps-locald

# start streamlit dashboard
Expand All @@ -32,6 +33,10 @@ locald:
kill-locald:
kill -9 $(shell ps aux | grep dagster | grep -v grep | awk '{print $$2}')

# kill any running streamlit process
kill-dashboardd:
kill -9 $(shell ps aux | grep streamlit | grep -v grep | awk '{print $$2}')

# list any running dagster process
ps-locald:
ps aux | grep dagster | grep -v grep
Expand Down

0 comments on commit d9fb20f

Please sign in to comment.