rhel7-info sample converted into UBI

This commit is contained in:
Student User
2019-06-14 20:33:03 +00:00
parent 810051f5d2
commit d038f7a052
2 changed files with 13 additions and 0 deletions

10
ubi-info/info.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
echo '--- Host name:'
cat /proc/sys/kernel/hostname
echo
echo '--- Free memory'
grep '^Mem' /proc/meminfo
echo
echo '--- Mounted file systems (partial)'
df -h