Scheduling process priority

hello linux guru's
im trying to run a db backup job ( shell script ) with nice scheduling priority 19 ( lowest priority) but the job seems to be taking too much of cpu when i execute top command. and its constantly at the top of queue.
does this mean no other processess are in need of cpu ? how can i verify this?
cheers

Hi Tommy
that makes sense! my backup has finished but im running to cp commands as the same user and monitoring ( changing their nice and ionice on the fly) ...
all seems to make sense!
27658 oracle 15 0 748m 234m 202m R 20.9 1.5 9:38.94 oracle
8206 oracle 14 -6 69636 724 612 D 7.3 0.0 0:18.01 cp
8337 oracle 15 -4 69636 728 612 D 6.3 0.0 0:18.47 cp
the top cp ( process id 8206 ) has its ionice set to 1 ( real time)
ionice -c3 -p8206
ionice -c2 -p8337
top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22324 oracle 16 0 4191m 1.0g 969m S 7.6 6.3 0:34.52 oracle
24451 oracle 15 0 728m 212m 203m S 6.3 1.3 1:36.86 oracle
8206 oracle 14 -6 69636 724 612 D 6.0 0.0 0:39.16 cp
8337 oracle 15 -4 69636 728 612 D 4.3 0.0 0:36.23 cp
renice -4 8206
top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
24451 oracle 15 0 728m 212m 204m S 6.6 1.3 1:39.41 oracle
8337 oracle 15 -4 69636 728 612 D 1.7 0.0 0:40.11 cp
8206 oracle 15 -4 69636 724 612 D 1.3 0.0 0:43.81 cp
10596 oracle 15 0 714m 29m 26m S 1.0 0.2 0:00.03 oracle
:p thank you!
how can i set default nice and ionice at the user level?

Similar Messages

  • Background schedule process

    Hi
    I am new to Oracle 9iAS. Can someone tell me if there is any
    better way to implement a background scheduled process ?
    Currently, I am doing it via AT command. Just wondering if
    Oracle9iAS has any scheduler that I can make use of.
    Thanks
    CT

    You can set up the different step while schedule the back ground job. Each step will have the program name, variant.
    You can do his using transaction SM36 -> JOB WIZARD.
    Thanks,
    Srinivas

  • How to schedule Process chains in Bi Admin Cockpit

    Hello friens,
    I am working on installing Bi cockpit.
    After installing the info providers, i have to schedule the process chains for Bi admin Cockpit.
    I know the transaction is RSPC.
    But I dont know how to schedule process chains for Bi admin cockpit.
    How to schedule Init and Delta
    If you can send me step by step documents.
    Or any good sap note number.
    Or any good links i will really apreciate it.
    I want to schedule process chains
    Content Master Data
    Data Load Statistics # Delta
    Data Load Statistics # Init
    Query Runtime Statistics # Delta
    Query Runtime Statistics # Init
    System Master Data
    Please advise

    Hi,
    Please check out this document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    Hope it helps.
    Thanks
    Mona

  • How to create a scheduled process

    Hi all,
    I'd like to create a (WLI) process that would run once
    a day at 12:00 noon. Outside of WLI, I could easily use
    SpringFramework/Quartz to create a scheduled task that's
    equivalent to such a WLI process. But with WLI (8.1),
    I've had a very hard time to create such a process.
    I'd much appreciate if anyone could give a high level
    steps how to do it. Thank you kindly in advance.
    ---Nam Nguyen

    Bishnu Kumar wrote:
    Nam,
    You can create a scheduled process in WLI.Here are the steps:
    Create a channel file and uncomment the timerEvent section in weblogic workshop
    Create a timer event generator with details like time of triggering,frequency,channel file etc in Weblogic Integration Admin Console(http://<serverName>:<ServerPort>/wliconsole.
    Create a process file in workshop and select the option which subscribes to event generators.
    Hope this helps you.
    Regards
    BishnuThank you kindly. That does indeed help.
    ---Nam

  • Scheduling process flows and mappings

    Hello
    I have created many process flows. Now i want to schedule it. I know i can use OEM, but i need to log in as DBA. i also know that you can use owb scheduler module to schedule a process flow. but i want to schedule it using sql plus. i found a link on scheduling process flow in sql plus for older versions of OWB. Can we use the same script for OWB 10.2? here is the link - http://www.dba-oracle.com/oracle_news/2005_7_7_Scheduling_an_OWB.htm
    Please let me know how to schedule a process flow in OWB 10.2 in sql plus. It would be great if you could post the sql script required to schedule OWB 10.2 process flows.
    Thank You

    Hi,
    the web server named by the link is down, so a general answer.
    You can use the scripts sqlplus_exec_template.sql and oem_exec_template.sql from the directory <OWBHOME>/owb/rtp/sql and schedule it with cron or at or scheduler or ...
    Regards
    Detlef

  • How can I change the default process priority for plugin-container?

    I'm on Windows XP and using Firefox 16.0.2.
    While browsing the web I often listen to pandora, but the music playback is always choppy or jerky. It especially occurs when scrolling pages up/down on other tabs. I saw on another question - https://support.mozilla.org/en-US/questions/930496 - that one solution is to change the plugin-container.exe priority to AboveNormal. I've done this several times and it works really well!!
    I also tried changing the firefox.exe priority up and down, but this is ineffective (choppy playback problem still occurs). It is very much related to the plugin-container priority.
    Please could you provide an about:config option to set the default process priority for the plugin-container. It would make a big difference for those users who have the problem. Thanks!

    thanks
    i also found solution for my poblem:
    i have this code:
    jMenuItem jMnItEdit;
    jMnItEdit.setAccelerator( KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER, 0));
    also i had ActionListener bounded to this JMenuItem
    but Ialso had in form JTable and it always grabbed my VK_ENTER event and that menu item wasn't working at all
    but when i overrode that input map for JTable and set
    tableInputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0, false), "none");
    everything started to work perfectly,
    thanks a lot

  • Scheduling process chain in 1st and last of the month

    Hello ,
    Can some one help in scheduling the process chain at the starting of the month and the end of the month ?
    The chain has to start on 1 st and 28th of every month.
    Help me with the informations please!
    Points will be assigned!
    Thanks in Advance
    Ram!

    Have your process chain to start "After event". Then create an ABAP program to call function module BP_EVENT_RAISE. There are numerous postings in this forum on how to do this.
    Next create two monthly jobs (one scheduled on the 1st and the other on the 28th) using SM36, and the only step in the job is to call the program to trigger (raise) the event. By triggering the event, your process chain will execute.
    Check these links:
    Re: scheduling process chain 3 specific times a day

  • Scheduled process flows are not running automaticaly-OWB database clonning

    What I did:
    1.     Cloned the entire OWB repository database from live (bidb01.bh.xyz.com) server to new (green1.bh.xyz.com) server.
    ******     Source     New
    Physical Hostname     bidb01.bh.xyz.com     green1.bh.xyz.com
    DB Logical Hostname     xyzbidb      bidb-lh
    Service Name     BIPROD     BIPROD
    Listener Port     1521     1521
    Oracle Home of RDBMS     /app/oracle/home/product/10.2.0     /orabidb/oracle/product/10.2.0
    Oracle Home of OWB     /app/oracle/home/product/10.2.0/owb /orabidb/oracle/product/10.2.0/owb
    2.     Followed the Metalink Note 434272.1 (How To Update Warehouse Builder After A Database Cloning)
    Issue:
    Before doing the step-2, every time we put the new database up the normal process flows which run every day (10 AM, 1 AM , 2 AM , 2 PM, etc.) got executed on the production environment and hung the original processes that are being run on the production environment.
    After following the note 434272, scheduled process flows in production is working fine but in the new server it is not at all working.
    Could anyone please help me to fix this?
    Edited by: Padmanaban G on May 7, 2010 5:15 PM

    The issue was resolved by renaming the workflow. What is learned here is, we should not have same workflow name for two different workspace.

  • Can I setup process priority on WebLogic?

    Hi,
    I try to find out if WebLogic provides any process priority features ?
    Using JMS message property field is one way. Are there any other
    alternatives?
    Chris

    Not yet. We do not allow prioritization of given services. This is
    something we plan to add in a future release.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Chris Chen" <[email protected]> wrote in message
    news:3a71152e$[email protected]..
    Hi,
    I try to find out if WebLogic provides any process priority features ?
    Using JMS message property field is one way. Are there any other
    alternatives?
    Chris

  • UNCAUGHT_EXCEPTION with msg CX_RSR_X_MESSAG while scheduling Process chain

    Hi Gurus,
    We are facing a short dump while scheduling process chains, as follows:
    <BR><BR>
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_RSR_X_MESSAGE
    <BR><BR>
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_RSR_X_MESSAGE', was not caught
         and
        therefore caused a runtime error.
        The reason for the exception is:
        No text available for this exception
    <BR>
    Information on where terminated
        Termination occurred in the ABAP program "SAPLRRMS" - in "RRMS_X_MESSAGE".
        The main program was "RSPC_MAINTAIN_SINGLE ".
        In the source code you have the termination point in line 82
        of the (Include) program "LRRMSU13".
    <BR>
    We tried to schedule it as a remote process chain from some other system it cancelled the job there with an ERROR_MESSAGE. We checked the RFC Connections at the source system side but it is working properly. We then tried to schedule the chain manually, we had this exception. Then we tried to have a look at previous logs of the process chain. It had this exception. We tried to reactivate the chain it was successful but when tried to schedule the chain same issue again. We tried to run the Meta chains under the same chain separately. They too gave us the same exception.
    Please help.
    Regards,
    Sourabh Deo

    S Simran wrote:
    Hi,
    >
    > Ours is a fresh installation..
    >
    > When i am loading for the first time till PSA it is successful..
    >
    > As HR data sources are 3.5 datasources, i am loading cube via infopackage..
    >
    > When i start the load to cube it is giving me dump with exception CX_RSR_X_MESSAG.
    >
    > i checked note  615389 which talks about "buffering of number range object BIM9999998".  the 0REQID is not buffered, but it does not throw any error msg in RSRV to correct the error..
    >
    > and one more note 1157796 which talks about patches with version BI 7.0.
    >
    > Now we are in BI 730 with heighest level 0005.
    >
    > Not sure how to solve this error
    >
    > Any ideas?
    What's your SP? Are you having any master data updates left unattended? Check the Master data objects, check the flows. Related SAP Notes : 914304 / Check 967202(SP10) and 998673(SP11), 1157796, 763203 and 615389
    Edited by: Arun Bala G on Feb 12, 2012 9:50 PM

  • Display array contents & prompt user for process priority

    Hi, i need help developing an interface.
    I have an array which contains a complete list of models available at my company. Now, i want to create an interface where the contents are displayed and user is able enter numbers to select the models he/she wants to run and the process priority.
    eg: The array contains models A to Z. The user is able to select models D, A, G and B and instruct the program to process them at the same sequence.
    How do i acheive this in Labview?
    I'm very poor at designing interface, can someone point me to any literature and tutorials in developing frontpanel interface in Labview?
    Thank you.

    Hey, I have done something similar to this in the past.  The way I did it was by using a listbox.  I had buttons that the user would select to tell me what to do and how to modify the listbox contents.  For example, in your case, I would have an Edit button.  When the user selects the Model and hits Edit, I would pop up a screen asking him which process he would like to assign to the model.  Then I would check for errors and if none existed, I would update the listbox contents with the new information.
    Let me know if this helps or if I should provide more explantation.
    Thanks!
    Dan
    Daniel Eaton
    National Instruments
    Systems Engineering
    Embedded and Industrial Control

  • Error when Schedule Processing Dimension

    Hi Buddies,
    From the help of BPC, I know BPC can schedule processing dimension in the background.
    I acted as the instruction according with the steps in Help, but it doesn't work. (The help told me let the source table blank, but the system will tell me need to put a source table. I don't know how to put into a source table name)
    Can anyone give some advice?
    Thanks in advance!
    Maggie

    Maggie,
    When scheduling the dimension process from the administration console a table called TempScheduleMBRxxxx is created where xxxx is the dimensionname of the dimension your just scheduled to process. Try to put this tablename as the sourcetable, I think it should work. So if you are scheduling the Entity dimension try to put TempScheduleMBRentity into this field.
    Of coursw also check after scheduling if the table is really created in the SQL database.
    -Joost

  • Modifiying, Transporting and Scheduling Process Chain

    Hello ALL,
    i have to create a new process chain for a delta Load and put this process chain in a big existing Meta Chain, after i have to transport to Quality System.
    if i control the difference between Dev and Quality system to have an idea i see that the Infopackages in Dev have the execution tab: Load Data Immediately without job: BI_BTCH
    in Quality some Infopackages have execution tab: run successively in batch with job like this:
    BI_BTCH LX6CW08S1ICM04I4O06KOPL
    can you tell me please in detail how should i complete this activity:
    - wich type of control should i do before creating and modifiying process chain in DEV and Quality
    - how should i do to control in Quality the scheduling of a process chain
    - if i modify a process chain in DEV and after i will transport in Quality what will be the affect in Scheduling, the scheduling will be the same without problem or i have to schedule again
    - in generale how can i schedule a process chain, wich transaction and how in detail
    Thanks a lot for your help
    Bilal

    Hi Bilal,
    1) EVENT: When you want to have a process chain 'A' to be started after completion of a process chain 'B' or any process in process chain 'B' we can use this event.  These two chains can also be from different BI systems.  Like Chain 'A' could be from one production system and Chain 'B' could be from different production system.  As soon as the chain A finished an event will be triggered and this event will trigger the chain B.  The start time of chain B might differ because it depends on the completion of chain A. To schedule a process chain using an event, Go to Tcode: RSPC look for your chain. Switch to change mode. Right click on the start variant and select maintain variant. Click on "change selections. click on "after event," give the event name in the slot and select the periodic job.
    2) RUN JOB PERIODICALLY: When you want to have the chain run for more than once periodically we select this option.  Suppose, chain B has to run after completion of chain A periodically we have to use this option.  If you do not check this option, your chain B will run only once when the event is triggered after completion of Chain A.  From the next time onwards, it not run even the event is triggered.
    3) JOB: For every process when it runs a job will be created assainging it to a work process in the system.  Similarly, when the chain starts a job will be created containing the log of the run.  Also, in the scheduling options of a process chain, you can have your process chain started after completion of a particular job in the system (ex: an attribute change).  For this, Go to Tcode: RSPC look for your chain. Switch to change mode. Right click on the start variant and select maintain variant. Click on "change selections. click on "after job" give the job name in the slot and save the settings.
    4) SCHEDULING PROCESS CHAIN: Means to make settings to a process chain so that it will run on a periodic basis at a certain time.  If you want to start a chain immediately, you will choose the option immediately and trigger it.  It will run for only once.  But, if you want to have your chain run everyday at 7:00 am in the morning, you have to schedule it using the scheduling options as below:
    In Tcode: RSPC look for your chain. Switch to change mode. Right click on the start variant and select maintain variant. Click on "change selections." Click on Date/Time button. Give the start date and time in the Scheduled Start slots. (Ex: 09-04-2009, 7:00, to have the chain run at 7:00 everyday starting from tomorrow). Tick the check box Periodic job in the bottom and click on "periodic values" button and select the option as daily and save it. Then click on "Restrictions" button to specify the factory calander. The Tcode for calander is SCAL, where you can see all the factory calanders in the system and you can choose that suits your requirement. Save the changes and navigate back to process chain maintaince screen and click on "Schedule" button.
    Now your chain is automated for trigger

  • Help for Process Priority (STOP buttons)

    I , I have a problem with my program.
    I make the acquisition with a device connected to GPIB.
    I want to have my main program with 2 For Loop and a stop button which stop the program and the device.
    The problem is that, if the program is doing an acquisition and is in a For loop, I can press stop button and nothing happens until the end of the for loop.
    I can stop with main stop red button but my device is not Off.
    I tried an event structure but it don’t works.
    The goal is to have a stop process priority to the acquisition process.
    I attached my structure of program. I only need to keep the 2 For Loop.
    Event structure and while Loop can be removed.
    I use LV2012 sp1f5 but I can upgrade to LV2014 if really necessary
    thanks in advance for your help.
    Solved!
    Go to Solution.
    Attachments:
    priority_process_LV2012.vi ‏16 KB
    Capture.JPG ‏114 KB

    Rigth click on the border of the loop you want to leave and add the conditional terminal.
    Place the Stop button inside the loop.
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • IDM Scheduler Process

    From a previous post by WilfredS I understand that when IDM starts a scheduler process starts as well. How is this process identified? I assume it has a separate process id to idm itself and can potentially get orphaned if the IDM process is killed.

    No the scheduler is a special thread within the IDM JVM. All processes and or task or whatever you want to call it run in one JVM. Killing IDM means that you have to kill the whole JVM which is running.
    You can not orphan anything in IDM
    WilfredS

