Finding C/Mgr Process Name on Unix

Gurus,
We have three environments on one HPUX box (PROD, TEST, DEV). Two of them are on 11i. One of them is now on 12. In the past, to determine the concurrent manager process, I grep for fndcpmbr, and also grep on the mountpoint. The reason why I grep on the mountpoint is because that shows the concurrent manager logfile location, so I can differentiate between PROD, TEST and DEV. (Each environment is on it's own mountpoint or filesystem, eg /u10, /u11 and /u12)
In release 12, the fndcpmbr unix process does not show the logfile. So once all environments on this box are on release 12, how can I determine through ps-ef on unix, which concurrent manager belongs to which environment?
So 11i looks like this:
FNDLIBR FND CPMGR FNDCPMBR sysmgr="" diag=N logfile=/u10/or
And 12 looks like this:
FNDLIBR FND CPMGR FNDCPMBR sysmgr="" sleep=30 pmon=4 quesize=1 d (there is no logfile showing)
Thanks ...colin

Hi Srini,
Because we have PROD, TEST and DEV on the same unix box. If I'm applying a patch to TEST, I need to shutdown the TEST application processes. AFter calling the script to shut it down, I always check for the unix process to ensure it is down (it's just easier than logging into the applications to the c/mgrs screen). The other reason: say if we need to shutdown the Test database - I always like to ensure that the TEST applications processes are completely shutdown, before I shutdown the TEST db - again, it's always been easier to run my ps -ef script on unix, that it is to log into the application and check the concurrent mgr screen.
..colin

