summaryrefslogtreecommitdiffhomepage
path: root/doc/report.sh
blob: 2e6b4ee2ccd9063b2da2143593a438a77f368d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

(echo "date: "
date
echo "uname: "
uname -a
echo "ps: "
ps -auxw | grep [t]inyproxy -
echo "ver: "
if [ -x /usr/local/bin/tinyproxy ]; then
   /usr/local/bin/tinyproxy -v
else
   echo no ver available.
fi;) 2>&1 | mail -s 'tinyproxy install report' sdyoung@well.com