LINUXOPOLIS # 2019-11-07 ~ INXI
INXI
Building a Linux habitatPublished with SteemPeak
home ~ previous
SUMMARY
02 INXI ................................................................ 2019-11 new
01 bash-script ......................................................... 2019-06
#02
02 INXI
homepage .............................................................. smxi.org
git-hub ................................................... github.com/smxi/inxi
documentation ........................................... smxi.org/docs/inxi.htm
01 BASH-SCRIPT
#!/bin/bash
# check [-? host cpu network disk]
# Wrapper for inxi, nmap vnstat and ip
#
clear
while [ -n "$1" ]
do
case "$1" in
"-?" )
echo
head -n4 "$0"
echo
;;
"host" )
echo
inxi -v7
echo
;;
"cpu" )
echo
inxi -f
echo
;;
"disk" )
echo
inxi -Dp
echo
;;
"network" )
echo
inxi -i
echo
nmap --iflist
echo
ip neigh
echo
vnstat
echo
;;
esac
shift
done
exit
Manpages $ man inxi nmap ip vnstat