Maybe you are looking for

  • Best way to work with multiple photograph angles?

    We are going to be taking 360 degree view photography shots of certain objects and placing these objects on to different backgrounds so the shots will look something like this: We expect to have about 20 shots of each object and about 5-10 objects pe

  • Photoshop CS5 .jpg images open up in Preview

    I am using Photoshop CS5 and OS 10.6.5. No matter how I save a .jpg, if I double click on the file name (not open it up form within PSD) it opens up in preview. I have gone under Preferences and set the File handling every which way, but it still ope

  • Can't import user certificate in wallet manager EBS 12

    Hi there. I'm trying to configure my EBS 12 with SSL and I'm following the instructions described in metalink note number 376700.1 Everything went well untill I tried to import the user certificate isued by verysign, when I try to do that the followi

  • How to force dialog boxes to appear on same monitor as program window?

    I have a three-monitor setup, with the Adobe Acrobat X program window on my right-most monitor.  Running Windows 7 64-bit SP1. My Open and Save dialogs remember where they are and logically show up on the right monitor where the program is. However,

  • Cannot connect iPod at all to my computer

    I have tried everything from the help topics to do so. My iPod is now not playing properly. I don't know what to do and am waiting to find out about my warranty. Any suggestions or do you think my iPod is hosed? This is the second one I have that is