THE PROGRAM IS RUNNING VERY SLOW?

HI:
THERE IS APROGRAM DEVELOPED BY USER ,CAN SOMEONE HELP TO  ANALYIZE HOW TO TUNE IT ?
THANKS
THE FILES:
FORM frm_get_data.
  DATA: BEGIN OF it_ablad OCCURS 0,
          ablad LIKE rkpf-umlgo,
        END OF it_ablad.
  IF NOT s_kunnr[] IS INITIAL.
    SELECT ablad
    INTO TABLE it_ablad
    FROM  knva
    WHERE knva~kunnr IN s_kunnr.
  ENDIF.
  IF it_ablad[] IS NOT INITIAL.
    SELECT rsdat
           usnam
           rspos
           rkpf~bwart
           xwaok
           kzear
           xloek
           sgtxt
           rkpf~rsnum
           werks
           rkpf~umwrk
           resb~matnr
           rkpf~umlgo
           bdmng
           enmng
           resb~wempf
           ablad
           extwg
    INTO CORRESPONDING FIELDS OF TABLE et_resb
    FROM rkpf INNER JOIN resb ON rkpfrsnum = resbrsnum
              INNER JOIN mara ON resbmatnr = maramatnr
    UP TO p_hinum ROWS
    FOR ALL ENTRIES IN it_ablad
    WHERE rkpf~bwart IN s_bwart
    AND   rsdat IN s_rsdat
    AND   rkpf~umwrk = '2020'
    AND   werks = '2020'
    AND   rkpf~umlgo = it_ablad-ablad
    AND   mara~extwg IN s_extwg
    AND   resb~matnr IN s_matnr
    AND   rkpf~rsnum IN s_rsnum
    AND   kzear = ''
    AND   xloek = ''
    AND   ( xwaok = ''
          OR ( xwaok = 'X'
          AND lgort = '') ).
  ELSE.
    SELECT rsdat
       usnam
       rspos
       rkpf~bwart
       xwaok
       kzear
       xloek
       sgtxt
       rkpf~rsnum
       werks
       rkpf~umwrk
       resb~matnr
       rkpf~umlgo
       bdmng
       enmng
       resb~wempf
       ablad
       extwg
INTO CORRESPONDING FIELDS OF TABLE et_resb
FROM rkpf INNER JOIN resb ON rkpfrsnum = resbrsnum
          INNER JOIN mara ON resbmatnr = maramatnr
