Hardware Specs
What commands can I use to get hardware specs off a machine? I know it can pull things like even manufacturers off PCI cards. Anything I can read about this is much appreciated, however, I am specificly looking to get a HD capacity off a machine.
-TR |
Try in a command terminal ' /sbin/fdisk -l ' It requires root acces to run.
Is this what you are after. Brian1 " Google the Linux way @ http://www.google.com/linux " |
find /proc/ide -name "capacity" -exec cat {} \;
lspci -v Generally /proc is a good place to look (e.g. /proc/cpuinfo, /proc/meminfo, ... )... Then there is a http://ezix.sourceforge.net/software/lshw.html Cheers, Tink |
# fdisk
will give you hard drive specs and partition information (be careful though, and "man fdisk" before using it for anything) $ lspci will give you chipsets of cards |
Hi, I joined here in 2004 and this is my first post...
I see these are from 05.. Using " fdsik -l " gets me some of the details, but I know there is a way to get more ...such as total hours on the drive, as my data center guy did it and told me over the phone one time the hours on my drives. Thx in advance, jim Also, for anyone looking for minor details, check out phpspeed :-) |
Quote:
|
Thank-you for the reply Elliott,,
HHmm, hdparm fed something, but not smartctl (sorry for full copy/paste) And also going to http://smartmontools.sourceforge.net/doc.html for my fist time...Thank-you.. SOLVED with smartctl -a -d ata /dev/sdb ----------------- Quote:
Quote:
|
You can also try 'lshw', install it if you don't have it.
|
Quote:
Saw that somewhere el-ase....did you see the -C and the > html print? That was cool, WATT comes around, goes around...someday? Everyone will thing<k> BASIC and go A > B C and re-invent the wheel OneMoTime?...lol Keep warm, storm is hel off for now. ;-) Thank's to all WHO participate~!~! jc |
u can use the command : df -h
think it may help u. |
All times are GMT -5. The time now is 09:15 PM. |