[mousetrap/gnome3-wip: 82/240] Add bin/mt-kill-runaway to kill moustrap if it gets away from me.
- From: Heidi Ellis <heidiellis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetrap/gnome3-wip: 82/240] Add bin/mt-kill-runaway to kill moustrap if it gets away from me.
- Date: Mon, 8 Sep 2014 15:19:27 +0000 (UTC)
commit 6d04b55df56171679c90865fd0c0e82290799e80
Author: Stoney Jackson <dr stoney gmail com>
Date: Thu Jun 12 11:12:49 2014 -0400
Add bin/mt-kill-runaway to kill moustrap if it gets away from me.
bin/mt-kill-runaway | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bin/mt-kill-runaway b/bin/mt-kill-runaway
new file mode 100755
index 0000000..fecdc32
--- /dev/null
+++ b/bin/mt-kill-runaway
@@ -0,0 +1,2 @@
+#!/bin/bash
+ps aux | grep main.py | head -1 | sed 's/ \+/ /g' | cut -f2 | xargs kill -9
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]