UP TO p_hinum ROWS
WHERE rkpf~bwart IN s_bwart
AND   rsdat IN s_rsdat
AND   rkpf~umwrk = '2020'
AND   werks = '2020'
AND   rkpf~umlgo IN s_umlgo
AND   mara~extwg IN s_extwg
AND   resb~matnr IN s_matnr
AND   rkpf~rsnum IN s_rsnum
AND   kzear = ''
AND   xloek = ''
AND   ( xwaok = ''
      OR ( xwaok = 'X'
      AND lgort = '') ).
  ENDIF.
  IF p_sd = 'X'.
    DELETE et_resb WHERE wempf <> 'SD'.
  ELSEIF p_plfw = 'X'.
    DELETE et_resb WHERE wempf+0(2) <> '13'.
  ELSEIF p_fw = 'X'.
    DELETE et_resb WHERE wempf+0(2) = '13' OR wempf = 'SD'.
  ENDIF.
  LOOP AT et_resb.
    DATA : tmp_labst   TYPE mard-labst.
    DATA : tmp_wdmeng  TYPE mard-labst.
    DATA : tmp_calab   TYPE mard-labst.
    CLEAR wa_output.
    wa_output-rsdat = et_resb-rsdat.
    wa_output-usnam = et_resb-usnam.
    wa_output-bwart = et_resb-bwart.
    wa_output-rsnum = et_resb-rsnum.
    wa_output-rspos = et_resb-rspos.
    wa_output-umwrk = et_resb-umwrk.
    wa_output-umlgo = et_resb-umlgo.
    wa_output-matnr = et_resb-matnr.
    wa_output-matnr1 = et_resb-matnr.
    wa_output-extwg = et_resb-extwg.
    wa_output-xwaok = et_resb-xwaok.
    wa_output-kzear = et_resb-kzear.
    wa_output-xloek = et_resb-xloek.
    wa_output-wempf = et_resb-wempf.
    wa_output-ablad = et_resb-ablad.
    wa_output-sgtxt = et_resb-sgtxt.
    wa_output-wbdmng = et_resb-bdmng - et_resb-enmng.
    IF pp_lgort <> ''.
      SELECT SINGLE labst
      FROM   mard
      INTO   tmp_labst
      WHERE  werks = '2020'
      AND    lgort = pp_lgort.
      PERFORM resb_lesen USING '2020'
                               pp_lgort
                               et_resb-matnr
                      CHANGING tmp_wdmeng.
      wa_output-calab = tmp_labst - tmp_wdmeng.
      wa_output-werks = '2020'.
      wa_output-lgort = pp_lgort.
    ELSE.
      SELECT  *
      FROM zmt_fckw_new
      INTO CORRESPONDING FIELDS OF TABLE et_fckw
      WHERE umwrk = et_resb-umwrk
        AND umlgo = et_resb-umlgo.
      LOOP AT et_fckw.
        CLEAR tmp_labst.
        SELECT SINGLE labst
        FROM   mard
        INTO   tmp_labst
        WHERE  werks = et_fckw-werks
        AND    lgort = et_fckw-lgort
        AND    matnr = et_resb-matnr.
        PERFORM resb_lesen USING et_fckw-werks
                                 et_fckw-lgort
                                 et_resb-matnr
                        CHANGING tmp_wdmeng.
        tmp_calab = tmp_labst - tmp_wdmeng.
        IF  tmp_calab >= wa_output-wbdmng.
          wa_output-werks = et_fckw-werks.
          wa_output-lgort = et_fckw-lgort.
          wa_output-lg_typ = et_fckw-lg_typ.
          wa_output-calab = tmp_calab.
          wa_output-xwaok = 'X'.
          EXIT.
        ELSE.
          SELECT  *
          FROM zmt_thwl
          INTO CORRESPONDING FIELDS OF TABLE et_thwl
          WHERE matnr = et_resb-matnr
          AND   zgroup <> 'X'.
          SORT et_thwl BY matnr
                          priority DESCENDING
                          sub_matnr.
          LOOP AT et_thwl.
            CLEAR tmp_labst.
            SELECT SINGLE labst
            FROM   mard
            INTO   tmp_labst
            WHERE  werks = et_fckw-werks
            AND    lgort = et_fckw-lgort
            AND    matnr = et_thwl-sub_matnr.
            PERFORM resb_lesen USING et_fckw-werks
                                     et_fckw-lgort
                                     et_thwl-sub_matnr
                             CHANGING tmp_wdmeng.
            tmp_calab = tmp_labst - tmp_wdmeng.
            IF  tmp_calab >= wa_output-wbdmng.
              wa_output-matnr1 = et_thwl-sub_matnr.
              wa_output-werks = et_fckw-werks.
              wa_output-lgort = et_fckw-lgort.
              wa_output-lg_typ = et_fckw-lg_typ.
              wa_output-calab = tmp_calab.
              wa_output-xwaok = 'X'.
              wa_output-subst = 'X'.
              EXIT.
            ENDIF.
          ENDLOOP.
        ENDIF.
        IF wa_output-lgort <> ''.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF wa_output-lgort = ''.
        READ TABLE et_fckw WITH KEY umwrk = et_resb-umwrk
                                    umlgo = et_resb-umlgo
                                 zdefault = 'X'.
        wa_output-werks = et_fckw-werks.
        wa_output-lgort = et_fckw-lgort.
        wa_output-lg_typ = et_fckw-lg_typ.
        wa_output-xwaok = ''.
        CLEAR tmp_labst.
        PERFORM resb_lesen USING et_fckw-werks
                                 et_fckw-lgort
                                 et_resb-matnr
                        CHANGING tmp_wdmeng.
        tmp_calab = tmp_labst - tmp_wdmeng.
      ENDIF.
      CLEAR ET_FCKW[].
      CLEAR tmp_labst.
    ENDIF.
    SELECT  SINGLE lgobe
    INTO wa_output-lgobe
    FROM t001l
    WHERE werks = et_resb-umwrk
      AND lgort = et_resb-umlgo.
    SELECT SINGLE lgobe
    INTO wa_output-lgobe1
    FROM t001l
    WHERE werks = wa_output-werks
    AND   lgort = wa_output-lgort.
    SELECT SINGLE maktx
    INTO   wa_output-maktx
    FROM   makt
    WHERE  matnr = wa_output-matnr.
    APPEND wa_output.
  ENDLOOP.
ENDFORM.                    "frm_get_data

