As with the Cisco commands, I normally forget commands. This is just a reference of some commands.
Read scsi devices, memory, cpu
cat /proc/scsi/scsi
cat /proc/meminfo
cat /proc/cpuinfo
top
echo "- - -" > /sys/class/scsi_host/hostX/scan
X stands for the SCSI bus to scan
cat /sys/class/scsi_host/hostX/proc_name
X stands for the SCSI bus to list
SCSI device information
scsiinfo -l
Find files less than a day old:
find . -type f -mtime -1
Find files modified more than a day ago
find . -type f -mtime 1
Hardware info
hwinfo more | grep
Disk space (human readable sizes)
df -h
Update timeserver
ntpdate -u time.timeserver.com
OES version
cat /etc/novell-release
SLES version
cat /etc/SuSE-release
Folder size
du -sk DirName
Hardware serial number (Use on Dell/HP servers – probably others)
dmidecode|grep "Serial Number"