admin 管理员组

文章数量: 887021


2024年3月6日发(作者:python激活码2022)

echo "Subject: ${Subject}" >>/tmp/cho " " >>/tmp/m -f /tmp/nasreporttouch /tmp/nasreportchmod +x /tmp/nasreportcat <>/tmp/nasreport#!/bin/sh## NAS Report by Patrick Wilson# see: /?f=185&t=82260#p366188##

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:"


本文标签: 激活码 作者