[Script] Serverreview Bash Script v2
It's an upgrade of Serverreview Bash Script. As for server information it will now show you server hostname, IP, free swap and used storage. More important information will be added later. And it's now parameter based, means you don't need to waste your bandwidth if you just like to see server information only or test I/O. So lets's see how to do. First download the file using code below:
Once downloaded you can use the code below to use it properly. Here is list of parameters below:
sh bench -info
sh bench -io
CDN Download (200MB)
sh bench -cdn
North America Download (800MB)
sh bench -northamerica
Europe Download (900MB)
sh bench -europe
Asia Download (400MB)
sh bench -asia
System Info + CDN Download + I/O Test
sh bench -b
All In One Command
sh bench -a
sh bench -help
sh bench -about
Thanks to @camarg for the the original script.
Thanks to @dmmcintyre3 for the modified version.
Thanks @Hidden_Refuge for update bench-sh-2.
That's all I wanted. For credits. Good luck.
To find the a system's disk space usage, use "df -h".
Thanks I've used "df -h | grep ^/dev" in this script for accurate disk information around all linux OS.
What do you want to say? @jh
@jh That's called a "function" in shell scripting.
Doesn't look very accurate, considering this is a 2x2TB disk server
Your command is simply getting partitions that start with /dev and showing the totals of the first line displayed. In my case, the 20GB partition. You might want to at least sum them up.
Another approach might be the one used in @PetaByet's script, which you can see here:
In that case, it's summing up all the partitions displayed by the df command.
@qrwteyrutiyoup I'll look into that for next update. Thank you
@qrwteyrutiyoup Releasing the update today, hope partition bug is solved.
i see that you're using ubuntu 15.04, what provider do you currently use?
The screenshot has been taken from one of my VPS on Interserver. @2298
I was moving my site. So there will be problem with ip detection. remove bench 'rm -f bench' then redownload it, I updated ip address location. You could remove ip from your comment.
I don't get why he is using a custom file anyway if he can do:
@Hidden_Refuge Guess I got lots of bandwith Yeah I've used ipecho.net on new update just give me some time, I'm moving my site.
Would be nice to see one of these types of script that actually tests the IO rather than doing a sequential write test.
Okay, updated But I can't edit post here anymore so take a look at new parameters http://serverreview.cf/script/serverreview-bash-script-v2/
not working link
Probably Freenom messed up the domain
the domain not resolving from me.
Sorry for not replying. This project is now on Github