]> arthur.barton.de Git - bup.git/blob - dev/system-info
bup_py_bytes_main: add to support py 3.6 compat
[bup.git] / dev / system-info
1 #!/usr/bin/env bash
2
3 set -e
4
5 uname -a
6
7 case "$OSTYPE" in
8     linux*)
9         cat /proc/cpuinfo
10         cat /proc/meminfo
11     ;;
12     darwin*)
13         system_profiler SPHardwareDataType
14     ;;
15 esac
16
17 rsync --version
18
19 # Older versions of par2 don't support -V, but it'll still show the
20 # version when it fails.
21 if command -v par2; then par2 -V || true; fi