File: report.sh

package info (click to toggle)
tinyproxy 1.3.1-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 452 kB
  • ctags: 367
  • sloc: ansic: 1,864; sh: 387; makefile: 58
file content (14 lines) | stat: -rwxr-xr-x 277 bytes parent folder | download
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