On Saturday 26 September 2009 09:38:01 pm Greg Freemyer wrote:
Robert,
What I normally want to know is what hard drives and usb drives are connected to a box. hwinfo shows that, but it is overkill for me.
I normally just do fdisk -l which shows drives (make, model) and partitions. I then use hdparm to delve in even further (ie. s/n). I think you have to use sdparm to get the serial number of a usb thumbdrive.
hddtemp-0.3_beta15-10.pm.11.1 it's in the repos. then I just use a small script (hdtemp) to get temps for all drives. 02:04 archangel:~> hdtemp /dev/sdc: ST3500630AS: 39°C /dev/sdd: ST3750330AS: 38°C /dev/sdb: ST3750330AS: 37°C /dev/sda: ST3500630AS: 35°C script: #!/bin/bash --norc for i in $(cat /proc/partitions | egrep sd[abcdefgh]$ | sed -e 's/^.*s/s/'); do sudo hddtemp /dev/$i done (the for statement is all one line) Also, for further hardware info, don't forget "dmidecode" -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org