arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 5
  • 4
  • 3
  • 2
  • 1
Post4VPS Benchmarking Script
#17
(.............)
# Reading total memory in MB
tram=$( free -m | awk 'NR==2 {print $2}' )
# Reading Swap in MB
vram=$( free -m | awk 'NR==3 {print $2}' )
(.............)
echo "Memory : $tram MB" | tee -a $HOME/bench.log
echo "Swap : $vram MB" | tee -a $HOME/bench.log

'free -m' gives its output in mebibytes (symbol: MiB) and not in megabytes (symbol: MB.)
# The unit MB is defined by the International System of Units (SI).
1 Megabyte (MB)  = (1000)^2 bytes = 1000000 bytes.
# The unit MiB is defined by the International Electrotechnical Commission (IEC)
1 Mebibyte (MiB) = (1024)^2 bytes = 1048576 bytes.
VirMach's Buffalo_VPS-9 Holder (Dec. 20 - July 21)
microLXC's Container Holder (july 20 - ?)
VirMach's Phoenix_VPS-9 Holder (Apr. 20 - June 20)
NanoKVM's NAT-VPS Holder (jan. 20 - ?)


Messages In This Thread
Post4VPS Benchmarking Script - by Sn1F3rt - 09-25-2019, 11:22 AM
RE: Post4VPS Benchmarking Script - by kabir145 - 09-25-2019, 03:50 PM
RE: Post4VPS Benchmarking Script - by Sn1F3rt - 09-25-2019, 05:23 PM
RE: Post4VPS Benchmarking Script - by Mashiro - 09-27-2019, 08:49 PM
RE: Post4VPS Benchmarking Script - by Sn1F3rt - 09-28-2019, 07:48 AM
RE: Post4VPS Benchmarking Script - by tryp4vps - 09-30-2019, 04:30 PM
RE: Post4VPS Benchmarking Script - by Mashiro - 10-26-2019, 09:30 AM
RE: Post4VPS Benchmarking Script - by Mashiro - 12-23-2019, 10:10 PM
RE: Post4VPS Benchmarking Script - by youstable - 01-14-2020, 11:32 AM
RE: Post4VPS Benchmarking Script - by chanalku91 - 01-14-2020, 01:55 PM
RE: Post4VPS Benchmarking Script - by Mashiro - 01-15-2020, 05:58 AM
RE: Post4VPS Benchmarking Script - by Sn1F3rt - 01-25-2020, 06:30 PM
RE: Post4VPS Benchmarking Script - by Mashiro - 02-29-2020, 04:07 PM
RE: Post4VPS Benchmarking Script - by Sn1F3rt - 03-02-2020, 06:14 PM
RE: Post4VPS Benchmarking Script - by fChk - 06-03-2020, 02:29 AM
RE: Post4VPS Benchmarking Script - by Sn1F3rt - 06-03-2020, 04:35 AM
RE: Post4VPS Benchmarking Script - by Sn1F3rt - 06-05-2020, 04:40 PM
RE: Post4VPS Benchmarking Script - by fChk - 01-06-2021, 04:00 PM
RE: Post4VPS Benchmarking Script - by Sn1F3rt - 01-10-2021, 12:14 PM

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting