Created
October 15, 2015 16:45
-
-
Save edelans/b92eb967e1aef1bf82ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
##################################### | |
# # | |
# Script de recette de serveur # | |
# # | |
##################################### | |
# OS | |
echo 'OS check:' | |
lsb_release -d | |
echo '' | |
# Architecture check: | |
echo 'Architecture check:' | |
uname -a | |
echo '' | |
# RAM: | |
echo 'Max RAM size:' | |
grep MemTotal /proc/meminfo | |
echo '' | |
# number of CPU: | |
echo 'Number of CPU :' | |
cat /proc/cpuinfo | grep processor | wc -l | |
echo '' | |
# Filesystem: | |
echo 'Partition size:' | |
lsblk | |
echo '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment