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