View Single Post
Old 2010-07-31, 11:19   #1
gLauss
 

32×5×163 Posts
Default bash script for extracting primenet-status

Hi everyone,

I just wrote a little bash script, which parses http://mersenne.org/primenet and saves the status to a file. It may be useful for others, too.

Code:
#!/bin/bash

file="/home/mersenne/primenetStatus/$(date +%F_%k:%M)"
curl http://mersenne.org/primenet/ | grep '^[0-9\ ]*|' > $file
  Reply With Quote