I agree with what one of the other people has said.  Joins are not nesasarily bad, but badly designed joins are.  So from the perspective of the Join vs. the For All Entries I don't belive that just moving to a For All Entries will solve your problem.  A well desinged Join can actaully perform very well and often would actaully be my choosen way of accessing data.  So it's not black and white on this subject, it depends on the relationships between the tables and the distribution of data accross those tables.
Taking a look at the large join statements that you have I'm not going to attempt to do a tuning on it since I'm not really familiar with your specific data distribution in your system, so I'm going to concentrate on some other areas instead.  I do suggest that you do an SE30 trace on it so that you can do some profiling of understanding which components of your program are taking up the highest net runtime.
I belive that there is a significant amount of processing time that is taken up inside your looping due to the selects and reads inside the loops.  Selects inside loops have certain overhead to them as opposed to doing an arracy select (For All Entries) and also it appears that there are many spots where you are most likely going back to the data base for the same data multiple times.  Rudundant DB calls for the same records is one of the leading causes of waste in ABAP programs.  My rule of thumb is that during a batch program written in ABAP there should never be a record in a table that is retrieved more then once accross all of your various selects.  Pigion hole principal can be applied here, if there are 100 records in a table and you end up executing 1,000 selects against that table then there have been 900 rudundant calls and account for waste in the processing time of the program.  Something I often remind my developers of is that if it is inside a loop don't forget that it is happening multiple times!  I know that it seems like an obvious statement, but often developers overlook the cost of what they are doing.
Here are some of the pieces of code that should be examined:
1) Switch to a single loop with three checks inside it.  Each time you do a delete statement it is actually doing a full sequential pass through the internal table.  So in this case you are making 2 redundant full sequential reads of the table.
IF p_sd = 'X'.
    DELETE et_resb WHERE wempf 'SD'.
  ELSEIF p_plfw = 'X'.
    DELETE et_resb WHERE wempf+0(2) '13'.
  ELSEIF p_fw = 'X'.
    DELETE et_resb WHERE wempf+0(2) = '13' OR wempf = 'SD'.
  ENDIF.
2) Remove from loop at et_resb, it doesn't make sense to do this select inside a loop when it could be done as a For All Entries outside of the loop, you're going to most likely be getting the same records selected multiple times which is a waste.  Additionally, even if the same records aren't being rudundently called, an array select is still faster for something like this then individual selects due to DB overhead per call.  Also note that there seems to be something wrong with this select since you are note including the MATNR field in the where clause, it is going to each time just get the first material it happens to find for the storage location at that plant.
SELECT SINGLE labst
      FROM mard
      INTO tmp_labst
      WHERE werks = '2020'
      AND lgort = pp_lgort.
3) What is happening inside the PERFORM resb_lesen?  This is inside a loop so it should be examined further to understand the cost of the processing that it is doing.
4) Refer to point#2, this is a select inside a loop and could become expensive depending on the nature of the tables and their data.
SELECT *
      FROM zmt_fckw_new
      INTO CORRESPONDING FIELDS OF TABLE et_fckw
      WHERE umwrk = et_resb-umwrk
      AND umlgo = et_resb-umlgo.
5) Refer to point#2, this is another select inside a loop and most likely will be making rudundant calls where it goes back to the DB for the same records multiple times.  In addition to this it is actually inside multiple loops nested.
SELECT SINGLE labst
        FROM mard
        INTO tmp_labst
        WHERE werks = et_fckw-werks
        AND lgort = et_fckw-lgort
        AND matnr = et_resb-matnr.
6) Refer to point#2.  Note also that this will be causing redundant DB calls if you're looking at the same materials  on multiple passes of the loop.
SELECT *
          FROM zmt_thwl
          INTO CORRESPONDING FIELDS OF TABLE et_thwl
          WHERE matnr = et_resb-matnr
          AND zgroup 'X'.
7) Refer to point #6.
SELECT SINGLE labst
            FROM mard
            INTO tmp_labst
            WHERE werks = et_fckw-werks
            AND lgort = et_fckw-lgort
            AND matnr = et_thwl-sub_matnr.
8) Read statement should be optimized via a non-sequential access pattern such as a binary search or the use of a hash table
READ TABLE et_fckw WITH KEY umwrk = et_resb-umwrk
        umlgo = et_resb-umlgo
        zdefault = 'X'.
9) Refer to point #6
SELECT SINGLE lgobe
    INTO wa_output-lgobe
    FROM t001l
    WHERE werks = et_resb-umwrk
    AND lgort = et_resb-umlgo.
    SELECT SINGLE lgobe
    INTO wa_output-lgobe1
    FROM t001l
    WHERE werks = wa_output-werks
    AND lgort = wa_output-lgort.
    SELECT SINGLE maktx
    INTO wa_output-maktx
    FROM makt
    WHERE matnr = wa_output-matnr.
~Ian

