I/O details of all FS in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris I/O details of all FS in Solaris
# 1  
Old 08-27-2012
I/O details of all FS in Solaris

Hi,

Can anyone let me know which command should i use to find Filesystem I/O utilization report along with the respective process b/w specific time range
# 2  
Old 08-27-2012
You have to have previously enabled accounting to get some of this information.

The /proc filesystem has usage information for a process. Once the process exits then that data goes away. It is not stored for future use.

Since accounting uses resources you might just want to google for 'Rich Teer Solaris Systems Programming'. I think his site is still up. This site has C code that you can compile and run to get this kind of information. The code comes in an tarball file, code you want is: getprusage2.c
This User Gave Thanks to jim mcnamara For This Post:
# 3  
Old 08-27-2012
Hi,

I have found below command to tract current process w.r.t cpu and memory usage . How to get similar o/p w.r.t devices

Code:

 ps -e -o pcpu -o pmem -o pid -o user -o args | sort -nr

 0.8 20.9 19502   oracle oraclePRASAPDB (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
 0.8 20.9 19469   oracle oraclePRASAPDB (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
 0.8 20.9 19404   oracle oraclePRASAPDB (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
 0.8 20.9 19393   oracle oraclePRASAPDB (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
 0.8 20.9 19362   oracle oraclePRASAPDB (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
 0.8 20.9 19350   oracle oraclePRASAPDB (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
 0.7 20.8 27742   oracle ora_s001_PRASAPDB
 0.7 20.8  6978   oracle ora_s003_PRASAPDB
 0.6 20.8  6980   oracle ora_s004_PRASAPDB
 0.5 21.1  6990   oracle ora_s009_PRASAPDB
 0.5 20.8  6976   oracle ora_s002_PRASAPDB
 0.5 19.2  8696   oracle ora_s005_PRASAPDB
 0.4 20.8 15641   oracle ora_s006_PRASAPDB
 0.3 20.8  8769   oracle ora_s007_PRASAPDB
 0.3 20.8  6962   oracle ora_d000_PRASAPDB
 0.2 20.8  7272   oracle ora_s008_PRASAPDB


I/O stats w.r.t devices

Code:
iostat -d -x 1 1
                 extended device statistics                 
device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b 
md0       3.6    3.4  220.9   26.1  0.0  0.1   13.4   1   3 
md1       0.1    0.1    6.9    6.9  0.0  0.0    8.8   0   0 
md3       0.0    0.0    0.0    0.0  0.0  0.0   19.3   0   0 
md4       0.0    0.0    0.0    0.0  0.0  0.0   14.4   0   0 
md10      2.0    3.3  118.8   17.5  0.0  0.1   12.4   0   2 
md11      0.1    0.0    6.9    0.0  0.0  0.0    1.1   0   0 
md12      0.0    0.1    0.0    7.7  0.0  0.0   16.4   0   0 
md20      1.8    3.4  114.2   24.7  0.0  0.1   12.6   0   3 
md31      0.0    0.0    0.0    0.0  0.0  0.0   20.7   0   0 
md32      0.0    0.0    0.0    0.0  0.0  0.0   11.7   0   0 
md41      0.0    0.0    0.0    0.0  0.0  0.0   13.6   0   0 
md42      0.0    0.0    0.0    0.0  0.0  0.0    8.3   0   0 
sd0       2.7    3.8  125.7   17.8  0.0  0.1   12.9   0   3 
sd1       2.2    3.6  102.1   29.2  0.0  0.1   13.4   0   3 
sd2       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
sd3       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
sd4       5.6    1.8  240.2   38.4  0.0  0.1   13.4   0   2 
sd5       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
sd12      6.5    3.1  627.6  639.8  0.0  0.1   12.2   0   4 
sd13     87.6  173.5 2059.8 1390.5  0.0  0.4    1.4   0  21 
sd14    621.5  125.7 13930.1 1629.9  0.0  2.5    3.3   0  68 
nfs1      0.0    0.0    0.0    0.0  0.0  0.0    0.2   0   0

# 4  
Old 08-27-2012
Dtrace iotop provides this kind of statistics.
This User Gave Thanks to jlliagre For This Post:
# 5  
Old 08-28-2012
Thanks but iotop does work in my environment

Code:
[prdagwn2@PRASAPDB]/u01/app/oracle> iotop -P
ksh: iotop:  not found
[prdagwn2@PRASAPDB]/u01/app/oracle> uname -ar
SunOS prdagwn2 5.10 Generic_141414-10 sun4v sparc SUNW,T5240

# 6  
Old 08-28-2012
It likely works but you need to download it first.
# 7  
Old 08-28-2012
See the DTrace Toolkit: iotop
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Inventory details - Solaris

i need to extract following information through command line on solaris machine : 1.manufacturer name (hardware as well as OS) 2.Model number 3.Serial number - Serial Number of the device or the Physical device serial number for Virtual Servers 4.whether the server is physical or virtual -... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies

2. UNIX for Advanced & Expert Users

NTP server name and ip details on Linux/Solaris

Hi All, Where can I find all the NTP server names/ip addresses on Linux/Solaris systems. How can I grep these names/IP address from specific files from a specific OS (Linux/Solaris). I know on linux /etc/ntp.conf and /etc/ntp/ntp.conf on solaris contains these details. Whether I am right about... (4 Replies)
Discussion started by: sanzee007
4 Replies

3. Solaris

How to find MQ details on Solaris 5.8?

Hi All, I want to find MQ details on a solaris 5.8 server , does anyone knows the command to findout the details I have used below command to find the following o/p command pkginfo | grep -i mq o/p application mqm WebSphere MQ for Sun Solaris application... (4 Replies)
Discussion started by: Jcpratap
4 Replies

4. Solaris

[Solved] Solaris list physical volume details

in AIX, we have lspv command to display details of physical volume like below: lspv -l hdisk102 hdisk102: LV NAME LPs PPs DISTRIBUTION MOUNT POINT oradata112lv 1599 1599 320..320..319..320..320 /oracle/oradata11 Can you please tell how to... (2 Replies)
Discussion started by: sendtoshailesh
2 Replies

5. UNIX for Dummies Questions & Answers

at -l doesnt give details of the scheduled job. How to get the details?

I have scheduled couple of shell scripts to run using 'at' command. The o/p of at -l is: $ at -l 1320904800.a Thu Nov 10 01:00:00 2011 1320894000.a Wed Nov 9 22:00:00 2011 1320876000.a Wed Nov 9 17:00:00 2011 $ uname -a SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies

6. Solaris

Solaris configuration details.

How to find the entire configuration details of a solaris. I need to know what partion were made, which OS is used and wat version is used etc... Thanks to tell (4 Replies)
Discussion started by: kkalyan
4 Replies

7. Solaris

Getting Network Interface details in solaris

Hi, /sbin/ifconfig -a when i login as guest user , output like below, lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 eri0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet... (5 Replies)
Discussion started by: forumguest
5 Replies

8. Solaris

How to get HBA details in Solaris 9 ?

Hi , How can I collect information about any Hardware , specially HBA (Host Bus Adapter) .... I tried prtdiag but it is not shoing the HBA details. Regards (4 Replies)
Discussion started by: adel8483
4 Replies

9. Solaris

Where can I find details of what various Solaris packages do?

Among varous other items, I'm trying to find out what "Authentication Management Infrastructure" (package SUNWamix) does, and why would a sysadmin disable it? The reason given is 'for security purposes' without explanation ... how and why is AMI such a 'security risk' that it has to be turned off?... (3 Replies)
Discussion started by: muleheadjoe
3 Replies
Login or Register to Ask a Question