mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Print system info with glibc version
This commit is contained in:
parent
43746ff0cb
commit
f710aec79e
1 changed files with 14 additions and 2 deletions
|
|
@ -54,17 +54,28 @@ if [[ "${git_sha}" != "<N/A>" ]] && command -v git > /dev/null 2>&1; then
|
|||
"${git_sha}"
|
||||
fi
|
||||
|
||||
echo "--------------------------- Resource limits ------------------------------"
|
||||
echo "------------------------- System information -----------------------------"
|
||||
uname -mrs
|
||||
case "$(uname -s)" in
|
||||
Linux)
|
||||
ldd --version | head -n 1
|
||||
;;
|
||||
Darwin)
|
||||
sw_vers
|
||||
;;
|
||||
esac
|
||||
echo ""
|
||||
|
||||
echo "--------------------------- Resource limits ------------------------------"
|
||||
case "$(uname -s)" in
|
||||
Linux)
|
||||
prlimit
|
||||
;;
|
||||
Darwin)
|
||||
sw_vers
|
||||
launchctl limit
|
||||
;;
|
||||
esac
|
||||
echo ""
|
||||
|
||||
echo "--------------------------- SELinux --------------------------------------"
|
||||
if [[ -f /usr/sbin/getenforce ]]; then
|
||||
|
|
@ -72,6 +83,7 @@ if [[ -f /usr/sbin/getenforce ]]; then
|
|||
else
|
||||
echo "No SELinux installation found"
|
||||
fi
|
||||
echo ""
|
||||
|
||||
echo "--------------------------- ARCH-file ------------------------------------"
|
||||
cat "./arch/${ARCH}.${VERSION}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue