LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2010, 05:03 AM   #1
balakodoth
Member
 
Registered: Dec 2010
Posts: 40

Rep: Reputation: 0
from which file does iostat -E reads?


Can anyone tell me from which file iostat -E command reads? iostat -E lists the device error details. which directory or file does Linux stores device error details ?
 
Old 12-28-2010, 05:11 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
According to the iostat man page, the relevant files are:
  • /proc/stat contains system statistics.
  • /proc/partitions contains disk statistics (for pre 2.5 kernels that have been patched).
  • /proc/diskstats contains disks statistics (for post 2.5 kernels).
  • /sys contains statistics for block devices (post 2.5 kernels).
 
Old 12-28-2010, 05:43 AM   #3
balakodoth
Member
 
Registered: Dec 2010
Posts: 40

Original Poster
Rep: Reputation: 0
in solaris iostat -E command displays as below in solaris, but not sure from which directory it is reading this information. I checked the directories specified in man pages but i could get any data as below.

sd0 Soft Errors: 0 Hard Errors: 5 Transport Errors: 0
Vendor: TOSHIBA Product: DVD-ROM SD-C2612 Revision: 1011 Serial No: 04/17/02
Size: 18446744073.71GB <-1 bytes>
Media Error: 0 Device Not Ready: 5 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd1 Soft Errors: 42 Hard Errors: 0 Transport Errors: 0
Vendor: LSILOGIC Product: 1030 IM IM Revision: 1000 Serial No:
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 42 Predictive Failure Analysis: 0
 
Old 12-28-2010, 06:49 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Usually iostat translates system info in a human readable form. I don't know which are the relevant files in Solaris, anyway.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Shell script that reads from parameters file carters2 Linux - Newbie 4 11-04-2009 09:24 AM
Java File reads and writes manolakis Programming 2 04-08-2009 01:52 PM
How to log file reads? Steah Linux - General 3 03-26-2008 07:26 PM
cdrom reads: cannot fine file or folder not on konsole. mary beth Linux - Newbie 12 03-16-2007 02:37 PM
Java-Applet Reads file but shouldnt MaxistXXL Programming 3 01-18-2007 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration