aboutsummaryrefslogtreecommitdiff
path: root/clean_philo_three
diff options
context:
space:
mode:
Diffstat (limited to 'clean_philo_three')
-rwxr-xr-xclean_philo_three3
1 files changed, 3 insertions, 0 deletions
diff --git a/clean_philo_three b/clean_philo_three
new file mode 100755
index 0000000..64e53bc
--- /dev/null
+++ b/clean_philo_three
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ps aux | grep philo_three | tr -s ' ' | cut -d ' ' -f 2 | xargs kill -9