Sponsored Content
Operating Systems AIX AIX resources consumption group by process pattern Post 302547277 by victorcheung on Monday 15th of August 2011 03:53:38 AM
Old 08-15-2011
AIX resources consumption group by process pattern

Hi,

I have AIX processes something as below, how to know the resources consumption group by process pattern "price" and "devdb"?

eg:
CPU RAM WIO
price 20% 250M 5%
devdb 30% 1000M 8%


oracle 2990122 1 0 10:33:39 - 0:00 ora_psp0_price
oracle 3199166 1 0 10:33:40 - 0:01 ora_mmon_price
oracle 3231982 1 0 10:33:40 - 0:00 ora_d000_price
oracle 3371086 1 0 10:33:40 - 0:32 ora_mmnl_price
oracle 3465234 1 0 10:33:39 - 0:01 ora_smon_price
oracle 3514524 1 0 10:41:05 - 0:00 ora_q000_price
oracle 3535094 1 0 10:33:39 - 0:07 ora_ckpt_price
oracle 3543168 1 0 10:33:40 - 0:00 ora_s000_price
oracle 3747990 1 0 Aug 11 - 0:00 oracleprice (LOCAL=NO)
oracle 3768350 1 0 Aug 12 - 1:01 oracleprice (LOCAL=NO)
oracle 3772498 1 0 Aug 11 - 0:00 oracleprice (LOCAL=NO)
oracle 3776686 1 0 Aug 12 - 0:02 oracleprice (LOCAL=NO)
oracle 3596470 1 0 Aug 11 - 0:07 ora_arc1_devdb
oracle 3674234 1 0 Aug 11 - 0:00 ora_q001_devdb
oracle 3678460 1 0 Aug 11 - 0:00 ora_s000_devdb
oracle 3694838 1 0 Aug 11 - 0:00 ora_d000_devdb
oracle 3735626 1 0 Aug 11 - 0:00 ora_reco_devdb
oracle 3743968 1 0 Aug 11 - 0:00 ora_q000_devdb
oracle 3747990 1 0 Aug 11 - 0:00 oracledevdb (LOCAL=NO)
oracle 3768350 1 0 Aug 12 - 1:01 oracledevdb (LOCAL=NO)
oracle 3772498 1 0 Aug 11 - 0:00 oracledevdb (LOCAL=NO)
oracle 3776686 1 0 Aug 12 - 0:02 oracledevdb (LOCAL=NO)


Thanks!
Victor
 

9 More Discussions You Might Find Interesting

1. SCO

Ghost Process + CPU consumption

Hi everyone, I have a problem on sco unixware 7.1.4 a Ghost process is consuming cpu usage. rtpm cpu 0 ======--------- cpu 1 ===--------------------- cpu 2 ============================================================----------- cpu 3 ... (1 Reply)
Discussion started by: neal.opperman
1 Replies

2. AIX

How to list the resources used for each process

Hi Expert, Can anyone tell what command can list the resources used for each process in AIX, including the following columns: Process ID, Program Name, Resources used(CPU,RAM,SWAP),Start Time Thanks!! Victor Cheung (3 Replies)
Discussion started by: victorcheung
3 Replies

3. Solaris

real memory consumption of a process

hi pmap, prstat and ps gives the RSS which is shared memory. I need to know the consumption of real memory. how to do that? thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

4. UNIX for Advanced & Expert Users

Throttling Process Resource Consumption

Is there a way of throttling a process resources, something akin to limits but for processes not users? ie I want processX to be restricted in the amount of memory it can consume. For process cpu I guess I can simply nice the process, but total memory consumption is my primary concern. (3 Replies)
Discussion started by: humbletech99
3 Replies

5. Shell Programming and Scripting

Shell script to display top 5 process (per cpu consumption)

Hello, I have to create shell script being myself real novice in scripting... I was looking on the Internet for some script examples, but I don't have the basic understanding of the shell. I was trying to do something with “ps” command without success. For exemple total number of... (2 Replies)
Discussion started by: mr_awd
2 Replies

6. AIX

Memory consumption issue in AIX box

Hi, monitor memory usage on AIX machine on any day of the week from 3:00 PM ET to 5:00 PM ET - Povide min and max memory consumption. Determine if all of the available memory is visible to the operating system. If it is not, determine the amount of memory which may be allocated to the... (3 Replies)
Discussion started by: Rookie_newbie
3 Replies

