Introducing the STHbench.sh benchmark script

Discussion in 'Processors and Motherboards' started by Patrick, Oct 6, 2013.

  1. MiniKnight

    MiniKnight Well-Known Member

    Joined:
    Mar 30, 2012
    Messages:
    2,939
    Likes Received:
    857
    How about using scp in the bash script:
    Code:
    scp STHbench-Dev010.log user:password@upload.servethehome.com:/home/uploads
    That is just an idea. Not the best way for sure. You don't want to put the server username/ password into the script. You are giving write access so that is not so good. Also, you need new file names.
     
    #141
  2. MiniKnight

    MiniKnight Well-Known Member

    Joined:
    Mar 30, 2012
    Messages:
    2,939
    Likes Received:
    857
    Ok I think that is a bad way to do this on second thought. Sorry I was tired.
     
    #142
  3. mojoxer

    mojoxer New Member

    Joined:
    Jan 22, 2015
    Messages:
    7
    Likes Received:
    6
    Was reading through the new script that's up on the github that's supposed to take care of ARM vs x86 differences. I noticed that the cpu_check portion of the script flows through "CPU = x86" and then "CPU=ATOM". Then proc_define tests for $CPU=="x86" or $CPU=="ATOM" then defaults to "Unknown CPU" if it's neither of those. Were those ATOMs supposed to be ARMs?
     
    #143
    Patrick likes this.
  4. Chuckleb

    Chuckleb Moderator

    Joined:
    Mar 5, 2013
    Messages:
    1,017
    Likes Received:
    330
    Yes, I was tired. Will correct :). Ha
     
    #144
  5. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,541
    Likes Received:
    4,464
    Just so you know, the github version you have to run from github .

    Awesome work @Chuckleb
     
    #145
  6. mojoxer

    mojoxer New Member

    Joined:
    Jan 22, 2015
    Messages:
    7
    Likes Received:
    6
    I have no idea how to do that, so I'll take your word for it.
     
    #146
  7. Chuckleb

    Chuckleb Moderator

    Joined:
    Mar 5, 2013
    Messages:
    1,017
    Likes Received:
    330
    #147

Share This Page