How to discover/list 'NICE'  process priority ???

I know how to change it.
How do you LIST them ?
TY

Ermanno Polli wrote:
orangekay wrote:
That's because you left out the "your favorite options" part. Try something like
LOL :-D
I thought he was more unix savy, judging by his request.
If he knows how to change the "niceness" of a process, he has to know how to list them.
Since nice is not in the standard listing, it could be normal to not remember the right option.
But he should have known how to use man, on the other hand..
Oh, well...
ps aux -O nice
Ciao,
Ermanno
Hey Ermanno, new friend...
*I DO Know how to use 'man'*.. - even said :"nor did *apropos display priority* & Variations... tho I Found 'Getpriority' which doesn't seem to be present:(
" {Anyone know why it isn't, BTW ??} - Generally, I find apropos about as useful as +<milk production spigots,4 letters>+ on a Bull...
{On the subject: does anyone now of a decent online help fast DB Tool for OS X /Darwin/BSD? -the type of programmers tool I used to use with CodeWorrier (sic) for system calls, syntax & similar when I was still programming...)
BUT, when someone responds with
ps -O nice
In answer to a question like mine.. You copy,paste and GO, don't you?
I Got results that looked right/reasonable. The Command looked right, HAD 'nice' in it, so I naturally assumed (wrongly,of course) that 'nice' was expected in the results (silly me ) and so posted back rather than going for man (gotta admit, man is often scarcely comprehensible -I think the system needs a SUPERman - more like 'Help - and more helpful than 'Help... man is more a 'memory jogger' than anything else IMNSHO
You're just trying to get outa admitting that it woulda been just as easy to have given me:
ps aux -O nice
:P
But thank you very kindly for the assistance.
+(Just FYI: wikip says "...A niceness of −20 is the highest priority and *19 is the lowest* priority. ...".+ Further: +"...Thus a process run with nice +15 will receive 1/4 of the CPU time allocated to a normal-priority process: (20-15)/(20-0)=1/4. *On the BSD 4.x scheduler, on the other hand, the ratio in the same example is about ten to one.....*"+ Wonder what it is on Mac/Darwin ...
I Gotta award the 'Solved' to someone...
I thank everyone - and wish this system would allow me to award more 'Helpful' points... seems unfair.
so: THANK YOU:-
orangekay
Courcoul
glsmith
- and even * 'I love my macbo...'* - for trying to help.
and,of course,
Ermanno
To whom,
Ciao...
Problem solved.

Similar Messages

  • How to display list process, when i run sql*loader in c#

    Hello,
    How to display list process, when i run sql*loader in c#. I mean when i run sql*loader from cmd windows, i get list process how many row has been inserted. But when i run SQL*Loader from C#, i can't get process SQL*Loader.
    This is my code:
    string strCmd, strSQLLoader;
    string strLoaderFile = "XLLOAD.CTL";
    string strLogFile = "XLLOAD_LOG.LOG";
    string strCSVPath = @"E:\APT\WorkingFolder\WorkingFolder\sqlloader\sqlloader\bin\Debug\8testskrip_HTTP.csv";
    string options = "OPTIONS (SKIP=1, DIRECT=TRUE, ROWS=1000000,BINDSIZE=512000)";
    string append = "APPEND INTO TABLE XL_XDR FIELDS TERMINATED BY ','";
    string table = "OPTIONALLY ENCLOSED BY '\"' TRAILING NULLCOLS (xdr_id,xdr_type,session_start_time,session_end_time,session_last_update_time,session_flag,version,connection_row_count,error_code,method,host_len,host,url_len,url,connection_start_time,connection_last_update_time,connection_flag,connection_id,total_event_count,tunnel_pair_id,responsiveness_type,client_port,payload_type,virtual_type,vid_client,vid_server,client_addr,server_addr,client_tunnel_addr,server_tunnel_addr,error_code_2,ipid,c2s_pkts,c2s_octets,s2c_pkts,s2c_octets,num_succ_trans,connect_time,total_resp,timeouts,retries,rai,tcp_syns,tcp_syn_acks,tcp_syn_resets,tcp_syn_fins,event_type,flags,time_stamp,event_id,event_code)";
    strCmd = "sqlldr xl/secreat@o11g control=" + strLoaderFile + " LOG=" + strLogFile;
    System.IO.DirectoryInfo di;
    try
    System.Diagnostics.ProcessStartInfo cmdProcessInfo = new System.Diagnostics.ProcessStartInfo("cmd.exe");
    di = new DirectoryInfo(strCSVPath);
    strSQLLoader = "";
    strSQLLoader += "LOAD DATA INFILE '" + strCSVPath.ToString().Trim() + "' " + append + " " + table;
    StreamWriter writer = new StreamWriter(strLoaderFile);
    writer.WriteLine(strSQLLoader);
    writer.Flush();
    writer.Close();
    // Redirect both streams so we can write/read them.
    cmdProcessInfo.RedirectStandardInput = true;
    cmdProcessInfo.RedirectStandardOutput = true;
    cmdProcessInfo.UseShellExecute = false;
    cmdProcessInfo.LoadUserProfile = true;
    //System.Diagnostics.Process.Start("CMD.exe", strCmdLine);
    // Start the procses.
    System.Diagnostics.Process pro = System.Diagnostics.Process.Start(cmdProcessInfo);
    // Issue the dir command.
    pro.StandardInput.WriteLine(strCmd);
    // Exit the application.
    pro.StandardInput.WriteLine("exit");
    //Process[] processlist = Process.GetProcesses();
    //foreach(Process pro in processlist){
    Console.WriteLine("Process: {0} ID: {1}", pro.ProcessName, pro.Id);
    Console.WriteLine(pro.StandardOutput.ReadLine());
    // Read all the output generated from it.
    string strOutput;
    strOutput = pro.StandardOutput.ReadToEnd();
    pro.Dispose();
    catch (Exception ex)
    return;
    finally
    Thanks.

    friend
    sqlldr is an application residing in the OS. procedure runs in the dbms engine.
    you cannot run an os command directly from a procedure or a function or a package .
    If you want to do so you need to use either a daemon process created by a PRO*C program
    or a JAVA stored procedure to do so.
    just refer to previous question forums, you can find the solution. Somebody has already given a solution using
    java to run an OS command . check it out
    prakash
    [email protected]

  • 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 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?

  • 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

  • How to populate list box in module pool program

    How to populate list box in module pool program.
    Please give me reply as soon as posible
    regards,
    Venu.

    hi,
    go thrugh the folling code .
    TABLES sdyn_conn.
    DATA   ok_code TYPE sy-ucomm.
    Global data
    TYPES: BEGIN OF type_carrid,
             carrid type spfli-carrid,
             carrname type scarr-carrname,
           END OF type_carrid.
    DATA itab_carrid TYPE STANDARD TABLE OF type_carrid.
    *& Processing Blocks called by the Runtime Environment                 *
    Event Block START-OF-SELECTION
    START-OF-SELECTION.
      CALL SCREEN 100.
    Dialog Module PBO
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    Dialog Modules PAI
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'SELECTED'.
          MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
      ENDCASE.
    ENDMODULE.
    Dialog Module POV
    MODULE create_dropdown_box INPUT.
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
    ENDMODULE.
    the following code should be included in flow logic of screen
    process on value-request.
      field scarr-carrname  module create_dropdown_box.
    in module pool select list box.
    hope it is useful.
    regards,
    sreelakshmi.

  • How to show a nice URL in Browser URL navigator?

    How to show a nice URL in Browser URL navigator?
    Hello
    Arquitecture:
    Internet --- Machine1 (Apache like Proxy Reverse and rewrite) --- MAchine2 (GLASSFISH-APEX LISTENER 2.0.1) --- DATABASE
    That application will be like a directory of products, we need a nice indexation inside google, yahoo, etc...
    We want to build an application with APEX, with a nice custom URL. like http:\\domain\pagina1\pagina2\pagina3
    Limitations:
    * We can not use frame
    Actually, We obtained that when we write in a browsers URL domain "the domain" redirect to "http://domain/apex/f?p=600", and that appear in "browser url" but we want to know if is posible to change that without use frames.
    Thanks.

    Interesting Morten states that "You can use Apache with mod_rewrite to set up mapping between REST-style URLs to your Apex pages...", I've seen no working examples of how to do this with Apache because mod_rewrite is very limited in it's ability to process the query string part of the URL, with all the APEX stuff we need to refer to.
    Morten if you are reading this, what's the secret man?

  • How to Start and Stop Processes?

    How to Start and Stop Processes?
    Im trying to create a program which allows me to Start and Stop (and Restart) GameServers. I will then expand on this so i can start and stop them through a web applet with build in useraccounts.
    Currently the way we do this is to log into the server using a RemoteAssistance. Which is not very safe as the users have the abbility to do anything on the server and potentially corrupt it.
    Below is my code for how i start the servers. But i dont know how i would stop the process.
                    private void startServers()
                   for(GameServer gs : servers)
                        int ID = Integer.parseInt(gs.getID());
                        if(isChecked(ID))
                             try
                                  String cmd[] = gs.getStartString();
                                  Runtime.getRuntime().exec(cmd);
                                  int sleepPeriod = Integer.parseInt(sleepField.getText());
                                  Thread.sleep(sleepPeriod*100);     
                             catch(Exception e)
                             System.out.println(e);
                   }//end of iterator
                   JOptionPane.showMessageDialog(null,"All Selected Servers Have been started.","Servers Started",2);     
         }//end of startserversAnyhelp would be great thanks.

    Using the process class would give you a nicer API, but using destroy isn't a nice way to shutdown a process. Its like killing the process with your task manager. You should make a connection in some way with the game server and tell it to shutdown in stead (gracefull termination).

  • How to get list of modified repository objects in SPAU

    Hi,
    While applying Support pack for HR (SAP ERP 6.0) I get SPAU prompt with message:
    "The system detected that 10 of the repository objects in the Support Packages have been modified in
    your system . Check whether you want to retain or restore these changes you have made. Fore more
    info about performing modification adjustment see modification adjustment help..."
    Now as I call SPAU i get the screen with following options:
    Correction in SAP Note
    With modification Assistant
    Without  modification Assistant
    etc..
    Can someone guide me How to get list of modified repository objects in SPAU.
    Thanks & Regards
    Vishal

    Hi,
    In SPAU you will get with modification assistence. just expand the subtree, and follw standard process .
    This is to retain the enhancement. If there are any data dictionary related correction go to SPDD.
    Regards
    Rahul

  • How to activate Extended Rebate Processing in Customizing for billing?

    sap gurus:
    How to activate Extended Rebate Processing in Customizing for billing?

    SAP Knowledge Base Article
    1520390 - Activation of Enhanced Rebate Functionalities - IMG Customizing Transactions - SAP Menu
    Version 1 Validity: 19.10.2010 - active
    Language English
    Symptom
    Enhanced Rebate Functionality is not available and should be activated
    In the customizing IMG (Transaction SPRO) the node for Extended Rebate with the relevant customizing transactions are not visible
    The SAP Menu does not include the transactions for Extended Rebate
    Environment Enterprise Function EA-ISE must be available in the system (visible in transaction SFW5).
    Reproducing the Issue
    Call transaction SPRO
    Node Extended Rebate Processing is missing:
    IMG
    Sales and Distribution
       > Billing
            > Rebate Processing
                 > .................
    Resolution To activate the Extended Rebate Processing and make the node and customizing transactions visible proceed in the following way:
    Call transaction SFW5   
    In the folder ENTERPRISE_EXTENSIONS choose the function EA-ISE
    Activate this enterprise extension
    Thereafter the menu path in SPRO for Extended Rebate Processing will be visible:
    IMG
    Sales and Distribution
       > Billing
            > Rebate Processing
                > Extended Rebate Processing
                            * Settings for Agreement Types
                            * Set up Variable Key for Rebate Settlement
                            * Check Variable Key for Rebate Settlement
                            * Activate Extended Rebate Processing
                            * Simulate And Execute Reorganization of Statistical Data
    Furthermore the users will have the relevant transactions available in the SAP Menu:
    SAP menu
      > Logistics
         > Sales and Distribution
              > Billing
                   > Rebate 
                        > Extended Rebate Processing
                             * RBT_ENH_VB7 - Extended Rebate Settlement
                             * RBT_ENH_ACT - Update of Indirect Sales
                             * RBT_ENH_PLAN - Update of Indirect Planning Data
    For futher infomation on the extended rebate process please refer to the following links of SAP help portal:                     
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5a/5b9b3c0f4da40ee10000000a11405a/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/79/a5ee3c1f63a518e10000000a11405a/frameset.htm
    Keywords
    Extended rebate agreement, extended rebate processing, erweiterte Bonusabwicklung, Menü, Pfad nicht vorhanden, aktivieren, erweiterter Bonus, Bonusabsprache
    Header Data
    Released On
    21.10.2010 08:01:20
    Release Status
    Released to Customer
    Component
    SD-BIL-RB-ENH Enhanced Rebates
    Other Components
       SD-BIL-RB Rebate Processing
    Priority
    Normal
    Category
    How To
    Product    
    Product
    Product Version
    SAP ERP Central Component
    All versions
    SAP R/3 Enterprise 4.7
    All versions

  • How to know there are process runing on backgound

    Hi, all
    The application is wrote by java, after this application finish load, we can use it
    but there are many process run on background (ex : transfer file, count time, checking Internet connection ). How to I can realize they are working?

    Hi
    If you Import the Windows Server MP you could go to the Windows Computer View, select a Server and on the right Hand side there is a Task which is named "List Processes". This will run a Task and list all processes on that Server. YOu can even Export the
    result.
    Cheers,
    Stefan
    Blog: http://blog.scomfaq.ch

  • How to implement list of values with bind parameters

    Hi All,
    Please give me details about how to implement list of values with bind parameters.
    I have implemented with below things.
    1) created lov view object with query like select meaning, lookup_code from fnd_lookup_values where lookup_type=:1;
    2) The above vo added to applicationa module.
    3) created Controller class in the co class written code in processRequest();
    String vLookupType=pageContext.getParameter("LookupType");
    Serializable params={vLookupType};
    am.invokemethod("Initialize",params);
    4) In AM Impl Class invoke the VO
    5) In VO Impl class executed the query..
    But the above process working fine but when i give the value in lov text field like 'C' then press tab button the result will not showing instead of that i am getting error message, i want to implement standard lov functionality while implementing query with bind parameter.
    any thing reqired to add the code to controller for search criteria..
    Thanks
    Mateti

    Hi
    i am getting error as
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT meaning, lookup_code,lookup_type
    FROM fnd_lookup_values
    WHERE view_application_id = 200) QRSLT WHERE (lookup_type=:1 AND ( UPPER(MEANING) like :2 AND (MEANING like :3 OR MEANING like :4 OR MEANING like :5 OR MEANING like :6)))
    Thanks
    Mateti

  • How to discover SysIterTrID from BAM's schema

    Hi,
    I want to populate a BAM's table manually, but i need to provide three additional values, beyond that i can see in Architect, in the fields SysIterID, SysIterTrID and SysIterTotalsChild, present in every BAM' schema table.
    I realized that the field SysIterID is an auto increment (starting in zero for each table) and SysIterTotalsChild is always zero. But as the SysIterTrID, it seems a global crosstable counter.
    Anybody knows where can I get next SysIterTrID? I thought it was the field "value" in the table "SysIterSequence", but the SysIterTrID created after insert a record in a BAM's table on Architect has a different number.
    Thanks a lot.
    Luciano

    Hey folks,
    Is there some specialist that can help me with this problem?
    I need to copy rows from one table to another, via table trigger, to consolidate information sent by BPM prrocesss through Process Analytics, but I need to know how to discover the next SyIterTrID I must use.
    So, can you tell me where I find the next (or last) SysI'terTrID to use (used)?
    Thanks.
    Luciano

  • How to identify the KJS process in which the startup class is running

    The startup class will be executed in every kjs process (default, iiop). How can i check that i'm not in the cxs(iiop) process?

    Hi
    There is no where used list for Process chain, but you can check it in table RSPCCHAIN.
    Give details as below:
    Version is 'A'.
    Process Type is 'CHAIN'.
    Process Variants = 'enter technical name of the local chain'.
    now hit execute button.
    You can see the list of process chains under Chain  ID column.
    Ravi

  • Unable to Select from List of Processes

    Hi all.
    I'm having an issue where I am unable to mouse click (or select) from a list of processes. This is happening in three different areas. When I click Start Processes, I am able to select an employee (even from HR Admin I can enter an employee) without any problems. Then after choosing my employee, I click the button 'Select Process' and I get a list of P&Fs processes. However, the top process is pre-selected and I am unable to select any other process. Even though the list of processes are different for HR Admin and manager, I still can only proceed to the Adobe form with the first (top) process. If I click edit to continue to the adobe form it opens the top selected form without an issues.
    This also happens from the "Find Processes" overview screen. After entering my select criteria of processes to search, I get a list of process transactions which have been started but again, I am only able to see the details of the first one (and I cannot select any other process).
    I am running Ehp 3 with the latest patches to BPs and ECC 6.0 (as of 1/3/2010). I've also tried using different browsers including IE 8 and Google Chrome.
    Much appreciated in advance!
    Derrick

    Hi Chris.
    Not sure what to look for when you reference 'controls'. As far as the business packages, they are up to date. I've eliminated the issue being ECC 6 related. Just not sure what to check on the portal side that could be causing this. Any suggestions on how to check (and update if necessary) the controls?
    Thanks,
    Derrick

Maybe you are looking for