7. HP-UX

PID Process Resources

Hi all. I need to get detailed information about a PID. I have an app called Reflection X and it shows many things like Total CPU percent, User CPU (Nice) percent, FS Reads, etc. My question is how can I get all that information on console? Is there an archive with the detailed... (9 Replies)
Discussion started by: the0m3n
9 Replies

8. AIX

AIX 7.1 on Power 750 is very slow with no high memory or process consumption

Hi, This thread has been posted before on linuxquestions.org, but no answer, maybe because this is unix question and not linux. I'm posting the same thread here, hope I can get an answer from someone in the meantime, I wish I could post of emergency thread but it needs bits which I don't have :... (6 Replies)
Discussion started by: aLuViAn
6 Replies

9. HP-UX

Find out most memory consumption process in HP UX

Dear All, I want to find out top 15 memory consumption processes in HP UX. Can anyone give me any idea about it? Kauser (2 Replies)
Discussion started by: makauser
2 Replies
OCF_HEARTBEAT_ORACLE(7) 					OCF resource agents					   OCF_HEARTBEAT_ORACLE(7)

NAME
ocf_heartbeat_oracle - Manages an Oracle Database instance SYNOPSIS
oracle [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
Resource script for oracle. Manages an Oracle Database instance as an HA resource. SUPPORTED PARAMETERS
sid The Oracle SID (aka ORACLE_SID). (unique, required, string, no default) home The Oracle home directory (aka ORACLE_HOME). If not specified, then the SID along with its home should be listed in /etc/oratab. (optional, string, no default) user The Oracle owner (aka ORACLE_OWNER). If not specified, then it is set to the owner of file $ORACLE_HOME/dbs/*${ORACLE_SID}.ora. If this does not work for you, just set it explicitely. (optional, string, no default) ipcrm Sometimes IPC objects (shared memory segments and semaphores) belonging to an Oracle instance might be left behind which prevents the instance from starting. It is not easy to figure out which shared segments belong to which instance, in particular when more instances are running as same user. .sp What we use here is the "oradebug" feature and its "ipc" trace utility. It is not optimal to parse the debugging information, but I am not aware of any other way to find out about the IPC information. In case the format or wording of the trace report changes, parsing might fail. There are some precautions, however, to prevent stepping on other peoples toes. There is also a dumpinstipc option which will make us print the IPC objects which belong to the instance. Use it to see if we parse the trace file correctly. .sp Three settings are possible: .sp - none: don't mess with IPC and hope for the best (beware: you'll probably be out of luck, sooner or later) - instance: try to figure out the IPC stuff which belongs to the instance and remove only those (default; should be safe) - orauser: remove all IPC belonging to the user which runs the instance (don't use this if you run more than one instance as same user or if other apps running as this user use IPC) .sp The default setting "instance" should be safe to use, but in that case we cannot guarantee that the instance will start. In case IPC objects were already left around, because, for instance, someone mercilessly killing Oracle processes, there is no way any more to find out which IPC objects should be removed. In that case, human intervention is necessary, and probably _all_ instances running as same user will have to be stopped. The third setting, "orauser", guarantees IPC objects removal, but it does that based only on IPC objects ownership, so you should use that only if every instance runs as separate user. .sp Please report any problems. Suggestions/fixes welcome. (optional, string, default instance) clear_backupmode The clear of the backup mode of ORACLE. (optional, boolean, default false) shutdown_method How to stop Oracle is a matter of taste it seems. The default method ("checkpoint/abort") is: .sp alter system checkpoint; shutdown abort; .sp This should be the fastest safe way bring the instance down. If you find "shutdown abort" distasteful, set this attribute to "immediate" in which case we will .sp shutdown immediate; .sp If you still think that there's even better way to shutdown an Oracle instance we are willing to listen. (optional, string, default checkpoint/abort) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 120. stop Stops the resource. Suggested minimum timeout: 120. status Performs a status check. Suggested minimum timeout: 5. monitor Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 120. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. methods Suggested minimum timeout: 5. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a oracle resource using the crm(8) shell: primitive p_oracle ocf:heartbeat:oracle params sid=string op monitor depth="0" timeout="30" interval="120" SEE ALSO
http://www.linux-ha.org/wiki/oracle_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_ORACLE(7)
All times are GMT -4. The time now is 08:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy