Sponsored Content
Operating Systems Solaris I/O details of all FS in Solaris Post 302692373 by ali560045 on Monday 27th of August 2012 01:56:15 PM
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

 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

[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

7. 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

8. 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

9. 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
capture-schema(1m)					    Application Server Utility						capture-schema(1m)

NAME
capture-schema - stores the database metadata (schema) in a file for use in mapping and execution SYNOPSIS
capture-schema-dburl url-username name- password password-driver a_jdbc_driver [-schemaname name] [-table tablename]* [-out filename] Stores the database metadata (schema) in a file. You can also use the Sun Java System Studio IDE to capture the database schema. Run cap- ture-schema as the same database user that owns the tables, so that the -username and -schemaname options are given the same username. Additionally, you can grant the database user running the capture-schema command the ANALYZE ANY TABLE privilege. OPTIONS
-dburl JDBC URL expected by the driver for accessing a database. -username user name for authenticating access to a database. -password password for accessing the selected database. -driver JDBC driver classname in your CLASSPATH. -schemaname name of the user schema being captured. If not specified, the default will capture metadata for all tables from all the schemas accessible to this user. Specifying this parameter is highly recommended. If more than one schema is accessible to this user, more than one table with the same name may be captured which will cause problems. -table name of the table; multiple table names can be specified. -out output target; defaults to stdout. This parameter corresponds to the schema sub-element of the sun-cmp-mapping ele- ment in the sun-cmp-mapping_1_1.dtd file. EXAMPLES
Example 1: Using capture-schema capture-schema -dburl jdbc:oracle:thin:@sadbuttrue:1521:ora817 -schemaname cantiflas -username CANTIFLAS -password enigma -driver oracle.jdbc.driver.OracleDriver asadmin(1M) Sun Java System Application Server March 2004 capture-schema(1m)
All times are GMT -4. The time now is 09:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy