LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-27-2010, 02:02 AM   #1
nshya
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Unhappy Linux - MontaVista equivalent of iostat -E in solaris


Hi ,

In solaris , iostat -E ( to get extended device error statistics) will give the o/p similar to the following :

$ iostat -E
sd1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST973402SSUN72G Revision: 0400 Serial No: 074021V4N7
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd2 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: MATSHITA Product: DVD-RAM UJ-85JS Revision: F100 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
sd3 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST973402SSUN72G Revision: 0400 Serial No: 0742222SY6
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd4 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0742S0EML2
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd5 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0743S0ETS0
Size: 73.40GB <73400057856 bytes>


I want to find an equivalent in Linux. Mine is MontaVista.
I need to get the count of soft errors, hard errrors, etc. as well as the Vendor name, Size and Serial Number. I couldn't find any Linux utility to get this.

Could you please help?
 
Old 09-29-2010, 05:17 PM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Well, MontaVista isn't necessarily a complete Linux... it's designed for embedded apps. So... it could be very limited with regards to what is available for the general masses.

Things to look at:

sysfs (that thing mounted at /sys... though the content will VARY greatly... newer is better almost always)
procfs (because people threw a lot of stuff there prior to sysfs)
scsiinfo or scsi_info, this is the one you probably want... but again, might not be available for MontaVista (you can always try to build it).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
solaris equivalent of /etc/networks in linux? cghcgh Linux - Networking 5 03-28-2008 04:56 PM
Solaris volcheck equivalent in Linux Dopey Linux - Newbie 1 04-13-2005 04:47 AM
Is there a linux equivalent of dumpadm on Solaris? jdc2048 Red Hat 2 12-09-2003 02:06 PM
iostat closer to Solaris marist89 Linux - Software 0 11-20-2003 02:18 PM
Is there an equivalent of core [in solaris] in linux vsg123 Linux - Software 1 07-21-2003 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration