Commit 8455bf2d by irul

Update server_info.sh

1 parent 8110898e
......@@ -19,7 +19,7 @@ echo ""
# echo -e "Operating System: "`hostnamectl | grep "Operating System" | cut -d ' ' -f5-`;
echo -e "Operating System: "`cat /etc/*release | grep PRETTY_NAME | cut -d "=" -f 2 | tr -d '"'`
echo -e "Using Systemd: "`pidof systemd && echo "True" || echo "False"`
echo -e "Using Systemd: "`pidof systemd > /dev/null && echo "True" || echo "False"`
echo -e "Hostname: "`hostname`
echo -e "Uptime: "`uptime | awk '{print $3,$4}' | sed 's/,//'`
echo ""
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!