Similar Messages

  • Hi, I just started a new movie and the program is running very slow. Is there a way to clean up my iMovie program so that it goes faster? Please help.

    Hi, I just started a new movie and the program is running very slow. Is there a way to clean up my iMovie program so that it goes faster? Please help.

    There is nothing you can do with iMovie program itself.  Slow response in usually due to a shortage of system resources (CPU, RAM and disk space).
    How much free disk space do you have on your boot drive and what is the capacity of the drive?
    You can check memory utilization while running iMovie using Activity Monitor (in Applications/Utilities).  What does the Memory tab show for Swap used?
    Are you running many other processor-intensive applications a the same time?
    If you have a lot of events and projects, it will help a bit to hide the ones you are not using by moving them from your iMovie Projects and iMovie Events folders into an enclosing folder so iMovie doesn't load them.
    Geoff.

  • The mac pro run very slow

    Mac pro run very slow

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Otherwise, take the steps below when you notice the slowdown.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • The iOS simulator runs very slow on my new Mac mini.  Any ideas on how to speed it up?

    I am trying to demonstrate a new iPhone app using the Mac mini and the iOS Simulator software.  It runs, but it runs very slowly -- not acceptable for a presentation.  Any ideas so I can make it run faster? 
    Thanks!  John

    or the private developer forums you have access to as an iOS Developer Program member:
    http://developer.apple.com/devforums/
    Regards.

  • My computer is running sluggish and the internet connection runs very slow. what can I do?

    My mac air is running slugiish and my internet connection takes forever to change windows...what can I do?

    If the computer is brand new, it may be reviewing (indexing) all you files for search. This will take a few hours to complete.  Otherwise you likely have a program that is running poorly and slowing your system down.
    Open the Fibder
    Click the Go menu at the top of the screen
    Click on utilities menu item under go
    Open the Activity Monitor
    When Activity monitor opens, there will be a lot of data in the window, to make better sense of it click on the column labeled CPU. This will sort entries by how much of your computer's CPU they use. The lower the number the better.
    Locate any programs using 80% or more of your CPU. They are the likely culprits of your speed issue.
    If the speed issue is only related to surfing the internet, then you more than likely have an issue with WiFi instead. Try moving closer to your wireless router to see if it speeds up.

  • The below Query runs very slow

    SELECT
    ACT1.PROJ,
    ACT1.ACT,
    ACT1.VER,
    ACT1.DS,
    ACT1.UC,
    ACT1.ACT_RN,
    PRED1.PRED,
    PRED_DS.DS,
    PRED_DS.UC01 ACT_TYPE ,
    PRED1.RN,
    SUCC.SUC
    ,SUCC.SUC_NAME
    ,SUCC.SUC_TYPE
    ,SUCC.SUCC_RN
    FROM
    (SELECT A.PROJ , A.VER , A.ACT , A.DS , A.UC01 UC , B.RN ACT_RN
    FROM PM_PORTAL.AV_ACTIVITY A , PM_PORTAL.AV_RESREQ B
    WHERE A.PROJ = B.PROJ(+)
    AND A.ACT = B.ACT(+)
    AND A.VER = B.VER(+)
    AND A.VER = 50
    AND A.PROJ LIKE 'BOM_%'
    AND A.UC01 = '560'
    ) ACT1 ,
    ( SELECT A.PROJ , A.ACT , A.VER , A.PRED , B.RN
    FROM PM_PORTAL.AV_RELN A , PM_PORTAL.AV_RESREQ B
    WHERE A.PROJ LIKE 'BOM_%'
    AND A.VER = 50
    AND A.PROJ = B.PROJ(+)
    AND A.PRED = B.ACT(+)
    AND A.VER = B.VER(+)
    ) PRED1,
    ( SELECT DS , UC01 ,ACT ,VER , PROJ
    FROM PM_PORTAL.AV_ACTIVITY
    WHERE PROJ LIKE 'BOM_%'
    AND VER = 50
    ) PRED_DS ,
    (SELECT A.PROJ , A.VER , A.ACT SUC , A.PRED , B.DS SUC_NAME ,B.UC01 SUC_TYPE , C.RN SUCC_RN
    FROM PM_PORTAL.AV_RELN A , PM_PORTAL.AV_ACTIVITY B , PM_PORTAL.AV_RESREQ C
    WHERE A.PROJ = B.PROJ
    AND A.ACT = B.ACT
    AND A.VER = B.VER
    AND B.PROJ = C.PROJ
    AND B.ACT = C.ACT
    AND B.VER = C.VER
    ) SUCC
    WHERE ACT1.PROJ=PRED1.PROJ(+)
    AND ACT1.ACT=PRED1.ACT(+)
    AND ACT1.VER=PRED1.VER(+)
    AND PRED1.PRED = PRED_DS.ACT
    AND PRED1.PROJ = PRED_DS.PROJ
    AND PRED1.VER = PRED_DS.VER
    AND SUCC.PROJ = PRED1.PROJ
    AND SUCC.VER = PRED1.VER
    AND SUCC.PRED = PRED1.PRED
    --Execution Plan
    SELECT STATEMENT, GOAL = CHOOSE               293     1     337
    NESTED LOOPS               293     1     337
    NESTED LOOPS               290     1     305
    NESTED LOOPS               287     1     242
    NESTED LOOPS               282     1     206
    FILTER                         
    HASH JOIN OUTER                         
    VIEW     PM_PORTAL_READ          65     2     194
    NESTED LOOPS OUTER               65     2     190
    TABLE ACCESS BY INDEX ROWID     TRN_ARTE     AV_ACTIVITY_NPART     59     2     126
    INDEX RANGE SCAN     TRN_ARTE     AV_ACTIVITY_1_NPART     55     2     
    INDEX RANGE SCAN     TRN_ARTE     AV_RESREQ_1_NPART     3     35     1120
    VIEW     PM_PORTAL_READ          210     101     4646
    HASH JOIN OUTER               210     101     6868
    INDEX RANGE SCAN     TRN_ARTE     AV_RELN_1_NPART     161     101     3636
    INDEX RANGE SCAN     TRN_ARTE     AV_RESREQ_1_NPART     48     35     1120
    TABLE ACCESS BY INDEX ROWID     TRN_ARTE     AV_ACTIVITY_NPART     3     56     3528
    INDEX UNIQUE SCAN     TRN_ARTE     AV_ACTIVITY_1_NPART     2     56     
    INDEX RANGE SCAN     TRN_ARTE     AV_RELN_1_NPART     5     101     3636
    TABLE ACCESS BY INDEX ROWID     TRN_ARTE     AV_ACTIVITY_NPART     3     56     3528
    INDEX UNIQUE SCAN     TRN_ARTE     AV_ACTIVITY_1_NPART     2     56     
    INDEX RANGE SCAN     TRN_ARTE     AV_RESREQ_1_NPART     3     35     1120

    Here's the verbatim response I gave yesterday to another user also posting his SQL and asking the same question.. why is it slow?
    Who says it is not already running as fast as possible?
    In order to solve a problem, you need to know the problem. Stating something like 'a query is slow and should be faster' is stating an opinion - it is not describing a problem that can be resolved.
    My suggestion is to turn a complex problem, into a bunch of smaller and simpler problems. If you suspect that the query could be faster, pull it apart. Test each step/component of the query in isolation. E.g. start with a single table and progressively add joins to determine what the CBO does with each additional join, what you're asking Oracle to do ito processing, and not only checking that the CBO does not make obvious errors, but that what you're asking via SQL is the best approach to get to the answer.

  • On opening up PSE9 it runs very slow, Why?

    When I open up my recently installed PSE9 program it runs very slow. all photos etc load up and are visable but it almost feels  like there is a program running in the background. The cursor moves very slow and in a delayed way. I mostly have photos and very few videos, projects etc but just in case I go to view and uncheck vidoes, PDF, projects etc just in case this is what is slowing everything down but it doesn"t change anything. Nothing else is running while I am in PSE. Previuosly I was working with version 8 and I did not have this problem. Can someone help me with this this annoying problem that is keeping me from using PSE 9. Thanks  Rey

    You really don't provide enough information for anyone to help
    How to ask a question http://forums.adobe.com/thread/416679
    Some specific information that is needed...
    Brand/Model Computer (or Brand/Model Motherboard if self-built)
    How much system memory you have installed, such as 2Gig or ???
    Operating System version, such as Win7 64bit Pro... or whatevevr
    -including your security settings, such as are YOU the Administrator
    -and have you tried to RIGHT click the program Icon and then select
    -the Run as Administrator option (for Windows, not sure about Mac)
    Your Firewall settings and brand of anti-virus are you running
    Brand/Model graphics card, sush as ATI "xxxx" or nVidia "xxxx"
    -or the brand/model graphics chip if on the motherboard
    -and the exact driver version for the above graphics card/chip
    -and how much video memory you have on your graphics card
    Size(s) and configuration of your hard drive(s)... example below
    -and how much FREE space is available on each drive (in Windows
    -you RIGHT click the drive letter while using Windows Explorer
    -and then select the Properties option to see used/free space)
    While in Properties, be sure you have drive indexing set OFF
    -for the drive, and for all directories, to improve performance
    My 3 hard drives are configured as... (WD = Western Digital)
    1 - 320G WD Win7 64bit Pro and all programs
    2 - 320G WD Win7 swap file and video projects
    3 - 1T WD all video files... read and write
    Some/Much of the above are available by going to the Windows
    Control Panel and then the Hardware option (Win7 option name)
    OR Control Panel--System--Hardware Tab--Device Manager for WinXP
    And, finally, the EXACT type and size of file that is causing you problems
    -for pictures, that includes the camera used and the pixel dimensions

  • Import ABAP running very slow

    guys, I am installing IDES EHP4 on a solaris box with oracle 10g. The import is running very slow. in 20 hours, it has only imported 10 out of 105 jobs. Top comand shows i have 26 GB free physical memory (out of 48GB total) and also 123 GB free swap out of 150 GB total. CPU load is also only 3 %. I have already configured the project file acording to sap recommedation. MY oracle init file configuration looks like this. Also, you will see my project and user_attr files below. Please advise what i can change tomake things go faster.
    # (c)Copyright SAP AG, Walldorf # # @(#) $Id: //bc/701-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/INITSIDBASE.ORA#1 $ ########################################################### ########################################################### # PART I, TUNING PARAMETERS # ########################################################### #### SYSTEM GLOBAL AREA BUFFERS # Total System Global Area = sum(bytes) of all caches # Variable Size = shared_pool_size (approx.) # Database Buffers = db_block_buffers * db_block_size # Redo Buffers = log_buffer # # unit of shared_pool_size: bytes # unit of db_block_buffers: number of cached blocks # unit of log_buffer: bytes shared_pool_size = 2264924160 # 10% of shared_pool_size shared_pool_reserved_size = 226492416 log_buffer = 1048576 #### MANAGING SORTS # A small sort requires sort_area_retained_size in # memory. Larger sorts are allocating segments in # PSAPTEMP. They are using sort_area_size in memory. sort_area_retained_size = 0 sort_area_size = 2097152 #sort_spacemap_size = 512 #### PGA-PARAMETERS open_cursors = 800 #cursor_space_for_time = true #### LOCKS # dml_locks = processes * 50 dml_locks = 4000 #enqueue_resources = 8000 #### CPU-PARAMETERS #spin_count = 200 #_cpu_count = 4 #### TUNING ARCHIVING #log_archive_buffer_size 127 #log_archive_buffers 4 #### USE VECTOR READ #use_readv = true #### OTHER TUNING PARAMETERS #sequence_cache_entries = 100 #sequence_cache_hash_buckets = 89 ########################################################### # PART II, CHANGEABLE PARAMETERS # ########################################################### #### CONTROL-FILES # the controlfiles should be mirrored to every new # database mount point @SAPDATA_HOME@/sapdata<#> #control_files = XXXXX #### AUTOMATICLY STARTED BACKGROUND PROCESSES #### MANAGING LOG SWITCHES # checkpoints occur only when switching logs, if # log_checkpoint_interval * size of OS blocks > size of # the actual redo log log_checkpoint_interval = 0 #log_checkpoint_timeout = 0 #### PROCESS-PARAMETERS # The number of allocated semaphores is equal to the # number of processes # sessions = 1.2 * processes processes = 500 sessions = 600 #### AUDITING AND STATISTICS # sql_trace=TRUE # audit_trail = true # db_block_lru_extended_statistics = 1000 # db_block_lru_statistics = true ########################################################### # PART III, STATIC PARAMETERS # ########################################################### #### DB-NAME db_name = XXX #### DB-BLOCKSIZE db_block_size = 8192 #### DB-FILES db_files = 254 #### OPTIMIZER MODE #optimizer_mode = choose #optimizer_search_limit = 3 #### PATHS / DESTINATIONS / TRACES # /xxx\ : trace files of the background # processes # xxxx /saptrace/usertrace: trace files of the user processes # log_archive_dest is a destination, not a path. # The archivefiles get the name # XXXXXXX background_dump_dest = xxxx user_dump_dest = xxxx core_dump_dest = /xxxxx log_archive_dest = xxxxxx #log_archive_format = %t_%s #### OTHERx # reduce_alarm only supported on HP #reduce_alarm = TRUE #### ORACLE OPS PARAMETER remote_os_authent = true # retention time for RMAN backup information in control file control_file_record_keep_time = 30 #see SAP note 124361 #db_file_multiblock_read_count = 8 log_checkpoints_to_alert = true #### OPTIMIZER MODE #optimizer_index_cost_adj = 10 #### AUDITING AND STATISTICS #timed_statistics = true compatible = 10.2.0 parallel_execution_message_size = 16384 query_rewrite_enabled = false replication_dependency_tracking = false star_transformation_enabled = true undo_retention = 43200 undo_tablespace = PSAPUNDO undo_management = AUTO pga_aggregate_target = 3019898880 sga_max_size = 84529848320 db_cache_size = 4264924160 job_queue_processes = 1 remote_login_passwordfile = exclusive recyclebin = off event = "10191 trace name context forever, level 1" FILESYSTEMIO_OPTIONS = setall OPTIMPEEK_USER_BINDS = FALSE BTREE_BITMAP_PLANS = FALSE INDEXJOIN_ENABLED = FALSE INMEMORY_UNDO = FALSE OPTIMIZERMJC_ENABLED = FALSE SORTELIMINATION_COST_RATIO = 10 TABLELOOKUP_PREFETCH_SIZE = 0
    USER_ATTR FILE --- I have replaced my sid with SID for privacy reasons ************************************
    adm::::profiles=Log Management lp::::profiles=Printer Management postgres::::type=role;profiles=Postgres Administration,All root::::project=MYSID;auths=solaris.*,solaris.grant;profiles=Web Console Management,All;lock_after_retries=no;min_label=admin_low;clearance=admin_high SIDADM::::project=SID oraSID::::project=SID
    ************************************** PROJECT FILE --- my sid replaced with 'SID'*********************************
    system:0:::: user.root:1::::process.max-file-descriptor=(basic,65536,deny),(priv,65536,deny);process.max-sem-nsems=(priv,512,deny);project.max-sem-ids=(priv,512,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny) noproject:2:::: default:3::::process.max-file-descriptor=(basic,65536,deny),(priv,65536,deny);process.max-sem-nsems=(priv,512,deny);project.max-sem-ids=(priv,512,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny) group.staff:10:::: SID:400:SAP System SID:SIDadm,root,oraDBSID::process.max-file-descriptor=(basic,65536,deny),(priv,65536,deny);process.max-sem-nsems=(priv,512,deny);project.max-sem-ids=(priv,512,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny) **************************************************************************************************************************************
    what can i do to make the import faster ? my system definitely has enough resources but i am not able to utilizethem all. Thanks in advance

    You posted this in two different forums and it is not allowed.

  • I'm using Parallels 7 on an imac with Windows 7.  Both OSX and Windows (and especially quicken on Windows) runs very slow.  Is there a good way to fix this?

    Since installing Parallels 7 and Windows 7 (to use Quicken), my imac and the virtual computer run very slow.  Is there a good fix?

    Start up while holding Command R and run Disk Utility, check the SMART status and repair your hard drive.

  • MS-Access query running very slow

    Hi,
    We've MS-Access application which was pointing to UDB. Now we migrated it to point Oracle DB 9.2. After migration some of the query is running very slow.
    These queries used to take less than 30 seconds in UDB now taking more than 5 Minutes in Oracle.
    some more obeservation :
    (1) Some of the queries using "HAVING" clause without any aggregate function. When I moved this condition to "WHERE" clause, performance improved a lot.
    But problem is that I can't suggest this solution to "USERS". They are creating query using "query wizard" in MS-Access and they started creating noise on this.
    (2) I tested same MDB in two different PCs and same query is returning records in 4 seconds in one system, is taking more than 10 minutes in other system.
    Since I'm new to MS-Access, I don't know what other information I need to provide here.
    Please help me out.

    I have seen the problem like this,too
    can i have you

  • Oracle query running very slow

    Hi,
    We've MS-Access application which was pointing to UDB. Now we migrated it to point Oracle DB 9.2. After migration some of the query is running very slow.
    These queries used to take less than 30 seconds in UDB now taking more than 5 Minutes in Oracle.
    some more obeservation :
    (1) Some of the queries using "HAVING" clause without any aggregate function. When I moved this condition to "WHERE" clause, performance improved a lot.
    But problem is that I can't suggest this solution to "USERS". They are creating query using "query wizard" in MS-Access and they started creating noise on this.
    (2) I tested same MDB in two different PCs and same query is returning records in 4 seconds in one system, is taking more than 10 minutes in other system.
    Since I'm new to MS-Access, I don't know what other information I need to provide here.
    Please help me out.

    ms wrote:
    Hi All
    I am using Oracle 11g . My table contains 10-12 lac rows.Do not use the word lac: it is common in the Indian sub-continent but not known much outside of
    there because it is not standard English.
    >
    1) what is the difference between a index on one column and an index of number of columns ( i.e composite index). The obvious answer of one contains only one column and the other contains more than one.
    2) For what columns in a where clause should index be created ( single columns index or composite index ).Depends
    3) Also can u suggest how to improve the perfomane of thsi query?Please read: SQL and PL/SQL FAQ
    which tells you how to ask a performance related question

  • Game running very slow???

    Hi,
    I bought LEGO Pirates of the Caribbean at the weekend.
    The minimum system requirement are :
    Mac OS X 10.6.4 (Snow Leopard).
    Intel Core Duo processor.
    1 GB RAM.
    8 GB uncompressed hard drive space.
    My Mac is :
    Mac OS X 10.7.5 (Lion).
    2.16 GHzIntel Core 2 Duo processor.
    4 GB RAM.
    700 GB hard drive space.
    However, the game is running very slow. Characters move in slow motion and items I break are the same.
    And it only seems to happen when the game is on a level that is out in the open air, for example, the blacksmiths and dungeon levels are fine but the beach the slowness starts, and on the main deck of the Pearl until I go below decks.
    I've adjusted a few settings but it doesn't have an effect.
    Does anyone know what might be causing this?
    Cheers

    You could try to contact iTS, let them know the stats are false on the MAS, and they may make an exception for a refund here.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Publish running very slow based on size?

    Has anyone seen where the robohelp publisher runs very slow
    if its a large project? I have two current projects. One is pretty
    small to medium in size and during a publish runs at 125mb/sec
    accross the network. My other project which is very large publishes
    around 15mb/sec accross the network.
    Is there a known issue with large projects taking longer and
    is there any work arounds like using ftp or setting different
    options in robohelp to speed up the publishing?
    I use webhelp Pro V5, for both projects. I have checked
    during both seperate publishes to ensure the cpu and network
    connections were not maxed and they are barely phased.
    Any suggestions or help is welcome.

    Matt -
    I have seen this, and it is frustrating.
    From what I gather, the Publishing Wizard keeps track of the
    files published, along with a checksum and date for each file.
    Subsequent uploads will compare all of the files, and then only
    upload those files that have changed. The more files, the longer
    the list it becomes, and the longer it takes to check each file.
    This makes for a very slow publishing process the first
    time, but subsequent updates should move more quickly.
    You do have other publishing options, ftp'ing, or using the
    FrontPage upload - but these are transfer protocols designed for
    uploading to a web server. Since you are on a network, you could
    just copy the output to the network drive.

  • I am able to log into itunes, but the homepage doesn't appear.  The program is also running very slow.  Help!

    I am able to log into itunes but the homepage doesn't appear.  What is causing this?  The program is also running very slow.

    Your  music will only be where you put it.
    It has always been very basic to always maintain a backup cop of your computer.
    Certainly you did not have our computer serviced without making sure your backup copy was up to date.
    In some countries you can redownload some content:
    Downloading past purchases from the App Store, iBookstore, and ...

  • My MacBook Pro is running very slow with the wheel constantly spinning.  Can anyone please help?!?!

    My MacBook is running very slow and the wheel is constantly spinning.  It's not just using the internet as it takes forever to start, open programs, etc.  It is even taking me a long time to type in this question as the spinning wheel keeps coming up.  Below is the EtreCheck.   I would appreciate it if someone could please help me!
    EtreCheck version: 1.9.15 (52)
    Report generated September 7, 2014 at 11:30:33 PM EDT
    Hardware Information: ?
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.5 GHz Intel Core i5 CPU: 2 cores
      4 GB RAM
    Video Information: ?
      Intel HD Graphics 4000 - VRAM: (null)
      Color LCD 1280 x 800
    System Software: ?
      OS X 10.9.4 (13E28) - Uptime: 0 days 5:3:7
    Disk Information: ?
      TOSHIBA MK5065GSXF disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 499.25 GB (425.17 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      MATSHITADVD-R   UJ-8A8 
    USB Information: ?
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Gatekeeper: ?
      Mac App Store and identified developers
    Kernel Extensions: ?
      [not loaded] com.sony.driver.dsccamFirmwareUpdaterType00 (1 - SDK 10.6) Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
    Launch Agents: ?
      [loaded] com.google.keystone.agent.plist Support
      [running] com.sony.SonyAutoLauncher.agent.plist Support
    User Launch Agents: ?
      [failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
    User Login Items: ?
      iTunesHelper
    Internet Plug-ins: ?
      FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
      Default Browser: Version: 537 - SDK 10.9
      o1dbrowserplugin: Version: 5.4.2.18903 Support
      SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
      googletalkbrowserplugin: Version: 5.4.2.18903 Support
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
      Flash Player  Support
    Time Machine: ?
      Time Machine not configured!
    Top Processes by CPU: ?
          3% WindowServer
          0% mdworker
          0% Microsoft Excel
          0% aosnotifyd
    Top Processes by Memory: ?
      115 MB Microsoft Excel
      115 MB Safari
      70 MB Mail
      68 MB com.apple.WebKit.WebContent
      66 MB com.apple.IconServicesAgent
    Virtual Memory Information: ?
      1.71 GB Free RAM
      1.46 GB Active RAM
      161 MB Inactive RAM
      685 MB Wired RAM
      353 MB Page-ins
      0 B Page-outs

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can read it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p) if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|(Bo|PO).+ sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:| VALI|xpma' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,Inter,iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 35 49 61 51;D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Maybe you are looking for

  • How to start a compiled exe with a parameter like -n

    Is there an possibility to start a compiled exe with a paramter like -n ?I searched the forum but only found sth. about dlls and so on.I just want to say, when the programm is started for example as Myprogram.exe -n that the program creates a new fil

  • PS 5 suddenly crashes

    After working properly for 4 years, PS 5 crashes immediately after opening. resinstall did not fix it. Log: Problemereignisname:    APPCRASH   Anwendungsname:    Photoshop.exe   Anwendungsversion:    12.0.0.0   Anwendungszeitstempel:    4bbc5b10   Fe

  • Debug/No Debug behavior?  Keeps resetting.

    How should the Debug/No Debug setting in the Developer toolbar work? My recollection is that before version 4.2, with debugging enabled for the application, when the Developer toolbar was showing, if I set Debug, the display would toggle to No Debug,

  • Different Ways of Code

    Can I build a query in a different way without using alias tables of position,physical Quantity in the WEBI report level. (SELECT   DISTINCT pp2.trade subtrade,                                          pq2.shipment subshipment,                       

  • EZXS55W port problem

    I am putting togerather a new work shop and everything seems to be working fine except port 5 on my switch 1-4 have no issues  and connect to my network fine, but as soon as I plug a cable into port 5 all ports go dead. This even happens is nothing i