Similar Messages

  • How to get name or unix id of last switched System Events process?

    Hello
    I am writing a script to be used as an idle function to send a command to a process as soon as it's not frontmost anymore. So far, I can figure how to get the unix id or name of the frontmost process, but not of the previous process . Here is what I have:
    on idle {}
    my handleProcesses()
    return 5 --- '5' tells idle () to run every 5 seconds.
    end idle
    on handleProcesses()
    tell application "System Events"
    set FrontApp to (get name of every process whose frontmost is true)
    set PrevApp to (get name of previous process)
    end tell
    --- my command here, like tell PrevApp to hide...
    end handleProcesses
    My problem is that "previous process" is not in the System Events dictionary. I cannot use "frontmost if false" either, because this would return all other opened applications, not just the previous one.
    I know one partial solution would be to use Command-Tab, get the name of frontmost, and use Command-tab again. But, it's not really pratical nor elegant.
    What I need is a function which can get my frontmost process name (which is easy), and return it when the process is inactive (no more frontmost).
    Thanks.
    Vic

    You can do what you want if you maintain a record yourself of what used to be frontmost:
    tell application "System Events"
    set FrontApp to (get name of every process whose frontmost is true)
    set lastFrontApp to FrontApp
    repeat while FrontApp = lastFrontApp
    set FrontApp to (get name of every process whose frontmost is true)
    end repeat
    set BackApps to (get name of every process whose frontmost is not true)
    if lastFrontApp is in BackApps then
    --the app is open in the background
    else
    --the app was closed
    end if
    end tell

  • How do find Process name and Node name in a workflow ?

    Hi,
    For logging exceptions, how do I elegantly find the
    process name and node name in a workflow.
    Thanks
    -Anil

    The service location of the process is available on the interface returned
    by
    context.getService() in the process. That contains the full process path
    (including process project name).
    On the node, I don't know...
    Robert
    "Anil Varma" <[email protected]> wrote in message
    news:31361182.1091122588490.JavaMail.root@jserv5...
    Hi,
    For logging exceptions, how do I elegantly find the
    process name and node name in a workflow.
    Thanks
    -Anil

  • A Script to Find and Replace Layer Names

    Are there any scripts to find and replace layer names?
    There is an excellent script available for Photoshop which allows you to not only replace words in layer names, but also insert words as Prefixes, Suffixes and Sequential Numbers.
    The illustrator version of this script only allows sequential numbering: It doesn't offer find and replacing of words.
    Ideally, it would be great if there was something that could do multiple find and replaces in one go:
    (e.g.
    You have layers like this Car, Dog, Bat
    You enter: car(Option1), dog(Option2), Bat(Option3)
    Your layers then become: Option1, Option2, Option3).

    big_smile, that's a very good start! Step 1 of Learning How To Script is indeed, adjusting an existing simple script to make it do more complicated things. (And usually then "break something", which is also a required part of the process.)
    You are correct in your observation this is repetitive stuff. For one or two different items that wouldn't be a problem, but in longer lists you soon get lost.
    The usual way of working with find-change lists is to build an array:
    var layernames = [
    [ 'FHairBowlBoy *Hair', 'Hairboy1' ],
    [ 'FHairCurlyafroBoy *Hair', 'Hairboy2' ],
    [ 'FHairSpikyBoy *Hair', 'Hairboy3' ],
    The general idea is to loop over all names, check if the current layer name is "layernames[i][0]" (the left column) and if so, rename it to "layernames[i][1]" (the right column). If you know how to write a loop in Javascript, then you can implement this right away.
    However ..
    A more advanced way to do this doesn't even need loop to over all layernames -- instead you can immediately "get" the correct name per layer! It's magic! Almost!
    The trick is to use a Javascript object instead of an array. Javascript objects are nothing special; Illustrator's 'layers' is an array of objects, and each object "layer" has a property "name", whose value you can read and set. What I do here is create a new object, where the "name" part is the original layer name and its value is the new layer name. All you need to check for per each layer is if there is a property 'object.originalLayerName', and if so, assign its value to that layer name.
    This looks a bit like the array above, except that (1) you use {..} instead of [..] to create an object, and (2) you add "name:value" pairs instead of "value" only (actually, the 'name' of a value in an array is simply its number).
    So this is what it looks like:
    // JavaScript Document
    var doc = app.activeDocument;
    // name indexed object
    var layernames = {
    'FHairBowlBoy *Hair':'Hairboy1',
    'FHairCurlyafroBoy *Hair':'Hairboy2',
    'FHairSpikyBoy *Hair':'Hairboy3'
    // loop through all layers
    for (var i = 0; i < doc.layers.length; i++)
    //Set up Variable to access layer name
    var currentLayer = app.activeDocument.layers[i];
    if (layernames[currentLayer.name])
      currentLayer.name = layernames[currentLayer.name];
    Enjoy!

  • Error "ORA-39029: worker 1 with process name "DW01" prematurely terminated"

    Hi,
    I get this error during an import from my production database schemas into my development schemas:
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
    Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31672: Message 31672 not found; No message file for product=RDBMS, facility=ORA; arguments: [DW01]
    Job "SYS"."SYS_IMPORT_FULL_01" stopped due to fatal error at 12:57:47
    ORA-39014: One or more workers have prematurely exited.
    This is my parfile:
    PARALLEL=1
    remap_SCHEMA=xxx:xxx
    remap_tablespace=yyy:yyy
    DUMPFILE=file.dmp
    LOGFILE=imp_file.log
    DIRECTORY=dddd
    TRANSFORM=oid:n
    I try to import with sys and system user.
    I can't find anything about this error.

    In the alter there was an ORA-00600
    Errors in file /home/oracle/oracle/admin/siasvil/bdump/siasvil_dw01_32480.trc:
    ORA-00600: internal error code, arguments: [kkqfca:invalid input], [], [], [], [], [], [], []
    Wed Oct 8 15:20:41 2008
    Errors in file /home/oracle/oracle/admin/siasvil/bdump/siasvil_dw01_32480.trc:
    ORA-00600: internal error code, arguments: [kkqfca:invalid input], [], [], [], [], [], [], []
    And in the trace something about a select:
    ORA-00600: internal error code, arguments: [kkqfca:invalid input], [], [], [], [], [], [], []
    Current SQL statement for this session:
    select
    e.id_nodo_alb_class||'/'||SEQ_AUX KEY_CODE, ID_AUX_ENUM ID_KEY_VAL, NAME_VALUE
    DESC_KEY_VAL,
    DS_VALUE DESC_LONG_KEY_VAL, CD_TIPO, SEQ_AUX, n.ID_NODO_ALB_CLASS ID_NODO, n.ds_nodo
    from ri01_aux_enum e, ri01_nodi_alb_class n
    where e.id_nodo_alb_class=n.id_nodo_alb_class(+)
    Now I'm execute the impor command with CONTEN=METADATA_ONLY
    I will see if it will works.

  • How to find out the process chain

    Hi folks
    Hope every one is doing good..!
    in sm37 my job is running (ABAP program) which is in process chain, but i have to find out the process chain name..!
    Could any one help me on this..!

    hi,
      in SM37 select the job status as active and execute it, in the next screen you  will find only active jobs select your job (ABAP Program) click on step - > in th next screen put the cursor on the job -> select Goto option in menu bar click on variant it gives you the field names and desc like chain name, variant etc information.
    Regards
    Sankar

  • Query to find out which process consuming more cpu?

    Hi All,
    some one please tell me the query to find out which process is consuming more
    cpu resources?
    Thanks and Regards
    Srikanth

    Use V$SESSTAT to determine which sessions are using most CPU, and investigate what SQL these users/sessions are executing:
    SQL> select ss.sid, se.command, ss.value CPU, se.username, se.program
    from v$sesstat ss, v$session se
    where ss.statistic# in
    (select statistic#
    from v$statname
    where name = 'CPU used by this session')
    and se.sid=ss.sid
    order by ss.value desc;

  • Start as Service - process name confilcts

    Lookuout v5.1 running on Windows XP SP2
    We have Lookout set to run as a service. When we log onto Windows then attempt to open the Lookout procees file we get a "Cannot open file: process name confilcts with that of currently running process." error. The only thing I can find related in the help file is the requirement to Log On to Lookout, but I get the same error after logging on to Lookout then trying to open the process. Any idea what I am missing here?
    Thanks in advance,
    Ed

    I believe that you get that error because the process is already running as service.
    The user interface should appear once the service is started. The problem is why you can't see the user interface when it is running.
    Lookout 5.1 starts up as service on my xp computer without any problem. It's running just like I launch lookout.exe.
    If you start the service manually, will lookout start up and user interface appear?
    Ryan Shi
    National Instruments

  • How can i find the meta chain name?

    My process chains are running based on meta chain option,So how can i find the meta chain name???

    Hello
    Goto SE16
    Table RSPCCHAIN
    ut u r local chain name as varient and exe
    similerly goback if the chain you get is also a local chain....Until you get only one chain...
    Where Used List --
    RSPCPROCESSLOG table
    You can see the Process Logs at SM37 too based on the Technical name of the Chain you can trace the Meta chian
    Thanks
    Geeta

  • Trigger process chains from UNIX

    Hi,
    I just wanted to know how can we trigger Process chains from UNIX Server.
    Any pointers will be appreciated.
    Thanks

    I suggest to use the sapevt.exe.
    With it you can trigger an event in the SAP system with the execution of a simple command file (.bat for ex.)
    So the event will start the chain as you require.
    You can find more info for sapevt in:
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
    Regards,
    Sregio
    Did you try that?
    Message was edited by: Sergio Locatelli

  • Rename of process name

    Hi,
    At the workbench, Is there any way to rename a process name once it is created. The process category name can be changed under the proporties page, but can't find any way to change the process's name.
    I tried deactiviate the process, also cannot...
    My purpose is, initially when I implement the process, I use a generic name for the process. Later on the midst of development, I want to change to a more specific name. Any suggestion?
    How can I copy the components from a process to another process?
    Thank you.

    Thanks again WorkflowUser... you are right that can create a new process by copying existing process to it.

  • How to find the corresponding job name or program name of a file

    Hi Friends,
      I am having a file name in Unix server. Is there any way I can find out which program or job it had run to give this file.
    Eg. the file name is in location /sapdaemon/DW/Out/test.dat and I want to know which program it had run to produce this file.
    Regards,
    Ramesh.

    Hi,
    Goto table TVARV and display all entries it contain. Then search for the file path. if it is present, then use this variable name and search the variable in the programs that you suspect it would have been used..
    Please reward points if useful
    Rgds,
    Harikrishna .

  • Xmonad actions.windowbringer; x11 process name in window name

    I have been struggling with a small problem that concerns XMonad.Actions.WindowBringer. This module uses dmenu in order to bring some window into focus. Dmenu is called with a list of current names of all windows and  users can either select one window using arrows or search by a string in window names.
    The problem is that some applications set window name in such a way that there is no mention about the name of application itself. For instance, my browser simply set the opened url in focused tab, but does not mention the name of the browser.
    What I want to achieve is simply put the process name together with the window name, so that it can simplify the window search.
    I believe there are two ways of achieving it:
    -- the first one is to change the format of the window name in Xorg. Thus, to append to window name, also the name of the process (when I say the name of the process, I mean something like the output of this command: ps -q $(xdotool getwindowfocus getwindowpid) -o command). If there is such a way that one can configure the window name title in Xorg, I would appreciate if one can indicate it. And this would be then a global solution that does not concern xmonad or haskell programming.
    -- Another approach I tried is  to find a way to get "getwindowpid" property from inside the haskell in order to modify Action.WindowBringer module for my taste. But I have not found any modules that can achieve that, i.e. getting pid of the windows or getting the process names of the windows. So, if you are aware of any, please reply.
    Thank you!

    This is exactly where I have started.
    Inside the windowbringer module they use the getname function from util.namedwindow, which simply equivalent to "xdotool getwindowname". All other functions in windowbringer module are related to what can be done with the selected window: dragged to the current workspace, jump to the workspace where the window is and focus on it, etc.
    Unfortunately, in util.namedwindow there is only one available function which simply get the window name. And I have not find the xmonad module which provide with the same functionality as xdotool program.

  • Cant find bundles for base name for WD Component

    Some of my web dynpro components are throwing this exception:
    <b>java.util.MissingResourceException: Cant find bundle for base name com/company/application/WoBaseView.wdview, locale en</b>
    When looking under the src > packages > com > company > application all bundles are included:
    WoBaseView.wdview.properties
    WoBaseView.wdview
    WoBaseView.wdview.xlf
    We are running NW SP15
    Any help are welcome
    Thanks in advance

    Hi Sumit,
    The error is not generated when we are running the application instead it is generated when we are selecting the Language Resource tab.
    Content Administration > Web Dynpro > Deployed Content. When selecting the details console for the application or the component and selecting the <b>Language Resources tab</b> I got the following exception:
    java.util.MissingResourceException: Can't find bundle for base name com/company/application/WoChangeSyspos.wdview, locale en
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:839)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:729)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:702)
         at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.initResourceBundle(AbstractResourceHandler.java:471)
         at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.loadResourceBundle(AbstractResourceHandler.java:176)
         at com.sap.tc.webdynpro.tools.explorer.Detail.initializeBundleTextsInContext(Detail.java:266)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalDetail.initializeBundleTextsInContext(InternalDetail.java:247)
         at com.sap.tc.webdynpro.tools.explorer.languages.SelectDCView.onDeplyoableObjectPartSelected(SelectDCView.java:191)
         at com.sap.tc.webdynpro.tools.explorer.languages.wdp.InternalSelectDCView.wdInvokeEventHandler(InternalSelectDCView.java:209)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Component.fireEvent(Component.java:271)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalDetailInterface.wdFireEventDeployableObjectPartSelected(InternalDetailInterface.java:211)
         at com.sap.tc.webdynpro.tools.explorer.DetailInterface.fireDeployableObjectPartSelected(DetailInterface.java:153)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalDetailInterface.fireDeployableObjectPartSelected(InternalDetailInterface.java:136)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalDetailInterface$External.fireDeployableObjectPartSelected(InternalDetailInterface.java:261)
         at com.sap.tc.webdynpro.tools.explorer.Explorer.onDeployableObjectPartSelected(Explorer.java:211)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalExplorer.wdInvokeEventHandler(InternalExplorer.java:210)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.invokeEventHandler(DelegatingComponent.java:122)
         at com.sap.tc.webdynpro.progmodel.controller.Component.fireEvent(Component.java:271)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalOverviewInterface.wdFireEventDeployableObjectPartSelected(InternalOverviewInterface.java:214)
         at com.sap.tc.webdynpro.tools.explorer.OverviewView.onActionSelectDeployableObjectPart(OverviewView.java:189)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalOverviewView.wdInvokeEventHandler(InternalOverviewView.java:275)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

  • Finding the app server name

    Is there a way to find the app server name through peoplecode?
    The %appserver meta-html variable isn't available through peoplecode and looks like it only resolves when it is used as part of a page source (CNTL+J info page, for example). Our process server and app servers are different, and a user could be logged in through three different app servers. I'm hoping there is a way to get the equivalent of the %appserver meta-html sys variable.
    Thanks,
    Paul

    Hi
    Go to SAP Logon single click on your system and again single click at option change item..that will present at left side of your saplogon pad
    you will get all the information regarding that system on which you have clicke first.

Maybe you are looking for

  • Question about Active Directory Configuration

    Hi All, Portal Version : EP7.0 SP7 We want to configure Active directory as a Portal UME store. We have 7 Domain controllers in the domain xyz.com. They are spread across locations. I assume, by default domain controller will have global catalog defi

  • Embedding fonts for headers/footers added in Acrobat?

    Is there any way to embed fonts when adding headers/footers using Acrobat's "Add Header and Footer" command, other than running the files through a PitStop profile to correct the problem? Background: Recently, for the first time, we added footers to

  • Subreport not displaying correctly

    Post Author: alrodriguez CA Forum: Publishing I posted this in General yesterday to no avail. I'm having some trouble getting my subreports to display correctly.  It is a simple subreport to organize a certain database into reporting the correct info

  • How to uninstall manually installed application ?

    Hi everyone , I'm new to Arch and no more xp.I have installed a application which was downloaded by SourceForge. It contained a bash script file to install it and i ran the script.Now I want to uninstall that application but no idea about how to do i

  • Airport and a wireless network

    I set up a wireless network via an Airport Extreme, then I extended it via a second Airport Extreme.  Now I have two wireless networks, one named  "Network" and the second one named "network 5Ghz"  both are working and both use the same password.   W