Changeset 2733 in /cluster/svnroot


Ignore:
Timestamp:
Oct 20, 2010 6:34:33 PM (10 years ago)
Author:
fitz
Message:

#532: Further refinements, matching data types for use in database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/fitz-devel/trees/bin/bccd-usage

    r2732 r2733  
    44POSTFILE=`mktemp /tmp/post.XXXXXX`
    55
    6 echo -n "date=$(date)" >> $STATSFILE
     6echo -n "date=$(date +'%F %R:%S')" >> $STATSFILE
    77echo -n "&cpu=$(grep 'model name' /proc/cpuinfo | head -1 | sed -e 's/model name\s*: //;s/ * / /g')" >> $STATSFILE
    88echo -n "&cores=$(grep ^proc /proc/cpuinfo | wc -l)" >> $STATSFILE
     
    2222
    2323if [ $? == 0 ]; then
    24         echo "POST /~fitz/gatherUsage.php HTTP/1.1" >> $POSTFILE
     24        echo "POST /~fitz/bccd.net/ver3/usage.php HTTP/1.1" >> $POSTFILE
    2525        echo "host: bccd.net" >> $POSTFILE
    2626        echo "Content-Type: application/x-www-form-urlencoded" >> $POSTFILE
Note: See TracChangeset for help on using the changeset viewer.