use os.exec(/bin/cat..) to replace os.Open(..). for in some machine os.Open(/proc/stat) will get error 'open /proc/stat: errno 530'