Updated on 06/18/2017 with new download links

Stolen from here

1. Download the source code:

wget https://github.com/kdlucas/byte-unixbench/archive/v5.1.3.tar.gz

2. Install dependencies for CentOS 6.x:

yum install -y gcc time perl-Time-HiRes

3. Untar and change directory:

tar zxvf UnixBench5.1.3.tgz
cd byte-unixbench-5.1.3/UnixBench/

4. Compile:

make

5. Run it and prefix it with time, so you have some idea how long it took:

time ./Run

6. Here's my result:

time ./Run
make all
make[1]: Entering directory `/tmp/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory `/tmp/UnixBench'
sh: 3dinfo: command not found

#    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
#    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
#    #  # #  #  #    ##            #####   #####   # #  #  #       ######
#    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
#    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
January 13, 2011                   johantheghost at yahoo period com

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

4 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

4 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

4 x Execl Throughput  1 2 3

4 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

4 x File Copy 256 bufsize 500 maxblocks  1 2 3

4 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

4 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

4 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

4 x Process Creation  1 2 3

4 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

4 x Shell Scripts (1 concurrent)  1 2 3

4 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)

System: weirdbricks.weirdbricks.com: GNU/Linux
OS: GNU/Linux -- 2.6.32-504.el6.x86_64 -- #1 SMP Wed Oct 15 04:27:16 UTC 2014
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz (4000.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz (4000.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 2: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz (4000.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 3: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz (4000.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
06:49:44 up 1 day, 14:33,  1 user,  load average: 0.67, 0.49, 0.21; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri Oct 30 2015 06:49:44 - 07:17:36
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       20821467.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2289.1 MWIPS (9.9 s, 7 samples)
Execl Throughput                                850.9 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        163157.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           44172.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        537098.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                              272880.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  46311.6 lps   (10.0 s, 7 samples)
Process Creation                               1855.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2203.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    658.7 lpm   (60.0 s, 2 samples)
System Call Overhead                         255697.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   20821467.4   1784.2
Double-Precision Whetstone                       55.0       2289.1    416.2
Execl Throughput                                 43.0        850.9    197.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     163157.0    412.0
File Copy 256 bufsize 500 maxblocks            1655.0      44172.8    266.9
File Copy 4096 bufsize 8000 maxblocks          5800.0     537098.5    926.0
Pipe Throughput                               12440.0     272880.3    219.4
Pipe-based Context Switching                   4000.0      46311.6    115.8
Process Creation                                126.0       1855.5    147.3
Shell Scripts (1 concurrent)                     42.4       2203.2    519.6
Shell Scripts (8 concurrent)                      6.0        658.7   1097.9
System Call Overhead                          15000.0     255697.8    170.5
                                                                   ========
System Benchmarks Index Score                                         364.2

------------------------------------------------------------------------
Benchmark Run: Fri Oct 30 2015 07:17:36 - 07:45:31
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       70412795.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     8564.0 MWIPS (9.9 s, 7 samples)
Execl Throughput                               3042.8 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        238866.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           68152.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        839023.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1022767.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 165339.3 lps   (10.0 s, 7 samples)
Process Creation                               6302.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5539.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    746.3 lpm   (60.1 s, 2 samples)
System Call Overhead                         943151.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   70412795.6   6033.7
Double-Precision Whetstone                       55.0       8564.0   1557.1
Execl Throughput                                 43.0       3042.8    707.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     238866.5    603.2
File Copy 256 bufsize 500 maxblocks            1655.0      68152.3    411.8
File Copy 4096 bufsize 8000 maxblocks          5800.0     839023.8   1446.6
Pipe Throughput                               12440.0    1022767.3    822.2
Pipe-based Context Switching                   4000.0     165339.3    413.3
Process Creation                                126.0       6302.3    500.2
Shell Scripts (1 concurrent)                     42.4       5539.8   1306.6
Shell Scripts (8 concurrent)                      6.0        746.3   1243.9
System Call Overhead                          15000.0     943151.7    628.8
                                                                   ========
System Benchmarks Index Score                                         929.3

real    55m47.181s
user    35m31.195s
sys 68m54.246s