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
asadmin(1M)						    Application Server Utility						       asadmin(1M)

NAME
asadmin - utility for performing administrative tasks for the Sun Java System Application Server SYNOPSIS
asadmin subcommand [-short_option[short_option_argument]]* [--long_option[long_option_argument]]* [operand]* Use the asadmin utility to perform any administrative task for the Sun Java System Application Server. You can use this utility in place of using the Administration Console. The subcommand identifies the operation or task you wish to perform. Subcommands are case-sensitive. Short option arguments have a single dash (-); while long option arguments have two dashes (--). Options modify how the utility performs a subcommand. Options are also case- sensitive. Most options require argument values except boolean options which toggle to switch a feature ON or OFF. Operands appear after the argument values, and are set off by a space, a tab, or double dashes (--). The asadmin utility treats anything that comes after the options and their values as an operand. Local subcommands can be executed without the presence of an administration server. However, it is required that the user be logged into the machine hosting the domain in order to execute the subcommand and have access (permissions) for the installation and domain directo- ries. Remote subcommands are always executed by connecting to an administration server and executing the subcommand there. A running administra- tion server is required. All remote subcommands require the following options: -u --user authorized domain application server administrative username. -w --password password to administer the domain application server. -H --host machine name where the domain application server is running. -p --port port number of the domain application server listening for administration requests. -s --secure if true, uses SSL/TLS to communicate with the domain application server. -t --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. Default is false. -e --echo setting to true will echo the command line statement on the standard output. Default is false. -I --interactive if set to true (default), only the required password options are prompted. For security purposes, you can set the password for a subcommand from a file instead of entering the password at the command line. The --passwordfile option takes the file containing the passwords. The valid contents for the file are: AS_ADMIN_PASSWORD=value AS_ADMIN_ADMINPASSWORD=value AS_ADMIN_USERPASSWORD=value Given the --passwordfile option and its value, the password options in the passwordfile are exported to the global environment; subsequent subcommands without the password options take this value. However, if both the --password and --passwordfile options are specified on the command line, the password value in the passwordfile is exported to the global environment and subsequent subcommands without the --pass- word option would take this value. However, for the current subcommand, the --password option value specified on the command line is taken since the --password option takes precedence over the --passwordfile option. To use the --secure option, you must use the set command to enable the security--enabled flag in the admin http-listener in the domain.xml. When you use the asadmin subcommands to create and/or delete, you must restart the server for the newly created command to take affect. Use the start-domain command to restart the server. Some characters, such as the colon (:), the asterisk (*), and the backslash(, cause errors if you use them in the command syntax unless you use escape characters to set them off. The possibilities for using escape characters vary depending upon what platform you use and whether you use singlemode or multimode. You do not need to use escape characters for colons in the get or set commands. On UNIX, in singlemode, you can use either two backslashes () or double-quotes (" ") to escape restricted characters. For example, when creating a JDBC connection pool with an option whose value includes colons, you could use backslashes (example assumes the environment variables have been set for some properties): asadmin create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleDataSource --failconnection=true --isconnectvali- datereq=true --property url=jdbc:oracle:thin:@asperfsol8:1521:V8i:user=staging_lookup_app:password=staging_lookup_app OraclePoollookup To use quotes in the same example as above, you would enclose the value in double quotes (") and escape the double quotes with the back- slash. asadmin create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleDataSource --failconnection=true --isconnectvali- datereq=true --property url= word=staging_lookup_app OraclePoollookup On windows, in singlemode, you can escape using the backslash character. For example, when creating a JDBC connection pool with an option whose value includes colons, you could use backslashes (example assumes the environment variables have been set for some properties): asadmin create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleDataSource --failconnection=true --isconnectvali- datereq=true --property url=jdbcoraclethin@asperfsol81521V8i:user=staging_lookup_app:pas sword=staging_lookup_app OraclePoollookup On any platform, in singlemode, you can use backslashes to escape the character and enclose the value containing the escaped characters in double quotes. For example, when creating a JDBC connection pool with a option whose value includes colons, you could use the escape char- acters as follows (example assumes the environment variables have been set for some properties): asadmin create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleDataSource --failconnection=true --isconnectvali- datereq=true --property url="jdbcoraclethin@iasperfsol81521V8i":user=staging_lookup_app: password=staging_lookup_app OraclePoollookup On any platform, in multimode, you can use the following syntax, which only requires quotes, not slashes or backslashes: asadmin> create-jdbc-connection-pool --datasourceclassname oracle.jdbc.pool.OracleDataSource --failconnection=true --isconnectvali- datereq=true --property url="jdbc:oracle:thin:@asperfsol8:1521:V8i":user=staging_lookup_app:password=staging_lookup_app OraclePoollookup To access the manpages for the Application Server Command-line interface subcommands, add $AS_INSTALL/man to your MANPATH environment vari- able. You can obtain overall usage information for any of the asadmin utility subcommands by invoking the --help option. If you specify a sub- command, the usage information for that subcommand is displayed. Using the help option without a subcommand displays a listing of all the available subcommands. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Unstable | +-----------------------------+-----------------------------+ appclient(1M), package-appclient(1M) J2EE 1.4 SDK March 2004 asadmin(1M)
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy