laset-com / speedtest

MIT License
63 stars 26 forks source link

awk: cmd. line:1: ^ syntax error #5

Open tlemens opened 3 years ago

tlemens commented 3 years ago

Thank you for the tool. Found a small issue:

curl -LsO bench.monster/speedtest.sh; sudo bash speedtest.sh
---------------------------------------------------------------------------
 Region: Global  https://bench.monster v.1.5.5 2020-12-10 
 Usage : curl -LsO bench.monster/speedtest.sh; bash speedtest.sh -Global

---------------------------------------------------------------------------
 OS           : Ubuntu 18.04.5 LTS (64 Bit)
 Virt/Kernel  : Dedicated / 5.4.0-54-generic
 CPU Model    : Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
 CPU Cores    : 8 @ 900.020 MHz x86_64 8192 KB Cache
 CPU Flags    : AES-NI Enabled & VM-x/AMD-V Enabled
 Load Average : 0,38, 0,50, 1,19
 Total Space  : 446G (59G ~14% used)
 Total RAM    : 31808 MB (5937 MB + 10548 MB Buff in use)
 Total SWAP   : 8191 MB (0 MB in use)
 Uptime       : 4 days 16:17
---------------------------------------------------------------------------
 ASN & ISP    : AS3209, Vodafone GmbH
 Organization : Vodafone GmbH
 Location     : Potsdam, Germany / DE
 Region       : Brandenburg
---------------------------------------------------------------------------

 ## Geekbench v4 CPU Benchmark:

  Single Core : 4716  (EXCELLENT)
   Multi Core : 12994

 ## IO Test

 CPU Speed:
    bzip2     : 154 MB/s
   sha256     : 251 MB/s
   md5sum     : 746 MB/s

 RAM Speed:
   Avg. write : 7168.0 MB/s
awk: cmd. line:1: BEGIN{print rm: + rm: + rm:}
awk: cmd. line:1:               ^ syntax error
awk: cmd. line:1: BEGIN{printf "%.1f",  / 3}
awk: cmd. line:1:                        ^ unterminated regexp
awk: cmd. line:1: BEGIN{printf "%.1f",  / 3}
awk: cmd. line:1:                           ^ unexpected newline or end of string
   Avg. read  :  MB/s