57 Commits

Author SHA1 Message Date
Nils Steinger
7b2464c1ac Suppress OpenSSL warning about not using PBKDF2
OpenSSL commit 405988f2 (included in v1.1.1 and higher) added support for
PBKDF2 in the enc command, along with a warning:
> *** WARNING : deprecated key derivation used.
> Using -iter or -pbkdf2 would be better.

For our benchmark, we don't require security but do require portability (-iter
and -pbkdf2 are unsupported in OpenSSL < v1.1.1), so we'll just filter the
warning from the output.
2019-03-01 11:43:49 +01:00
Nils Steinger
d95efd96e5 FreeBSD: filter duplicate CPU frequency and disk space figures
We're parsing /var/run/dmesg.boot, which apparently can contain data from
multiple boots under some circumstances.
2019-03-01 11:30:33 +01:00
Nils Steinger
09f98e2744 Update script version output (with regard to 3ede178) 2019-02-20 17:04:26 +01:00
Nils Steinger
3ede178eb3 Redirect time statistics to stdout (fixes #4) 2019-02-20 15:42:06 +01:00
Nils Steinger
4bfd1788ec Add Apache Licence v2.0 2018-06-15 23:19:52 +02:00
Nils Steinger
a24767e6cd Bump version after improvements by untoreh 2018-04-14 15:34:27 +02:00
untoreh
d58c453c51 - provide a list of required packages 2018-04-14 15:33:02 +02:00
untoreh
470b3fc5b1 don't trust rows of the "free" binary
- don't assume there is an actual block device
2018-04-14 15:33:02 +02:00
Nils Steinger
2bfd478b72 Replace dynamic column formatting with fixed format string 2017-06-02 15:41:30 +02:00
Nils Steinger
7d9abb1344 Not fully POSIX after all (TIMEFORMAT is a bash feature). Oops. 2017-06-01 19:19:05 +02:00
Nils Steinger
59c8b63fc0 We're POSIX-compliant anyway, so use /bin/sh instead of bash 2017-06-01 18:42:36 +02:00
Nils Steinger
d344d0ff16 Use cut to redact IPs (BSD sed doesn't support backreferences) 2017-06-01 18:38:19 +02:00
Nils Steinger
d5b171a9ca Mention new FreeBSD support in README 2017-06-01 18:30:12 +02:00
Nils Steinger
c59b92c056 Bump version 2017-06-01 18:26:58 +02:00
Nils Steinger
278c8e3942 Added FreeBSD support for CPU, memory, and disk info 2017-06-01 18:26:36 +02:00
Nils Steinger
2bcb4312e9 Use direct IO (O_DIRECT) for ioping test 2017-06-01 18:26:36 +02:00
Nils Steinger
01d9ff4e88 Use native ioping command if installed 2017-06-01 18:21:43 +02:00
Nils Steinger
d31a60537d Use GNU dd for dd benchmark 2017-06-01 18:21:43 +02:00
Nils Steinger
a3db271bc9 Make sure to use gdd (GNU dd) if detected 2017-05-28 11:16:52 +02:00
Nils Steinger
f0eaa4c250 Bump version 2017-05-28 11:11:00 +02:00
Nils Steinger
2e4a578a87 Improved compatibility with mawk
mawk defaults to scientific notation for integers > (2^31 - 1), while gawk
doesn't.
Work around this using %.0f format string.
2017-05-28 11:08:09 +02:00
Nils Steinger
3e2fe546c0 Clarified test description 2017-05-28 11:07:09 +02:00
Nils Steinger
b02244c14b Check for GNU dd (→ FreeBSD) 2017-05-28 11:07:09 +02:00
Nils Steinger
5a40c0eaf7 Include example output in README 2017-05-08 22:39:40 +02:00
Nils Steinger
ed8bb576a2 Fixed footer line 2017-05-08 22:39:31 +02:00
Nils Steinger
da81a716b1 Print nench.sh URL and version in header 2017-05-08 22:35:37 +02:00
Nils Steinger
b49a532f1b Run ioping on current folder (like dd already is) 2017-05-08 22:35:37 +02:00
Nils Steinger
a03878ff22 Use IPv6-enabled download server for ioping binary 2017-05-08 22:35:37 +02:00
Nils Steinger
843dc47bdb Refactoring: use functions, ensure proper quoting 2017-05-08 22:18:25 +02:00
Nils Steinger
8ba7f40568 Refactoring: use functions for repeatedly used commands 2017-05-08 22:13:52 +02:00
Nils Steinger
8fdffdd9f6 Improved dd benchmark: handle non-megabyte results correctly 2017-05-08 22:03:22 +02:00
Nils Steinger
392f537da0 Fixed reference to timeout in README 2017-05-08 21:30:06 +02:00
Nils Steinger
673a7e0207 Use IPv6-enabled download link (since Github is still v4-only) 2017-04-07 16:26:43 +02:00
Nils Steinger
9d2c11f38f Redact host part of IP addresses 2017-04-07 16:24:43 +02:00
Nils Steinger
8697daa181 Abort early if curl is missing 2017-04-07 16:24:29 +02:00
Nils Steinger
3742cbc215 Refactoring 2017-04-01 15:18:04 +02:00
Nils Steinger
bb116cb8c1 Use curl instead of wget 2017-04-01 15:02:29 +02:00
Nils Steinger
44dc2cf982 So wget suddenly decided to redirect its status output to a file. Randomly. Without -b being specified. Cool. 2017-04-01 14:48:27 +02:00
Nils Steinger
653a2b10f9 Code quality and safety disclaimer 2017-02-27 18:30:12 +01:00
Nils Steinger
b3371a9f7b Mention speedtest timeout in README 2017-02-26 06:18:18 +01:00
Nils Steinger
90ed66221f Clearer feature list and backlink to GitHub repo 2017-02-26 05:50:32 +01:00
Nils Steinger
fa2dd83b51 Fixed usage example to include CPU timing results (they go to stderr by default) 2017-02-25 18:45:49 +01:00
Nils Steinger
915f724d2d Added README 2017-02-25 18:43:37 +01:00
Nils Steinger
08fc49eac3 delete downloaded ioping binary if script has been run straight from a pipe 2017-02-25 18:34:35 +01:00
Nils Steinger
4880659ff5 Added header and footer, including current time 2017-02-25 18:26:22 +01:00
Nils Steinger
d63999f91e Replaced Linode with Softlayer for US speedtest (Linode consistently provided less than 2 MB/s of bandwidth) 2017-02-25 18:16:54 +01:00
Nils Steinger
573d5277d2 Ensure a newline is printed even when Swap size cannot be determined 2017-02-25 18:10:27 +01:00
Nils Steinger
17b1681c5e Bugfix: actually run sequential ioping test 2017-02-25 18:07:58 +01:00
Nils Steinger
fb531af819 List disks (using lsblk) 2017-02-25 01:37:29 +01:00
Nils Steinger
4e400ea669 Added SHA256 to CPU tests 2017-02-25 01:19:03 +01:00