admin 管理员组文章数量: 887021
2024年3月6日发(作者:python激活码2022)
echo "Subject: ${Subject}" >>/tmp/cho " " >>/tmp/m -f /tmp/nasreporttouch /tmp/nasreportchmod +x /tmp/nasreportcat <
echo "*********************"echo "** QNAP NAS Report **"echo "*********************"echo " "echo "NAS Model: $(getsysinfo model)"echo "Firmware: $(getcfg system version) Build $(getcfg system 'Build Number')"echo "System Name: $(/bin/hostname)"echo "Workgroup: $(getcfg system workgroup)"echo "Base Directory: $(dirname $(getcfg -f /etc/config/ Public path))"echo "NAS IP address: $(ifconfig $(getcfg network 'Default GW Device') | grep addr: | awk '{ print $2 }' | cut -d: -f2)"echo "NAS WLAN IP address:" $(curl /dyndns/getip)echo " "
echo "Default Gateway Device: $(getcfg network 'Default GW Device')"
echo " "ifconfig $(getcfg network 'Default GW Device') | grep -v HWaddrecho " "echo -n "DNS Nameserver(s):"
cat /etc/ | grep nameserver | cut -d' ' -f2echo " "echo " "echo "HDD Information:"echo " "if [ -x /sbin/hdparm ]; then for i in {a..d}; do echo -n /dev/sd$i ; hdparm -i /dev/sd$i | grep "Model"; doneelse
echo " /sbin/hdparm is not present"
fiecho " "echo "Disk Space:"echo " "df -h | grep -v qpkg | grep -v grepecho " "echo "Mount Status:"
echo " "mount | grep -v qpkgecho " "
echo "RAID Status:"
echo " "
cat /proc/mdstatecho " "
#echo "QNAP Media Scanner / Transcoder processes running: "#echo " "
#/bin/ps | grep medialibrary | grep -v grep#echo " "
#echo -n "MediaLibrary Configuration file: "
#ls -alF /etc/config/#echo " "
#echo "/etc/config/:"#cat /etc/config/ho " "echo "Memory Information:"
版权声明:本文标题:QNAP(威联通)每天自动通过邮件上报外网IP 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/jishu/1709685378h543692.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论