Berikut ini adalah script yang cepat akan memberikan informasi tentang server linux Anda seperti model cpu, frekuensi, jumlah core, jumlah ram & swap, sistem uptime, tes download dan kecepatan I/O. CPU, RAM dan sistem informasi uptime diambil dari “/proc/cpuinfo”, “free” dan “uptime” masing-masing. Kecepatan download diukur dengan men-download file uji dari cachefly, sementara kecepatan I/ O diukur dengan membuat file 1GB dari karakter nol (/dev/zero).
Caranya muda, cukup jalankan perintah berikut.
1 |
wget -qO- bench.sh | bash |
atau
1 |
curl -Lso- bench.sh | bash |
Ini mungkin membutuhkan waktu cukup lama untuk mendapatkan informasi server Anda.
Berikut contoh hasilnya.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
[root@royal ~]# curl -Lso- bench.sh | bash ---------------------------------------------------------------------- CPU model : Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz Number of cores : 8 CPU frequency : 3504.042 MHz Total size of Disk : 18396.2 GB (14448.1 GB Used) Total amount of Mem : 31956 MB (27849 MB Used) Total amount of Swap : 4093 MB (1001 MB Used) System uptime : 61 days, 11 hour 35 min Load average : 7.42, 6.78, 7.23 OS : CloudLinux 6.10 Arch : x86_64 (64 Bit) Kernel : 2.6.32-673.26.1.lve1.4.30.el6.x86_64 ---------------------------------------------------------------------- I/O speed(1st run) : 286 MB/s I/O speed(2nd run) : 165 MB/s I/O speed(3rd run) : 128 MB/s Average I/O speed : 193.0 MB/s ---------------------------------------------------------------------- Node Name IPv4 address Download Speed CacheFly 167.88.158.176 85.9MB/s Linode, Tokyo, JP 106.187.96.148 28.8MB/s Linode, Singapore, SG 139.162.23.4 96.0MB/s Linode, London, UK 176.58.107.39 11.4MB/s Linode, Frankfurt, DE 139.162.130.8 1.74MB/s Linode, Fremont, CA 50.116.14.9 7.84MB/s Softlayer, Dallas, TX 173.192.68.18 8.10MB/s Softlayer, Seattle, WA 67.228.112.250 12.2MB/s Softlayer, Frankfurt, DE 159.122.69.4 2.69MB/s Softlayer, Singapore, SG 119.81.28.170 91.3MB/s Softlayer, HongKong, CN 119.81.130.170 7.88MB/s ---------------------------------------------------------------------- Node Name IPv6 address Download Speed Linode, Atlanta, GA 2600:3c02::4b 6.60MB/s Linode, Dallas, TX 2600:3c00::4b 5.87MB/s Linode, Newark, NJ 2600:3c03::4b 7.05MB/s Linode, Singapore, SG 2400:8901::4b 93.8MB/s Linode, Tokyo, JP 2400:8900::4b 21.3MB/s Softlayer, San Jose, CA 2607:f0d0:2601:2a::4 11.5MB/s Softlayer, Washington, WA 2607:f0d0:3001:78::2 8.43MB/s Softlayer, Paris, FR 2a03:8180:1301:8::4 2.07MB/s Softlayer, Singapore, SG 2401:c900:1101:8::2 63.1MB/s Softlayer, Tokyo, JP 2401:c900:1001:16::4 20.8MB/s ---------------------------------------------------------------------- [root@royal ~]# |
Cukup sekian informasi dari kami, semoga dapat bermanfaat. Silahkan bagikan hasil Anda di kolom komentar.
Sumber : Akamaras