On Sun, Sep 27, 2009 at 3:07 AM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
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
Robert, Another that I like to use for Hardware audits. Is lshw, here a sample of it... magi description: Desktop Computer width: 64 bits capabilities: smbios-2.2 dmi-2.2 vsyscall64 vsyscall32 configuration: boot=normal chassis=desktop uuid=00000000-0000-0000-0000-00508D85164B *-core description: Motherboard product: NF8/NF8-V (NF3 Series) vendor: http://www.abit.com.tw/ physical id: 0 version: 1.x *-firmware description: BIOS vendor: Phoenix Technologies, LTD physical id: 0 version: 6.00 PG (06/14/2005) size: 128KiB capacity: 448KiB capabilities: isa pci pnp apm upgrade shadowing cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp ls120boot zipboot *-cpu description: CPU product: AMD Sempron(tm) Processor 3100+ vendor: Advanced Micro Devices [AMD] physical id: 4 bus info: cpu@0 version: AMD Sempron(tm) Processor 3100+ slot: Socket 754 size: 1800MHz capacity: 3GHz width: 64 bits clock: 200MHz capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext x86-64 3dnowext 3dnow up rep_good nopl cpufreq *-cache:0 description: L1 cache physical id: 8 slot: Internal Cache size: 128KiB capacity: 128KiB capabilities: synchronous internal write-back *-cache:1 description: L2 cache physical id: 9 slot: External Cache size: 256KiB capacity: 256KiB capabilities: synchronous internal write-back *-memory description: System Memory physical id: 1a slot: System board or motherboard size: 2GiB *-bank:0 description: DIMM physical id: 0 slot: A0 size: 1GiB width: 64 bits -- ----------------------------------------- Discover it! Enjoy it! Share it! openSUSE Linux. ----------------------------------------- openSUSE -- http://en.opensuse.org/User:Terrorpup openSUSE Ambassador openSUSE Member skype -- terrorpup twitter -- terrorpup Identica -- terrorpup freenode(irc) -- terrorpup/lupinstein. friendfeed -- http://friendfeed.com/terrorpup Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. http://www.susestudio.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org