How to delay for 1 millisecond in the kernel?

I've been using the delay(9F) but the timer resolution is in ticks (which from what I understand one tick is 1/100 second). There's another call drv_usecwait(9F) I can wait for a number of microseconds. Unfortunately the drv_usecwait() is a busy-wait delay which I don't like. Does anyone know of a way for delaying a number of milliseconds in the kernel?
-- jienhua

Hi Divija,
>><i>how can i check for the field lengths</i>
Since you need to basically check if the field has a value or not, i dnt think you need to check for the length of the field. Instead, you can use any one of the booloean functions available in the graphical mapping editor to check if the field has a value or not(filed value true or false)
>><i>how do i send it back to the original folder.</i>
You can maintain a flag variable in the target structure such that if any of the source fields donot have values, the flag's value becomes 1 else it remains 0.
Now, you can check if the value of flag is equal to 1/0 in the bpm and accordingly send the data.
If in case, you donot want the flag to come in the target file that is loaded/sent from the bpm in the end, i think even tat can be taklen care of.
You can create two receiver communication channels and define one file adapter in each such that one has the destination as the actual target directory and the other has the original source directory as the destination.
Regards,
Sushumna

Similar Messages

  • How to guide for Fine tuning the performance of SAP EP

    All,
    Could anyone please let me know where to locate the how to guide for fine tuning the performance of the SAP Enterprise Portal?
    thanks,
    ~L

    hi leena,
    Look into these threads...
    https://www.sdn.sap.com/irj/sdn/thread?threadID=119605
    https://www.sdn.sap.com/irj/sdn/thread?threadID=101325
    Also see,
    <a href="https://websmp103.sap-ag.de/~form/sapnet?_SHORTKEY=00200797470000073623&_OBJECT=011000358700001480992005E">this link</a>
    https://media.sdn.sap.com/public/eclasses/bwp04/PortalTuning_files/Default.htm
    Regs,
    jaga
    Message was edited by: jagadeep sampath

  • Curious: How does "Save for Web" reduce the file size?

    I do know HOW TO USE "Save for web" -- no questions there. I'm wanting to understand better what's going on under the hood.
    When I start with say, an 8x10 JPG at 300 dpi, I understand completely how bringing that down to 72 dpi yields a much smaller file. Simple math.
    What I don't understand is how the "Save for Web" function can reduce that smaller file size so drastically at the same dimensions, still 72dpi, with negligible image loss (at least at the 80% quality). Maybe it's just my amateur eyes, but for everyday casual web pages, I can discern no significant difference between the two 72dpi images. (At lower quality settings, I do see differences.)
    Can anyone explain a bit more of HOW Photoshop does this? Is it simply compression? For example, is it -roughly- analogous to converting an AIF sound file as an MP3?
    Thanks,
    cb

    Thanks, that worked. I figure there was a setting in there somewhere and was even in the right tab, but didnt think to click on that.

  • How to search for data on the web and return to jsp

    I need to collect data from a web site and return that data to my jsp file. The page should consist of a web page in which the user search for available flights then I conect to easyjet automatically fill in the form and return the result from easyjet.com to my jsp file..Do anyone know how can I do this?? I need to use java for this and not cgi..I found also some JavaScripts that can perform the same thing..Thanks...

    Hi,
    are you able to change dynamically the  operation.url = "assets/data/shopping.xml";?
    i need to do that based on the users input.
    Thanks in advance,

  • How to disable for Role Planner the option Sign-off ?

    Hello all,
    In Planning (System 9) we have the role Planner in Shared Services. When a user is assigned to this role he/she can choose between
    - Promote
    - Sign Off
    - Reject
    - Approve
    We want the users with the role of Planner only to Promote the Planning units in process management. The others should not be available.
    How to do this?
    Is there an option in the repository or somewhere else?
    Thanks in advance for your answers.
    Regards,
    Philip Hulsebosch
    www.trexco.nl

    I'm not aware of any way to limit the process management capabilities "out of the box".
    This sounds like an enhancement request.
    You may be able to update a .jsp script to make it work this way however that would be a customization that you would have to managed.
    Good Luck,
    -John

  • How to account for and set the temperatur​e in testing

    The problem is this: I'm setting up an airflow resistance test and I need to account for temperature and barometric pressure. However, I don't know how to setup LabVIEW to account for these variables.

    Devont:
    Actually this issue is a fairly complex problem in aerodynamics. I am
    an aerospace engineer who has developed computer code for this very
    purpose in a couple of wind tunnels. When you say you are setting up
    an airflow "resistance" test, what physical (aerodynamic) properties
    are you trying to measure? Tunnel flow velocity? Mass flow?
    Aerodynamic properties on a test model? (lift and drag coefficients,
    center of pressure, gross forces?)
    If you are trying to measure air flow velocity through a wind tunnel
    test section, then the next question is what type of sensor system are
    you using to do this? A pitot-static probe? A hot wire anenometer?,
    an LDV (doppler laser)? Each has different techniques for getting
    back flow properties.
    Also what kind of tunnel is this? Low speed subsonic (say less <100
    M/s) Mid speed subsonic <0.6 Mach? Transonic 0.8 to 1.2 Mach?
    Supersonic 1.2 to 4.0 Mach? Hypersonic (say >4.0 Mach?) This will
    make a great deal of difference in computing flow properties.
    Mach number is a ratio of the flow velocity to the local speed of
    sound where;
    M=v/a where a is the speed of sound.
    a=(gamma*r*t)^0.5
    where gamma is the ratio of specific heats Cp/Cv, r is the gas
    constant, and t is the absolute temperature. Gamma is a constant up to
    about mach 4 but really starts to fall apart after that so this speed
    of sound equation becomes a lot less useful for hypersonic analysis.
    At low speeds gamma for air is approximately 1.4, r is about 287 for
    air. At STP, the speed of sound is about 340 meters/second.
    What is the scale of your tunnel? What is the density altitude of
    your tunnel? What is the fluid medium in your tunnel? (Is it regular
    air or something else?) These play into computing flow properties
    because they affect a dimensionless flow property called the Reynolds
    number which affects how the flow in the tunnel behaves.
    You will need to consider also humidity which affects the density of
    the fluid medium in your tunnel. Water vapor has a molecular weight
    of 18. Dry air (0% RH) has a molecular weight of about 28.9. The
    more water vapor you have, the lighter the sample volume of "air" will
    be. The ability of air to retain water vapor is a function of
    temperature, so a relative humidity of 100% at 0 degrees C will
    contain much less water vapor than a relative humidity of 20% at 30
    degrees C.
    Because of something called the "boundary layer" the velocity profile
    will be faster in the center of your tunnel than at the walls. It
    will resemble something like a U shape for higher Reynolds numbers and
    for very low Reynolds numbers may look more like a parabola. Reynolds
    number is computed by:
    Re=rho*V*L/mu
    where rho is the air density, V is the flow velocity, and mu is a
    property called the kinematic viscosity which is a function of
    temperature.
    The Reynolds number, like the Mach number, the Nusselt number, and a
    few other fluid dynamics properties is a dimensionless ratio. Flows
    with a similar dimensionless property should behave more or less the
    same. This is called similitude.
    Mass flow calculations first require that you know the air speed
    profile of your tunnel and then you will need to compute the density
    of the air in the tunnel and then perform an integration process to
    calculate the actual mass flow through a particular plane of interest
    in the tunnel.
    Also, even when you put a test probe into the tunnel to measure the
    flow in the tunnel, this will interfere with the free flow to a
    certain of the tunnel. To minimize this, the test probes have to be
    carefully designed and their size needs to be much smaller than the
    overall tunnel dimensions. Later when you put a test model in the
    tunnel, it and it's mounting system will also have an interference
    effect on the tunnel that has to be accounted for.
    To give a simple (perhaps an overly simple) answer to your question,
    temperature and barometric pressure will play into your problems of
    computing forces in that they affect the density of the fluid medium
    in your tunnel via the unified gas law (which is a combined expression
    of Charles and Boyles laws for perfect gases):
    PV=nRT
    or
    Pv=rT
    where rho, the density is the inverse of v, so this is sometimes
    written as:
    P/rho=rT
    This only applies for perfect gases though. A perfect gas is one
    where the constant pressure and constant volume specific heats (Cv,
    and Cp) are fixed. The hotter and more dense the fluid medium, the
    less true these equations become.
    Temperature in these equations doesn't mean the common ways that we
    ordinarily talk about temperature when cooking or talking about the
    weather. Instead of C or F, temperature in the gas law must be on an
    absolute scale such as Kelvin or Rankin. 0 degrees Kelvin or
    Rankine=-273.15 degrees C or -459.67 degrees F. One Kelvin degree=1.8
    Rankine degrees but both start at the same point of absolute zero.
    For standard atmospheric conditions (called STP for standard
    temperature and pressure), 1 cubic meter of air weighs about 1.226 kg.
    You have to calculate the density of air at non standard conditions
    by solving algebraically for the above gas law equation.
    r is called the gas constant and can be derived from the universal gas
    constant R (8314 units I can't remember of the top of my head but it
    involves kJ/kg.mole or something like) by deviding by the molecular
    weight of the gas in question. If the gas is a mixture then you will
    have to apply the partial pressures rule to come up with an averaged
    molecular weight of the mixture. Dry air contains mostly nitrogen
    which has an atomic weight of 28 (about 79%), and then oxygen (about
    20%) which has an atomic weight of 32, and the balance (about 1%)of
    inert gases (Helium, argon, krypton, etc.) which have much smaller
    atomic weights. For dry air r (small r that is) is about 287.
    If the air is not dry, then you have to account for the water vapor in
    the air by figuring out what partial pressure of water vapor is in the
    air and then performing an average between the water vapor portion and
    the other components of the air. Wator vapor only has a molecular
    weight of 18 (1 Oxygen + 2 Hydrogens=18) and so is lighter than dry
    air and tends to make the air less dense.
    The partial pressure of water vapor that can be supported in the air
    is a function of temperature that more or less grows exponentially
    with temperature. I'm sure if you search the web you can find several
    empirical equations for this. Relative Humidity (RH) is an expression
    of how much water vapor is in an air sample versus the maximum that
    can be supported at the current temperature of the air sample but what
    you really want is the partial pressure of water vapor in the air.
    There are sensors that can give this to you by measuring the
    electrical conductivity of the air. Dry air is actually a very good
    insulator, whereas water vapor decreases the insulating property of
    the air.
    All other things remaining equal, increasing the humidity will
    decrease the density of the air.
    All other things remaining equal, increasing the temperature will
    result in decreasing density while decreasing temperature will result
    in increasing density. If the temperature in your tunnel is different
    than standard then you will need to account for this.
    Tunnels generally heat up the air by the way when they accelerate the
    air through the fan and also through boundary layer friction with the
    tunnel walls. Many tunnels actually have heat exchangers to keep the
    air from getting too hot. You will need to make sure you measure the
    temperature at the same point thats you are measuring the static and
    stagnation pressures in your your tunnel so that you can account for
    its effects. Standard temperature is 15 degrees C or 59 degrees F.
    For conversion purposes, 15 degrees Celsius =288.15 degrees Kelvin= 59
    degrees Fahrenheit=518.6 degrees Rankine.
    All other things remaining equal, increasing pressure will result in
    increasing density, while decreasing pressure will result in
    decreasing density. Barometric pressure is usually given by the
    weather service as inches or millimeters of mercury or sometimes
    millibars. For conversion purposes, 29.92
    inHg=760mmHg=1000millibars=14.7 psi= 101325 Pascals pressure. If the
    pressure in your tunnel is different than standard then you will need
    to account for this.
    Depending on tunnel velocity, you will also have to consider
    stagnation versus static properties. Stagnation properties are what
    you measure if you bring the flow at a point to a complete stop, i.e.
    the kinetic (as opposed to random thermal) energy in the sample is
    completely converted thermal energy. How you do this depends on what
    speed of sample you are trying to measure and is the subject of whole
    books. Suffice it to say that at low speeds there is little
    difference between stagnation and static properties but the faster you
    go, the less resemblance they bear to one another.
    Compressibility is another issue. At low speeds air is
    incompressible, but at higher speeds v>100m/sec, compressibility
    becomes worth accounting for in your measurments.
    At higher temperatures and velocities, (high supersonic, or
    hypersonic, or high temperature >500 degrees C), the constant pressure
    and constant volume (Cp and Cv) specific heat assumptions break down
    and so does the gas law. The simplifications that can be made for
    using the ratio of Cp/Cv (called gamma) also break down because Cp and
    Cv and therefore gamma all stop being constants. Solving flow
    problems in this regime becomes much more complex requiring numerical
    models for Cp and Cv and requiring numerical (as opposed to simple
    analytical) methods to compute flow properties.
    Once you know the flow density, you can calculate air speed. For
    lower speed low temperature tunnels (low subsonic) you can use a
    simple incompressible Bernoulli equation for converting pitot-static
    pressure to air speed. At higher speeds and temperatures this depends
    on the regime (transonic, supersonic, hypersonic, etc.)
    The Bernoulli equation is simply:
    Pstagnation=Pstatic+1/2 rho * velocity^2
    For lower speed supersonic, the isentropic gas relations are sometimes
    used.
    In any event, you have to be sure to get your units right. If you use
    metric, pressure is Pascals (Newtons/m^2), rho is kg/m^3 and velocity
    is meters/sec. It's harder in U.S/U.K units because of conversions
    between slugs and pounds etc.
    Also you have to consider the concept that there will be a steady
    state average that you will measure and a transient/turbulent portion
    that will occur for each parameter that you measure (temperature,
    pressure, RH, etc.) that you will need to account for.
    Once you know the air speed and the density, you can compute their
    product - mass flow. Mass flow then can be used for other purposes
    such as calculating performance properties if you are testing a jet
    engine or propeller or something.
    Hot wire anenometers work by heating a wire and measuring the
    resistance of the wire. The faster the air flow past the wire
    filament, the more it will cool. I don't remember the equations off
    of the top of my head but I believe that there is a square rule
    involved. Hot wires work better at lower speeds than pitot-static
    sensors but both become less effective the slower you go.
    LDV's are neat, high tech toys that I haven't had a chance to work
    with yet but they measure the airspeed by measuring the doppler shift
    in the light emitted by a laser beam going through the flow, much like
    doppler (WX-88) weather radar works. They actually measure the speed
    of the air more directly than the pitot-static or hot wire methods are
    probably simpler to implement from an equations point of view but they
    are very very expensive.
    In conclusion, I know I have written a lot of stuff up here that
    probably sounds pretty intimidating with regards to solving your
    problem. It would help to eliminate some of this by telling us more
    about your test problem so that we can make the appropriate
    simplifying assumptions. Tell us more about the details.
    Douglas De Clue
    LabVIEW developer (and degreed Georgia Tech aerospace engineer)
    [email protected]
    Devont wrote in message news:<50650000000800000025530000-1027480788000@exc​hange.ni.com>...
    > The problem is this: I'm setting up an airflow resistance test and I
    > need to account for temperature and barometric pressure. However, I
    > don't know how to setup LabVIEW to account for these variables.

  • How to Save for Web in the correct size?

    So i created a new project in Illus. CS5 with an artboard size of 700x150 pixels. I have two graphics in there that are about 215 pixels tall so part of it flies off the artboard, but i have a clipping part that hides all the parts that i dont want to see.
    The problem is when i go to Save for Web, the ouput image is 700x215 because it includes the space used by the graphics, that fly off the board, but you dont even see it. I was able to get around this by opening the file in photoshop and then cropping to 700x150 so the extra space is removed, but there should be a way to save this in Illus. without the hassel.
    Any suggestions would be appreciated...

    Thanks, that worked. I figure there was a setting in there somewhere and was even in the right tab, but didnt think to click on that.

  • How to search for synonyms in the tagging window

    Hey there,
    I like the possibility to add synonyms to the Tag, so I can find longer words or names that I shortcuted using a synonym (such as Nicknames, like using "Fry" as a synonym for Frederick Jones), but when it comes to import new content from that person and I enter "Fry" in the tagging line, it does not offer me "Frederick Jones". Is there an option to make the synonym available for tagging?

    Dakota73 wrote:
     Is there an option to make the synonym available for tagging?
    Not in Lightroom proper.
    If you are a person who depends on synonyms (or spaces) in their keywords, I whole-heartedly recommend AnyFile.
    Rob

  • How to "Save for web" just the layer effect but not the content area?

    I fill the area with white, then add outter glow to the layer. Now I want to "Save for web" the outter glow effect but not the white area. I want the white area to be transparent. If I delete the white area, the layer effect goes away, if I merge the layer with another to flatten (think then I can delete the white middle while keeping the layer effect stay),  the layer effect look totally different after flatten.

    Set the fill to 0% in the layers panel (not the opacity). Then save for web as a PNG24, with transparency checked.

  • How to search for pictures from the net

    and display them in jsp?
    I would like to write a jsp file that searches pictures on the net and displays them in the browser.
    what is the code for searching the net?
    should i download the pictures or can i link to them?
    thank you

    and display them in jsp?
    I would like to write a jsp file that searches
    pictures on the net and displays them in the
    browser.
    what is the code for searching the net? I thought you wanted to write a JSP for that? Now you want the code given to you?
    Google makes an API to use their search engine. Look it up.
    >
    should i download the pictures or can i link to
    them?
    thank you

  • How to Disable for all users the in Private Browsing, by a reg key or modify a file into mozilla folder, like all other browser can do.

    I have 100 pc to monitor web history, but the only browser that we cant find a way to block in Private Browsing is firefox, Is there a way to do it . without any addons ..cuz addon is prohibed

    Install Firefox ESR and i use the software incognitogone to lock the private browsing and add FireFox to appLocker .. done .

  • How do you recompile the kernel for oracle linux 6.3

    Hello,
    I have installed Oracle linux 6.3 default settings on x86_64 bit pc
    I have some questions:
    1. What public yum repositories contain the oracle linux 6.3 kernel source code ?
    2. Is the oracle linux 6.3 kernel source code on OracleLinux-R6-U3-src-dvd1.iso or OracleLinux-R6-U3-src-dvd2.iso , can I use this to recompile a new kernel ?
    3. Do you have the steps/commands needed to set options and compile a installable kernel[rpm] on oracle linux 6.3 x86_64.
    4. What gui tools are available in the desktop to manage settings e.g sound/volume or to install additional gui utilities.
    5. Is there some documentation help on using the oracle linux desktop ?. If so where is it located .
    Thankyou
    Glenn

    Glenn D. wrote:
    1. What public yum repositories contain the oracle linux 6.3 kernel source code ?None of them. The Oracle Linux kernel source code can be found here:
    https://oss.oracle.com/ol6/SRPMS/
    https://oss.oracle.com/ol6/SRPMS-updates/
    And our git repositories are here:
    https://oss.oracle.com/git/
    The default kernel in OL6.3 is here:
    https://oss.oracle.com/git/?p=linux-uek-2.6.39.git;a=summary
    2. Is the oracle linux 6.3 kernel source code on OracleLinux-R6-U3-src-dvd1.iso or OracleLinux-R6-U3-src-dvd2.iso , can I use this to recompile a new kernel ?Actually, I have no idea which DVD the source code is on.
    3. Do you have the steps/commands needed to set options and compile a installable kernel[rpm] on oracle linux 6.3 x86_64.No, you'd need to decide that for yourself. The kernel source is complex and can be very tricky to recompile.
    4. What gui tools are available in the desktop to manage settings e.g sound/volume or to install additional gui utilities.Wow, topic shift. GNOME Control Center manages settings and installing new utilities is done by Pirut.
    5. Is there some documentation help on using the oracle linux desktop ?. If so where is it located .Oracle Linux isn't intended to be used as a desktop. All the documentation is here:
    https://linux.oracle.com/documentation/
    http://docs.oracle.com/cd/E37670_01/index.html

  • Nested for loop in the collections

    Hi Experts,
    collection1
    ============
    SELECT o.object_id
          BULK COLLECT INTO l_obj_info
            FROM (SELECT     n.node_id, n.object_id
                        FROM nodes n
                  START WITH n.node_id = 100
                  CONNECT BY PRIOR n.node_id = n.parent_node_id) n
                 INNER JOIN
                 objects o ON n.object_id = o.object_id
           WHERE o.object_type_id = 285;
    collection2
    ============
    SELECT *
          BULK COLLECT INTO l_tab
            FROM ((SELECT     REGEXP_SUBSTR (i_l_text, '[^,]+', 1, LEVEL)
                         FROM DUAL
                   CONNECT BY REGEXP_SUBSTR (i_l_text, '[^,]+', 1, LEVEL) IS NOT NULL));
       END;
    collection3
    ============
    SELECT o.object_id
                   BULK COLLECT INTO l_fin_tab
                     FROM objects o JOIN ATTRIBUTES att
                          ON o.object_id = att.object_id
                    WHERE o.object_id = collection1.object_id
                      --AND att.VALUE = collection2.val;
    Please tell me how to implement for loop in the collection3 to get the values from collection1 and collection2.
    i have tried in the below way
    CREATE OR REPLACE TYPE LIST_OF_ATTRIBUTES_TYPE AS TABLE OF varchar2(4000);
    CREATE OR REPLACE TYPE LIST_OF_OBJECT_IDS_TYPE AS TABLE OF number(9);
    CREATE OR REPLACE FUNCTION f_get_objects_by_type_id (
       i_object_type_id   IN   NUMBER,
       i_l_text           IN   VARCHAR2,
       i_scope_node_id         NUMBER
       RETURN list_of_object_ids_type
    AS
       CURSOR objs_info
       IS
          SELECT o.object_id
            FROM (SELECT     n.node_id, n.object_id
                        FROM nodes n
                  START WITH n.node_id = i_scope_node_id
                  CONNECT BY PRIOR n.node_id = n.parent_node_id) n
                 INNER JOIN
                 objects o ON n.object_id = o.object_id
           WHERE o.object_type_id = i_object_type_id;
       l_tab       list_of_attributes_type := list_of_attributes_type ();
       --l_obj_info   list_of_object_ids_type := list_of_object_ids_type ();
       l_fin_tab   list_of_object_ids_type := list_of_object_ids_type ();
    BEGIN
       BEGIN
          SELECT *
          BULK COLLECT INTO l_tab
            FROM ((SELECT     trREGEXP_SUBSTR (i_l_text, '[^,]+', 1, LEVEL)
                         FROM DUAL
                   CONNECT BY REGEXP_SUBSTR (i_l_text, '[^,]+', 1, LEVEL) IS NOT NULL));
       END;
       IF l_tab.COUNT > 0
       THEN
          FOR i IN objs_info
          LOOP
             FOR j IN l_tab.FIRST .. l_tab.LAST
             LOOP
                SELECT o.object_id
                BULK COLLECT INTO l_fin_tab
                  FROM objects o JOIN ATTRIBUTES att ON o.object_id =
                                                                     att.object_id
                 WHERE
                                att.VALUE = l_tab (j) and o.object_id =objs_info(i);
             END LOOP;
          END LOOP;
       END IF;
       RETURN l_fin_tab;
    END f_get_objects_by_type_id;

    Why are you wanting to do this?
    It looks like you are trying to implement SQL joins in PL code.  Not only is that using up expensive PGA memory by storing the data in collections, but doing such retrieval of data to try and join it in PL loops, is never going to be as fast as just joining the SQL queries using SQL itself.
    Post some example data and your database version, with an example of what the output should look like from that example data.
    Re: 2. How do I ask a question on the forums?

  • How to change the delay for a specific message

    Hi,
    I need to change the delay for an specific message, So how can I consume message by JMSCorrelationID which is enqueued with delay?
    I am using Java and Oracle.JMS classes.
    This a sample code of the deque method
    public BasicAQData dequeue(int insId)
    try
         String usr = dbUtil.getCurrentUser();
         AQjmsStreamMessage stream_message = null;
         int id = 0;
         int priority = 0;
         int destino = 0;
         String selector = null;
         String instanceId = String.valueOf(insId);
         BasicAQData dd = new BasicAQData();
         queue = q_sess.getQueue(usr, queue_name);
         selector = "JMSCorrelationID = '"+instanceId+"'";
         receptor = q_sess.createReceiver(queue, selector);
         stream_message = (AQjmsStreamMessage)receptor.receive(sleeptime);
         if (stream_message == null) return null;
         id = stream_message.readInt();
         priority = stream_message.readInt();
         destino = stream_message.readInt();
         stream_message.clearBody();
         dd.setId(id);
         dd.setPriority(priority);
         dd.setDestino(destino);
    return dd;
    It returns the desired message if that is available; however it returns null if the message was enqueued with delay and isn4t still available.
    Thanks in advance.

    Hi Glenn,
    Messages enqueued with a delay can be dequeued by specifying message id. In your example,
    you can dequeue the message with message_id, change the delay and enqueue the message again.
    Thanks,
    Brajesh.

  • How could i get the kernel and user cpu usage for each process

    Hi all,
    In order to monitor the system CPU usage, I would like write a script to gather the kernel and user CPU usage for each process, like the prstat or top does. As always missing the shortlived kernel usage, prstat or top cann't get the precise CPU usage. I checked with the dtrace syscall, proc and fbt provider, but don't get which one is useful.
    Please provide your comments and suggestion.
    Thanks in adv

    mail2sleepy wrote:
    As I've studied the "dtrace" for a while, and seems Sun gives a pretty high score on this new feature.....I do want to know whether there's some probe can work for it, like writing a "dtrace" version prstat.You can write a prstat without dtrace. Because that's just polling at specific intervals and reading some process structures from /proc. You could have dtrace fire a probe every 5 seconds and read the same thing, but it wouldn't really be using any features of dtrace. Trhying to write it "in dtrace" doesn't make much sense.
    What you could do that would be harder via other methods is to fire a probe at process exit that displayed the process information including total CPU time. They could print exactly when processes exited. Doing that without dtrace would be very difficult.
    Darren

Maybe you are looking for

  • SOLUTION: Flash Video Causing Blue Screen & Lockups

    Symptoms:  While playing a flash video, your screen locks up; goes black; you can hear audio in the background; and/or Blue Screen of Death.  The Blue Screen indicates a fault in nv4_disp.dll. =================  SOLUTION   ================= Newer ver

  • How do I Make Acrobat the default for PDF Files

    I have been using Acrobat 6 in my Mac for quite a few years.  And I would like to have Acrobat open automatically when I open a PDF file but Adobe Reader opens. How do I make Acrobat the default program when opening a PDF file?

  • HT201737 how do you close a thumb drive that does not show in finder?

    How do you close a thumb drive that does not show in finder?

  • Miix 8 touchscreen issue

    Typing fast on the keyboard frequently results in strange characters, the kind that are supposed to require a press and hold to select. This issue is discussed in the following review and show around 6:10 in the video. http://www.techspot.com/review/

  • Weird JSTL variable appearing in my logs.

    I have a JSP that uses JSTL to display a request variable. The variable does display properly - however i see this error in logs: <Feb 6, 2009 3:08:14 PM CST> <Error> <HTTP> <BEA-101214> <Included resource or file "/uc/content/Welcome Back Jon Doe!!!