- Timestamp:
- Nov 16, 2011, 1:13:13 PM (13 years ago)
- Location:
- branches/fc15-dev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc15-dev
- Property svn:mergeinfo changed
/trunk merged: 2048,2051-2053
- Property svn:mergeinfo changed
-
branches/fc15-dev/lvs/debian/config/etc/ha.d/ldirectord-http.sh
r1203 r2055 21 21 " 22 22 echo "<html><head><title>scripts.mit.edu server status</title></head><body><h1>scripts.mit.edu server status</h1><p>The following table shows a list of the servers that are currently handling web requests for scripts.mit.edu:</p><table>" 23 /sbin/ipvsadm -L -f 2 | sed 's/:0//; s/:Port//' | awk 'BEGIN { OFS="</td><td>" } /->/ {print "<tr><td>" $2, $4, $5, $6 "</td></tr>"}'23 /sbin/ipvsadm | sed 's/:0//; s/:Port//' | awk 'BEGIN { OFS="</td><td>"; show=1 } /^FWM 2 / { show=1 } /^FWM [^2] / { show=0 } /->/ { if (show==1) print "<tr><td>" $2, $4, $5, $6 "</td></tr>"}' 24 24 echo "</table></body></html>"
Note: See TracChangeset
for help on using the changeset viewer.