summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-11-19 14:21:10 -0500
committerMicah Anderson <micah@leap.se>2013-11-19 14:21:10 -0500
commit58dbe442b37408f7cd1270cd5e1abb69e8ceeafa (patch)
tree6f5b04f01cc1b6d4110d4149dd437861e6cc6be8
parent6a4e2efe9c57dea50119506b3c86b8277c5b5bd0 (diff)
add debug script for bug reporting (#4419)
Change-Id: I0d97f6ee32e10865f5229d2f1d3c849304ba75fc
-rw-r--r--leap-debug-remote.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/leap-debug-remote.sh b/leap-debug-remote.sh
new file mode 100644
index 00000000..7f9c6945
--- /dev/null
+++ b/leap-debug-remote.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+# debug script to be run on remote servers
+
+regexp='(leap|stunnel|couch|soledad|haproxy)'
+
+find /etc/leap/
+
+echo
+
+ls -la /srv/leap/
+
+echo
+
+
+dpkg -l | egrep "$regexp"
+
+echo
+
+ps aux|egrep "$regexp"
+
+echo
+
+cat /etc/hosts