[TriLUG] RHEL disks

Jason Herr hobie at mail.com
Mon May 4 19:58:40 EDT 2009


dmesg

It's in there if the OS found it.   That'll give you what the OS knows 
about the disks themselves.   You're just going to have to read through it.

J


stan briggs wrote:
> all,
> 
> i trying to programatically gather information on the disks that are
> installed on two different platforms. the solaris side i can handle
> but the RHEL side i can't quite get to. things like 'fdisk -l' and the
> contents of /proc/partitions give me details that i don't need. i just
> want to list the disks (and their sizes, hopefully) that are currently
> connected to the server.
> 
> any suggestions?
> 
> thanks,
> stan
> 




More information about the TriLUG mailing list