Query performance after patch upgrade

Hi All,
We were earlier on SP17 and then upgraded recently to SP23. It was after this that we started noticing few anomalies. This includes really long runtime to run queries (more than 2 hours). This earlier (before upgrade) used to run in hardly 2 mins for the same selection criteria. This happens with majority of queries.
Let me elaborate this a little further. I have a very important sales query which is being used by many endusers all across India. This query has the following parameters as the selection screen. -
a) Division (mandatory)
b) Plant (mandatory)
c) Sales Office (mandatory)
d) Material (optional)
e) Fiscal year period range : <Starting Fiscal period> to <Ending Fiscal Period> (Mandatory)
Usually this report is run for 4 & 5 series materials. Hence normally users enter the following criteria while running this query-
Division - 03
Plant - L501
Sales Office - L003
Material - 400000 to 599999
Fiscal Year period range : YTD Range.
To run this report it takes more than 2 hours. Now say for instance this report is run and it brings in 50 materials. I export the list of these 50 materials and then run the same query again for the same criteria except this time, I execute the report not for material range of 4 & 5 Series but only for these 50 materials specifically. This then takes 2 Mins.
The problem is that we cannot expect all the users to do this. Has anybody faced this issue earlier. I request assistance in resolving this problem.
Regards,
Sree

One further observation.
When the report is not executed for any material (i.e. the material values are kept blank in the selection screen itself), then the report runs in like 2 mins again (the other parameters are kept the same as mentioned in the above message).
Can anyone put some light into this.
Regards,
Sree

Similar Messages

  • After patch upgrade in 11g Not able to see current patch

    Hi Experts,
    After upgrading the patch upgrade through MOPatch from 11.2.0.2.0 to 11.2.0.2.4 , I can see the log as succeeded .
    But when I am connecting through sqlplus / as sysdba the version is still showing as 11.2.0.2.0 . Have I missed something I used the readme file README_201111_AIX which is downloaded with this patch.
    I have to also add one more fix_control after patch upgrade that means system is reading the right patch. So, Please suggest how to check this .
    Thanks in Advance.

    Hi,
    My output is :-
    Oracle Database 11g                                                  11.2.0.2.0
    There are 1 products installed in this Oracle Home.
    and also I can see the following that today these much patches installed successfully I am giving some example below :-
    Patch  10149919     : applied on Thu Dec 08 05:22:25 EST 2011
    Unique Patch ID:  14146533
       Created on 3 Oct 2011, 00:42:46 hrs PST8PDT
       Bugs fixed:
         10149919
       This patch overlays patches:
         12827726
       This patch needs patches:
         12827726
       as prerequisites
    Patch  10188865     : applied on Thu Dec 08 05:22:11 EST 2011
    Unique Patch ID:  13551988
       Created on 21 Mar 2011, 03:16:39 hrs PST8PDT
       Bugs fixed:
         10188865
    Patch  10190759     : applied on Thu Dec 08 05:21:56 EST 2011
    Unique Patch ID:  13109839
       Created on 11 Nov 2010, 20:29:55 hrs UTC
       Bugs fixed:
         10190759
    Patch  10243045     : applied on Thu Dec 08 05:21:45 EST 2011
    Unique Patch ID:  13169052
       Created on 23 Nov 2010, 02:40:01 hrs PST8PDT
       Bugs fixed:
         10243045
    Patch  10357961     : applied on Thu Dec 08 05:21:38 EST 2011
    Unique Patch ID:  13814186
       Created on 6 Jun 2011, 06:16:52 hrs PST8PDT
       Bugs fixed:
         10357961
    But if the patches applied is 11.2.0.2.0 will not change to 11.2.0.2.4 or it will only change after applying patchset.
    Thanks in advance.

  • Null Exception in Family Iview after Patch Upgrade

    Hello
    We have SAP XSS installed on our production portal.
    following was the composition.
    SAP_ESS  603 SP3 
    SAP_MSS  600 SP16 
    SAPPCUI_GP  603 SP3 
    recently we upgraded patch level to
    SAP_ESS  603 SP7 (1000.603.0.7.4.20110124060804) 
    SAP_MSS  600 SP18 (1000.600.0.18.0.20100830054638)  
    SAPPCUI_GP  603 SP7 (1000.603.0.7.0.20100914080506)
    as per the link [https://wiki.sdn.sap.com/wiki/display/ERPHCM/HOWTOGETRIDOFSPSTACKMISMATCHISSUES]  and SAP note 1521297
    Backend patches remain the same  viz
    EA-HR Release: 604 ,level : 011
    Now when we try to test the Personal Information Iview it gives us the following error
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE
    Note: We have already implemented note no 1018036 which reports the above issue.Jcos are working fine , SSo is properly established and User remains valid.
    Thanks
    Surender Dahiya

    Hi,
    The logs from ST22 as as follows:
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
    caught in
    procedure "HRXSS_PER_CLEANUP" "(FUNCTION)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component.
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    Other ESS applications are working fine.Issue is in Family application.Server is also restarted after patch upgradation.
    Please suggest.
    Thanks,
    Surendra

  • Adjustment Modifications after Patch upgrade?

    Hello,
    Is it possible that the Modifications Adjustments (done in SPAU and SPDD and occured due to SAP_BASIS and SAP_ABA patches) be carried out after the patches upgrade?
    To be more clear, instead of Adjusting the Modifications while patch upgrade is in progress can i configure the patch upgrade in SPAM transaction someway that the Modification Adjustments is directly shown to the user upon their login after my patch upgrade?
    Regards,
    Vasu

    Hi Vasu,
    Yes you just need to transport the request to next system.
    Than you don't need to redo the adjustment.
    But some time due to incosystency between the system, you still get some object not adjusted after you apply the request, and for this you need to transport the object from your development or direct adjust.
    After 12 days than when you change  the object, SAP will ask you for the object key, and you need to request the key in SAP MarketPlace before you can change the object.
    Regards,
    Fendi Suyanto

  • Poor System performance after EHP4 upgrade

    Hello Experts,
    We have just finished our Upgrade to EHP4 for ECC6 system. After the upgrade we are noticing awfully slow system response time.
    My SGEN is currently executing and it's showing another 45 hours before it is finished.  Are there specific post Upgrade activities that I am missing? Once I try to perform some action it takes ages to compile the program. I undesratand that since SGEN is not run yet so it will need some time to compile and generate load for the application but still the response is takinng agaes before I see the actual Application/Program active in GUI.
    Please suggest what I can do to boost up my system performance.
    Thanks,
    M

    Hi Sunny,
    Another Update
    I looked at SAP Note 146289 - Parameter Recommendations for 64-Bit SAP Kernel
    Following is the recommnedation:
    Implement the SAP profile parameters as follows:
    em/initial_size_MB 1024 up to 1TB (note 835474)
    em/blocksize_KB 2048, 4096 or 8192 (note 835474)
    ztta/roll_first 1
    ztta/roll_area 6500000
    The deafult value of the following parameters is 2000000000 (2GB).
    They can be changed depending on the HW (RAM) and the configured
    SWAP Space:
    ztta/roll_extension 2000000000 (2GB)
    abap/heap_area_dia 2000000000 (2GB)
    abap/heap_area_nondia 2000000000 (2GB)
    abap/heap_area_total 2000000000 (2GB)
    But same SAP Note refers for windows:
    For Windows 64Bit recommendations see note 88416:
    As per this note recommendations are as follows:
    Standard values for zero administration memory management
    [HS] = size of the physical main memory
    [PM] = value of the profile parameter PHYS_MEMSIZE (standard value=[HS])
    [BE] = maximum possible number of users (calculated from [PM])
    Profile parameter
    Standard 32-bit
    Standard 64-bit
    Unit
    em/initial_size_MB
        [PM]
        [PM]
    Mbyte
    ---    em/max_size_MB
    ---    20000
    ---   100000
    Mbyte
    em/address_space_MB
        512
       4096
    Mbyte
      ztta/roll_first
        1
        1
    Byte
    ---    ztta/roll_area
    ---  2000000
    ---  3000000
    Byte
    ztta/roll_extension
    2000000000
    2000000000
    Byte
    abap/heap_area_dia
    2000000000
    2000000000
    Byte
    abap/heap_area_nondia
    2000000000
    0
    Byte
    abap/heap_area_total
    2000000000
    [PM]*1048576
    Byte
    -    rdisp/ROLL_MAXFS
    [BE] * 100
    [BE] * 100
    8KB Block
    ---    rdisp/ROLL_SHM
    [BE] * 100
    [BE] * 100
    8KB Block
    ---    rdisp/PG_MAXFS
    ---    32768
    ---                          32768
    8KB Block
        rdisp/PG_SHM
    [BE] * 50
    BE] * 50
    8KB Block
    PLease note that ours is a 64Bit kernel for WIndows 2003
    x86_64
    So is it ok to change the value of abap/heap_area_nondia  ?
    Thanks,
    M

  • Update Customized LKM after patch upgrade

    We currently have over 100 interfaces that use a customized version of a default LKM,CKM and IKM. We are going to implement a patch upgrade over the weekend which includes new versions of the LKM,CKM and IKM. How do we apply the new versions to the 100 interfaces?
    The customization that we had done was to modify the some of the options. When we receive a new version how do we apply the new KM with the customized options to all the interfaces?
    Thank you in advance.

    Best paractise is always to dulicate then modify the new KM, not to modify the original KMs. This allows you to deal with the issues which arise when new KMs are released which contain new functionality you'd like to get.
    I suggest that your best approach is to import the new KMs, modify them with your changes, then export them. Next do an IMPORT REPLACE on your KMs with the modified version of the new ones. Now all you have to do is to re-generate the interfaces which use the KMs.

  • No STAR_TRANSFORMATION hint after patch upgrading

    Hello! After upgrading patches
    SAPKA64016 -> SAPKA64019
    SAPKB64016 -> SAPKB64019
    SAPKIPYJ66 -> SAPKIPYJ69
    SAPKW35016 -> SAPKW35019
    we have problems with STAR_TRANSFORMATION hint. For example, in this SQL query we've got no STAR_TRANSFORMATION, and have greate problems with performance.
    SELECT   /*+ FACT( T_00 )  */
             t_01."SID_0CALDAY" "S____012", t_02."SID_X_CLSACT" "S____635",
             t_03."SID_X_NPACC" "S____997", t_04."SID_X_CODEAC" "S____1866",
             t_05."SID_X_SSTATUS" "S____1873", COUNT (*) "1ROWCOUNT"
        FROM "/BIC/FX_CARDS02" t_00,
             "/BIC/DX_CARDS02T" t_01,
             "/BIC/DX_CARDS029" t_02,
             "/BIC/DX_CARDS022" t_03,
             "/BIC/DX_CARDS028" t_04,
             "/BIC/DX_CARDS025" t_05,
             "/BIC/DX_CARDS02P" t_06
       WHERE (t_00."KEY_X_CARDS02T" = t_01."DIMID")
         AND (t_00."KEY_X_CARDS029" = t_02."DIMID")
         AND (t_00."KEY_X_CARDS022" = t_03."DIMID")
         AND (t_00."KEY_X_CARDS028" = t_04."DIMID")
         AND (t_00."KEY_X_CARDS025" = t_05."DIMID")
         AND (t_00."KEY_X_CARDS02P" = t_06."DIMID")
         AND t_06."SID_0RECORDTP" = 0
         AND t_06."SID_0REQUID" <= 22090
    GROUP BY t_01."SID_0CALDAY",
             t_02."SID_X_CLSACT",
             t_03."SID_X_NPACC",
             t_04."SID_X_CODEAC",
             t_05."SID_X_SSTATUS"

    Hi,
    sorry didn't see it before... it looks good.
    [hope you aren't deactivating the optimizer in RSRT...]
    Do you have your parameter maintained in the INIT<SID>.ORA file?
    Are you using this file by the way or a server file to apply the ORA paramters (check this with your ORADBA group)?
    Verify the optimizer parameters; this is what I have if it can help...:
    OPTIMIZER_FEATURES_ENABLE                   9.2.0  
    OPTIMIZER_MAX_PERMUTATIONS                  2000   
    OPTIMIZER_MODE                              choose 
    _OPTIMIZER_JOIN_SEL_SANITY_CHECK            true   
    _OPTIMIZER_OR_EXPANSION                     DEPTH  
    hope this helps...
    Olivier.

  • Slow performance after 10g upgrade

    After upgrade from 9.2.0.3.0 to 10.2.0.1.0, the following query runs extremely slow, any suggestion how to adjust the DB settings without re-writing this query
    SELECT SUM (ABS (ship_net_clc_amt))
    FROM ship_dtl
    WHERE order_section_number = '940007320686'
    AND SUBSTR (misc_charge_code, 1, 2) IN ('72', '77', 'A9')
    AND ics_status_flag2 IN ('W', 'S')
    AND dsr_trans_date >= to_date('1/1/2008', 'MM/DD/YYYY')
    AND dsr_trans_date < to_date('1/31/2008', 'MM/DD/YYYY')
    AND product_base_number NOT IN (SELECT DISTINCT sku
    FROM ap_smb_sku_based
    WHERE fiscal_period = '200801'
    AND country = 'TAIWAN')
    AND quota_product_line_code IN (SELECT pl
    FROM ap_pl_bu
    WHERE bu = '3C')
    The exec plan for 10g (optimizer mode = ALL ROWS) is
    ------------------------------------------------------------------------------------------------------------------------------|
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop ||
    ------------------------------------------------------------------------------------------------------------------------------|
    | 0 | SELECT STATEMENT | | 1 | 49 | 7 (15)| 00:00:01 | | ||
    | 1 | SORT AGGREGATE | | 1 | 49 | | | | ||
    |* 2 | FILTER | | | | | | | ||
    |* 3 | TABLE ACCESS BY LOCAL INDEX ROWID| SHIP_DTL | 1 | 42 | 1 (0)| 00:00:01 | 39 | 39 ||
    | 4 | NESTED LOOPS | | 1 | 49 | 5 (20)| 00:00:01 | | ||
    | 5 | SORT UNIQUE | | 1 | 7 | 3 (0)| 00:00:01 | | ||
    |* 6 | TABLE ACCESS FULL | AP_PL_BU | 1 | 7 | 3 (0)| 00:00:01 | | ||
    | 7 | PARTITION RANGE SINGLE | | 3 | | 0 (0)| 00:00:01 | 39 | 39 ||
    |* 8 | INDEX RANGE SCAN | IX_SHIP_DTL_ORD_SEC_NM | 3 | | 0 (0)| 00:00:01 | 39 | 39 ||
    | 9 | PARTITION RANGE SINGLE | | 1 | 39 | 2 (0)| 00:00:01 | 25 | 25 ||
    |* 10 | TABLE ACCESS FULL | AP_SMB_SKU_BASED | 1 | 39 | 2 (0)| 00:00:01 | 25 | 25 ||
    ------------------------------------------------------------------------------------------------------------------------------|
    The exec plan for 9i (optimizer mode=choose) for
    ----------------------------------------------------------------------------------------------------------------|
    | Id | Operation | Name | Rows | Bytes | Cost | Pstart| Pstop ||
    ----------------------------------------------------------------------------------------------------------------|
    | 0 | SELECT STATEMENT | | 1 | 47 | 10 | | ||
    | 1 | SORT AGGREGATE | | 1 | 47 | | | ||
    | 2 | FILTER | | | | | | ||
    | 3 | HASH JOIN SEMI | | 1 | 47 | 8 | | ||
    | 4 | TABLE ACCESS BY LOCAL INDEX ROWID| SHIP_DTL | 1 | 36 | 5 | 13 | 13 ||
    | 5 | INDEX RANGE SCAN | IX_SHIP_DTL_ORD_SEC_NR | 9 | | 3 | 13 | 13 ||
    | 6 | TABLE ACCESS FULL | AP_PL_BU | 2 | 22 | 2 | | ||
    | 7 | TABLE ACCESS FULL | AP_SMB_SKU_BASED | 1 | 21 | 2 | 13 | 13 ||
    Thanks.
    Liz

    ship_dtl has 94690531 records
    ap_smb_sku_based has 19 records
    ap_plbu has 19 records
    The query returns a single row, because it calculates the sum. The query could be better written to get rid of IN or NOT IN which are costly. But I just wonder why the plans/performance are so different?
    I used analyze to analyze other tables and it is still working fine in 10g. Now based on the plans, do you think anything wrong ?
    10g -
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------|
    | Id  | Operation                                   | Name                   | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib ||
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------|
    |   0 | SELECT STATEMENT                            |                        |     1 |    50 |    10 (-550| 00:00:01 |       |       |        |      |            ||
    |   1 |  SORT AGGREGATE                             |                        |     1 |    50 |            |          |       |       |        |      |            ||
    |*  2 |   FILTER                                    |                        |       |       |            |          |       |       |        |      |            ||
    |*  3 |    PX COORDINATOR                           |                        |       |       |            |          |       |       |        |      |            ||
    |   4 |     PX SEND QC (RANDOM)                     | :TQ10002               |     1 |    50 |    66   (5)| 00:00:01 |       |       |  Q1,02 | P->S | QC (RAND)  ||
    |*  5 |      FILTER                                 |                        |       |       |            |          |       |       |  Q1,02 | PCWC |            ||
    |   6 |       MERGE JOIN                            |                        |     1 |    50 |    66   (5)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |   7 |        SORT JOIN                            |                        |     2 |    14 |     4  (50)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |   8 |         BUFFER SORT                         |                        |       |       |            |          |       |       |  Q1,02 | PCWC |            ||
    |   9 |          PX RECEIVE                         |                        |     4 |    28 |     2   (0)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |  10 |           PX SEND HASH                      | :TQ10000               |     4 |    28 |     2   (0)| 00:00:01 |       |       |        | S->P | HASH       ||
    |  11 |            SORT UNIQUE                      |                        |     4 |    28 |     2   (0)| 00:00:01 |       |       |        |      |            ||
    |* 12 |             TABLE ACCESS FULL               | AP_PL_BU               |     4 |    28 |     2   (0)| 00:00:01 |       |       |        |      |            ||
    |* 13 |        SORT JOIN                            |                        |     1 |    43 |    62   (2)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |  14 |         PX RECEIVE                          |                        |     1 |    43 |    61   (0)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |  15 |          PX SEND HASH                       | :TQ10001               |     1 |    43 |    61   (0)| 00:00:01 |       |       |  Q1,01 | P->P | HASH       ||
    |  16 |           PX PARTITION RANGE ITERATOR       |                        |     1 |    43 |    61   (0)| 00:00:01 |   KEY |   KEY |  Q1,01 | PCWC |            ||
    |* 17 |            TABLE ACCESS BY LOCAL INDEX ROWID| SHIP_DTL               |     1 |    43 |    61   (0)| 00:00:01 |   KEY |   KEY |  Q1,01 | PCWP |            ||
    |* 18 |             INDEX RANGE SCAN                | IX_SHIP_DTL_ORD_SEC_NR |    14 |       |    49   (0)| 00:00:01 |   KEY |   KEY |  Q1,01 | PCWP |            ||
    |  19 |    PARTITION RANGE SINGLE                   |                        |     1 |    39 |     2   (0)| 00:00:01 |    14 |    14 |        |      |            ||
    |* 20 |     TABLE ACCESS FULL                       | AP_SMB_SKU_BASED       |     1 |    39 |     2   (0)| 00:00:01 |    14 |    14 |        |      |            ||
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------|Plan for 9i
    -----------------------------------------------------------------------------------------------------------------------------------------------|
    | Id  | Operation                              |  Name                   | Rows  | Bytes | Cost  | Pstart| Pstop |  TQ    |IN-OUT| PQ Distrib ||
    -----------------------------------------------------------------------------------------------------------------------------------------------|
    |   0 | SELECT STATEMENT                       |                         |     1 |    53 |    74 |       |       |        |      |            ||
    |   1 |  SORT AGGREGATE                        |                         |     1 |    53 |       |       |       |        |      |            ||
    |   2 |   FILTER                               |                         |       |       |       |       |       |        |      |            ||
    |   3 |    FILTER                              |                         |       |       |       |       |       |        |      |            ||
    |   4 |     HASH JOIN SEMI                     |                         |     1 |    53 |    72 |       |       | 30,01  | P->S | QC (RAND)  ||
    |   5 |      PARTITION RANGE ITERATOR          |                         |       |       |       |   KEY |   KEY | 30,01  | PCWP |            ||
    |   6 |       TABLE ACCESS BY LOCAL INDEX ROWID| SHIP_DTL                |     1 |    42 |    54 |   KEY |   KEY | 30,01  | PCWP |            ||
    |   7 |        INDEX RANGE SCAN                | IX_SHIP_DTL_ORD_SEC_NR  |    21 |       |    37 |   KEY |   KEY | 30,01  | PCWP |            ||
    |   8 |      TABLE ACCESS FULL                 | AP_PL_BU                |     2 |    22 |     2 |       |       | 30,00  | S->P | BROADCAST  ||
    |   9 |    TABLE ACCESS FULL                   | AP_SMB_SKU_BASED        |     1 |    39 |     2 |    14 |    14 |        |      |            ||
    -----------------------------------------------------------------------------------------------------------------------------------------------|

  • Cannot select serial number after patch upgrade to PL 27

    Hi,
    We have just upgraded to PL 27. As all the items are managed by serial number, we find that we are unable to select certain serial number when we are performing deliveries, return or invoicing. The funny thing is not all the serial number are affected. For example, out of 10 available serial number, 2 can be selected and the rest cannot.
    Any idea what causes it?
    Regards,
    TWP

    Hi,
    We are also facing the same issue when we try to upgrade the patch level to PL27 for one of our client. After few days of testing we found out that it seem to be a major bug in PL27 where by you will not be able to select most of the serial number after you sort the serial number table. You might need to try with different user or create another user which haven't apply the sorting as a temporary workaround method because we have try to remove the sorting but it cant be done. Thus, we create/try with different user without applying the sorting and it worked. To fix the issue permanently, you will need to revert the issue to SAP.
    Regards,
    cakong

  • Many Specific Issues with Mac Performance after Yosemite Upgrade

    I have a MacBook Pro Retina 15”--Late 2013
    Ever since I upgraded to Yosemite, I have experienced the following problems:
    Preview locking up after I attempt to open a document or photo
    None of my files will be visible in certain views (e.g., Download Folder will appear empty)
    Trash and Junk Folders will disappear in Mail
    Spotlight will not search for anything when I attempt to use it
    Google apps (e.g.,  Search, News, Gmail, Maps) will usually not open initially when I try to open them in Safari—will just time out with a message that website will not respond… If I close out the tab, then try to re-open it, it usually works. I also tried them out in Chrome, and they seem to load with no problems.
    Initially I contacted Apple support. They had me delete several cache files, ran disk utility, etc. This seemed to help for a while, but problem returned.
    The next step: I performed a clean installation of Yosemite.  Eventually, the symptoms returned.
    Last step:  I took my computer to the Genius Bar at a local Apple Store.  The tech ran several diagnostics and found no problems.
    Finally, the Genius Bar tech. asked me how often I shut down my Mac;  I told him ‘not very often’.   His recommendation was that I restart my Mac every once in a while… (not specific on frequency)….
    Restarting it every couple of days seems to be the only thing that works…
    Any help with this problem would be greatly appreciated.

    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.
    The test works on OS X 10.7 ("Lion") and later. I don't recommend running it on older versions of OS X. It will do no harm, but it won't do much good either.
    Don't be put off by the 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 act on 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 it 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. See, for example, this discussion.
    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. Try to test under conditions that reproduce the problem, as far as possible. For example, if the computer is sometimes, but not always, slow, run the test during a slowdown.
    You may have started up in "safe" mode. 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=(1286 ' 0.5 0.25 50 1000 15 5120 1000 25000 6 6 5 1 0 100 ' 51 25600 4 10 25 5120 102400 1000 25 1 400 40 500 300 85 25 20480 262144 20 2000 524288 604800 5 1024 );k=({Soft,Hard}ware Memory Diagnostics Power FireWire Thunderbolt USB Bluetooth SerialATA Extensions Applications Frameworks PrefPane Fonts Displays PCI UniversalAccess InstallHistory ConfigurationProfile AirPort 'com\.apple\.' -\\t N\\/A 'AES|atr|udit|msa|dnse|ax|ensh|fami|FileS|fing|ft[pw]|gedC|kdu|etS|is\.|alk|ODSA|otp|htt|pace|pcas|ps-lp|rexe|rlo|rsh|smb|snm|teln|upd-[aw]|uuc|vix|webf' OSBundle{Require,AllowUserLoa}d 'Mb/s:Mb/s:ms/s:KiB/s:%:total:MB:total:lifetime:sampled:per sec' 'Net in:Net out:I/O wait time:I/O requests:CPU usage:Open files:Memory:Mach ports:Energy:Energy:File opens:Forks:Failed forks:System errors' 'tsA|[ST]M[HL]' PlistBuddy{,' 2>&1'}' -c Print' 'Info\.plist' CFBundleIdentifier );f=('\n%s'{': ','\n\n'}'%s\n' '\nRAM details\n%s\n' %s{' ','\n'{"${k[22]}",}}'%s\n' '%.1f GiB: %s\n' '\n    ...and %s more line(s)\n' '\nContents of %s\n    '"${k[22]}"'mod date: %s\n    '"${k[22]}"'checksum: %s\n%s\n' );c=(879294308 4071182229 461455494 216630318 3627668074 1083382502 1274181950 1855907737 2758863019 1848501757 464843899 2636415542 3694147963 1233118628 2456546649 2806998573 2778718105 842973933 1383871077 1591517921 676087606 1445213025 2051385900 3301885676 891055588 998894468 695903914 1443423563 4136085286 3374894509 1051159591 892310726 1707497389 523110921 2883943871 3873345487 );s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[4]} ' s/:$//;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: (E[^m]|[^EO])|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[9]}')||($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|yc/!{ s/^.+is |\.//g;p;q;} ' ' BEGIN { FS="\f";if(system("A1 42 83 114")) d="^'"${k[21]}"'launch(d\.peruser\.[0-9]+|ctl\.(Aqua|Background|System))$";} { if($2~/[1-9]/) { $2="status: "$2;printf("'"${f[4]}"'",$1,$2);} else if(!d||$1!~d) print $1;} ' ' $1>1{$NF=$NF" x"$1} /\*/{if(!f)f="\n\t* Code injection"} {$1=""} 1;END{print f} ' ' NR==2&&$4<='${p[7]}'{print $4} ' ' BEGIN{FS=":"} ($1~"wir"&&$2>'${p[22]}') {printf("wired %.1f\n",$2/2^18)} ($1~/P.+ts/&&$2>'${p[19]}') {printf("paged %.1f\n",$2/2^18)} ' '/YLD/s/=/ /p' ' { q=$1;$1="";u=$NF;$NF="";gsub(/ +$/,"");print q"\f"$0"\f"u;} ' ' /^ {6}[^ ]/d;s/:$//;/([^ey]|[^n]e):/d;/e: Y/d;s/: Y.+//g;H;${ g;s/ \n (\n)/\1/g;s/\n +(M[^ ]+)[ -~]+/ (\1)/;s/\n$//;/( {8}[^ ].*){2,}/p;} ' 's:^:/:p;' ' !/, .+:/ { print;n++;} END{if(n<'{${p[12]},${p[13]}}')printf("^'"${k[21]}"'.+")} ' '|uniq' ' 1;END { print "/L.+/Scr.+/Templ.+\.app$";print "/L.+/Pri.+\.plugin$";if(NR<'{${p[14]},${p[21]}}') print "^/[Sp].+|'${k[21]}'";} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:.+//p;' '&&echo On' '/\.(bundle|component|framework|kext|mdimporter|plugin|qlgenerator|saver|wdgt)$/p' '/\.dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".","");print $0"$";} END { split("'"${c[*]}"'",c);for(i in c) print "\t"c[i]"$";} ' ' /^\/(Ap|Dev|Inc|Prev)/d;/((iTu|ok).+dle|\.(component|mailbundle|mdimporter|plugin|qlgenerator|saver|wdgt))$/p;' ' BEGIN{ FS="= "} $2 { gsub(/[()"]/,"",$2);print $2;} !/:/&&!$2{print "'${k[23]}'"} ' ' /^\//!d;s/^.{5}//;s/ [^/]+\//: \//p;' '>&-||echo No' '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[2]}'{$2=$2-1;print}' ' BEGIN { M1='${p[16]}';M2='${p[18]}';M3='${p[8]}';M4='${p[3]}';} !/^A/{next};/%/ { getline;if($5<M1) o["CPU"]="CPU: user "$2"%, system "$4"%";next;} $2~/^disk/&&$4>M2 { o[$2]=$2": "$3" ops/s, "$4" blocks/s";next;} $2~/^(en[0-9]|bridg)/ { if(o[$2]) { e=$3+$4+$5+$6;if(e) o[$2]=o[$2]"; errors "e"/s";next;};if($4>M3||$6>M4) o[$2]=$2": in "int($4/1024)", out "int($6/1024)" (KiB/s)";} END { for(i in o) print o[i];} ' ' /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/) ' ' BEGIN{FS=": "} /^ {10}O/ {exit} /^ {0,12}[^ ]/ {next} $1~"Ne"&&$2!~/^In/{print} $1~"Si" { split($2,a," ");if(a[1]-a[4]<'${p[5]}') print;};$1~"T"&&$2<'${p[20]}'{print};$1~"Se"&&$2!~"2"{print};' ' BEGIN { FS="\f";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1;} ' ' BEGIN { split("'"${p[1]}"'",m);FS="\f";} $2<=m[$1]{next} $1==9||$1==10 { "ps -c -ouid -p"$4"|sed 1d"|getline $4;} $1<11 { o[$1]=o[$1]"\n    "$3" (UID "int($4)"): "$2;} $1==11&&$5!~"^/dev" { o[$1]=o[$1]"\n    "$3" (UID "$4") => "$5" (status "$6"): "$2;} $1==12&&$5 { "ps -c -ocomm -p"$5"|sed 1d"|getline n;if(n) $5=n;o[$1]=o[$1]"\n    "$5" => "$3" (UID "$4"): "$2;} $1~/1[34]/ { o[$1]=o[$1]"\n    "$3" (UID "$4", error "$5"): "$2;} END { n=split("'"${k[27]}"'",u,":");for(i=n+1;i<n+4;i++)u[i]=u[n];split("'"${k[28]}"'",l,":");for(i=1;i<15;i++) if(o[i])print "\n"l[i]" ("u[i]")\n"o[i];} ' ' /^ {8}[^ ]/{print} ' ' BEGIN { L='${p[17]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n    "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n    [N/A]";"cksum "F|getline C;split(C, A);C=A[1];"stat -f%Sm "F|getline D;"file -b "F|getline T;if(T~/^Apple b/) { f="";l=0;while("'"${k[30]}"' "F|getline g) { l++;if(l<=L) f=f"\n    "g;};};if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F"\n    '"${k[22]}"'"T;printf("'"${f[8]}"'",F,D,C,f);if(l>L) printf("'"${f[7]}"'",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' 's/^.{52}(.+) <.+/\1/p' ' /id: N|te: Y/{i++} END{print i} ' ' /kext:/ { split($0,a,":");p=a[1];k[S]='${k[25]}';k[U]='${k[26]}';v[S]="Safe";v[U]="true";for(i in k) { s=system("'"${k[30]}"'\\ :"k[i]" \""p"\"/*/I*|grep -qw "v[i]);if(!s) a[1]=a[1]" "i;};if(!a[2]) a[2]="'"${k[23]}"'";printf("'"${f[4]}"'",a[1],a[2]);next;} !/^ *$/ { p="'"${k[31]}"'\\ :'"${k[33]}"' \""$0"\"/*/'${k[32]}'";p|getline b;close(p);if(b~/, .+:/||b=="") b="'"${k[23]}"'";printf("'"${f[4]}"'",$0,b);} ' '/ en/!s/\.//p' ' NR>=13 { gsub(/[^0-9]/,"",$1);print;} ' ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?'${k[32]}'$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ / [VY]/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' '/^find: /!p;' ' /^p/{ s/.//g;x;s/\nu/'$'\f''/;s/(\n)c/\1'$'\f''/;s/\n\n//;p;};H;' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */    /;p;' ' s/^.+ |\(.+\)$//g;p;' '1;END{if(NR<'${p[15]}')printf("^/(S|usr/(X|li))")}' ' /2/{print "WARN"};/4/{print "CRITICAL"};' ' /EVHF|MACR|^s/d;s/^.+: //p;' ' $3~/^[1-9][0-9]{0,2}(\.[1-9][0-9]{0,2}){2}$/ { i++;n=n"\n"$1"\t"$3;} END{ if(i>1)print n} ' s/{'\.|jnl: ','P.+:'}'//;s/ +([0-9]+)(.+)/\2'$'\t\t''\1/p' ' /^ +iP.+:$/{ s/://;b0'$'\n'' };/es: ./{ /iOS/d;s/^.+://;b0'$'\n'' };/^ +C.+ted: +[NY]/H;/:$/b0'$'\n'' d;:0'$'\n'' x;/: +N/d;s/\n.+//p;' ' 1d;/:$/b0'$'\n'' $b0'$'\n'' /(D|^ *Loc.+): /{ s/^.+: //;H;};/(B2|[my]): /H;d;:0'$'\n'' x;/[my]: [AM]|m: I.+p$|^\/Vo/d;s/(^|\n) [ -~]+//g;s/(.+)\n(.+)/\2:\1/;s/\n//g;/[ -~]/p;' 's/$/'$'\f''(0|-(4[34])?)$/p' '|sort'{'|uniq'{,\ -c},\ -nr} ' s/^/'{5,6,7,8,9,10}$'\f''/;s/ *'$'\f'' */'$'\f''/g;p;' 's/:.+$//p' '|wc -l' /{\\.{kext,xpc,'(appex|pluginkit)'}'\/(Contents\/)?'Info,'Launch[AD].+'}'\.plist$/p' 's/([-+.?])/\\\1/g;p' 's/, /\'$'\n/g;p' ' BEGIN{FS="\f"} { printf("'"${f[6]}"'",$1/2^30,$2);} ' ' /= D/&&$1!~/'{${k[24]},${k[29]}}'/ { getline d;if(d~"t") print $1;} ' ' BEGIN{FS="\t"} NR>1&&$NF!~/0x|\.([0-9]{3,}|[-0-9A-F]{36})$/ { print $NF"\f"a[split($(NF-1),a," ")];} ' '|tail -n'{${p[6]},${p[10]}} ' s/.+bus /Bus: /;s/,.+[(]/ /;s/,.+//p;' ' { $NF=$NF" Errors: "$1;$1="";} 1 ' ' 1s/^/\'$'\n''/;/^ +(([MNPRSV]|De|Li|Tu).+|Bus): .|d: Y/d;s/:$//;$d;p;' ' BEGIN { RS=",";FS=":";} $1~"name" { gsub("\"","",$2);print $2;} ' '|grep -q e:/' '/[^ .]/p' '{ print $1}' ' /^ +N.+: [1-9]/ { i++;} END { if(i) print "system: "i;} ' ' NF { print "'{admin,user}' "$NF;exit;} ' ' /se.+ =/,/[\}]/!d;/[=\}]/!p ' ' 3,4d;/^ +D|Of|Fu| [0B]/d;s/^  |:$//g;$!H;${ x;/:/p;} ' ' BEGIN { FS=": ";} NR==1 { sub(":","");h="\n"$1"\n";} /:$/ { l=$1;next;} $1~"S"&&$2!~3 { getline;next;} /^ {6}I/ { i++;L[i]=l" "$2;if(i=='${p[24]}') nextfile;} END { if(i) print h;for(j=0;j<i;j++) print L[i-j];} ' ' /./H;${ x;s/\n//;s/\n/, /g;/,/p;} ' ' {if(int($6)>'${p[25]}')printf("swap used %.1f\n",$6/1024)} ' ' BEGIN{FS="\""} $3~/ t/&&$2!~/'{${k[24]},${k[29]}}'/{print $2} ' ' int($1)>13 ' p ' BEGIN{FS="DB="} { sub(/\.db.*/,".db",$2);print $2;} ' {,1d\;}'/r%/,/^$/p' ' NR==1{next} NR>11||!$0{exit} {print $NF"\f"substr($0,1,32)"\f"$(NF-7)} ' '/e:/{print $2}' ' /^[(]/{ s/....//;s/$/:/;N;/: [)]$/d;s/\n.+ ([^ ]+).$/\1/;H;};${ g;p;} ' '1;END { exit "find /var/db/r*/'${k[21]}'*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom -mtime -'${p[23]}'s"|getline;} ' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps crontab kextfind top pkgutil "${k[30]}\\" echo cksum kextstat launchctl smcDiagnose sysctl\ -n defaults\ read stat lsbom 'mdfind -onlyin' env pluginkit scutil 'dtrace -q -x aggsortrev -n' security sed\ -En awk 'dscl . -read' networksetup mdutil lsof test osascript\ -e netstat mdls route cat uname powermetrics );c2=(${k[21]}loginwindow\ LoginHook ' /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'" 'L*/Ca*/'${k[21]}'Saf*/E* -d 2 -name '${k[32]} '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' -i '-nl -print' '-F \$Sender -k Level Nle 3 -k Facility Req "'${k[21]}'('{'bird|.*i?clou','lsu|sha'}')"' "-f'%N: %l' Desktop {/,}L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message CRne '0xdc008012|(allow|call)ing|Goog|(mplet|nabl)ed|ry HD|safe b|xpm' -k Message CReq 'bad |Can.t l|corru|dead|fail|GPU |hfs: Ru|inval|Limiti|v_c|NVDA[(]|pagin|Purg(ed|in)|error|Refus|TCON|tim(ed? ?|ing )o|trig|WARN' " '-du -n DEV -n EDEV 1 10' 'acrx -o%cpu,comm,ruid' "' syscall::recvfrom:return {@a[execname,uid]=sum(arg0)} syscall::sendto:return {@b[execname,uid]=sum(arg0)} syscall::open*:entry {@c[execname,uid,copyinstr(arg0),errno]=count()} syscall::execve:return, syscall::posix_spawn:return {@d[execname,uid,ppid]=count()} syscall::fork:return, syscall::vfork:return, syscall::posix_spawn:return /arg0<0/ {@e[execname,uid,arg0]=count()} syscall:::return /errno!=0/ {@f[execname,uid,errno]=count()} io:::wait-start {self->t=timestamp} io:::wait-done /self->t/ { this->T=timestamp - self->t;@g[execname,uid]=sum(this->T);self->t=0;} io:::start {@h[execname,uid]=sum(args[0]->b_bcount)} tick-10sec { normalize(@a,2560000);normalize(@b,2560000);normalize(@c,10);normalize(@d,10);normalize(@e,10);normalize(@f,10);normalize(@g,10000000);normalize(@h,10240);printa(\"1\f%@d\f%s\f%d\n\",@a);printa(\"2\f%@d\f%s\f%d\n\",@b);printa(\"11\f%@d\f%s\f%d\f%s\f%d\n\",@c);printa(\"12\f%@d\f%s\f%d\f%d\n\",@d);printa(\"13\f%@d\f%s\f%d\f%d\n\",@e);printa(\"14\f%@d\f%s\f%d\f%d\n\",@f);printa(\"3\f%@d\f%s\f%d\n\",@g);printa(\"4\f%@d\f%s\f%d\n\",@h);exit(0);} '" '-f -pfc /var/db/r*/'${k[21]}'*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f'$'\f''%Sc'$'\f''%N -t%F {} \;' '/S*/*/Ca*/*xpc*' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' /\ kMDItemContentTypeTree=${k[21]}{bundle,mach-o-dylib} :Label "/p*/e*/{auto*,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {/p*,/usr/local}/e*/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list '-F "" -k Sender hidd -k Level Nle 3' /Library/Preferences/${k[21]}alf\ globalstate --proxy '-n get default' vm.swapusage --dns -get{dnsservers,info} dump-trust-settings\ {-s,-d,} -n1 '-R -ce -l1 -n5 -o'{'prt -stats prt','mem -stats mem'}',command,uid' -kl -l -s\ / '--regexp --files '${k[21]}'pkg.*' '+c0 -i4TCP:0-1023' ${k[21]}dashboard\ layer-gadgets '-d /L*/Mana*/$USER' '-app Safari WebKitDNSPrefetchingEnabled' '-Fcu +c0 -l' -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????' kern.memorystatus_vm_pressure_level '3>&1 >&- 2>&3' '-F \$Message -k Sender kernel -k Message CReq "'{'n Cause: -','(a und|I/O |jnl_io.+)err|disk.+abo','USBF:.+bus'}'"' -name\ kMDItem${k[33]} -T\ hfs '-n get default' -listnetworkserviceorder :${k[33]} :CFBundleDisplayName $EUID {'$TMPDIR../C ','/{S*/,}'}'L*/{,Co*/*/*/L*/}{Cache,Log}s -type f -size +'${p[11]}'G -exec stat -f%z'$'\f''%N {} \;' \ /v*/d*/*/*l*d{,.*.$UID}/* '-app Safari UserStyleSheetEnabled' 'L*/A*/Fi*/P*/*/a*.json' users/$USER\ HomeDirectory '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' ' -F "\$Time \$(Sender): \$Message" -k Sender Rne "launchd|nsurls" -k Level Nle 3 -k Facility R'{'ne "user|','eq "'}'console" -k Message CRne "[{}<>]|asser|commit - no t|deprec|done |fmfd|Goog|ksho|ndum|obso|realp|rned f|/root|sandbox ex|sudo:" ' getenv '/ "kMDItemDateAdded>=\$time.now(-'${p[23]}')&&kMDItem'${k[33]}'=*"' -m\ / '' ' -F "\$Time \$(RefProc): \$Message" -k Sender Req launchd -k Level Nle 3 -k Message Rne "asse|bug|File ex|hij|Ig|Jet|key is|lid t|Plea|ship" ' print{,-disabled}\ {system,{gui,user}/$UID} '-n1 --show-initial-usage --show-process-energy' -r ' -F "\$Message" -k Sender nsurlstoraged -k Time ge -1h -k Level Nle 4 -k Message Req "^(ER|IN)" ' );N1=${#c2[@]};for j in {0..20};do c2[N1+j]=SP${k[j]}DataType;done;l=({Restricted\ ,Lock,Pro}files POST Battery {Safari,App,{Bad,Loaded}\ kernel,Firefox}\ extensions System\ load boot\ args FileVault\ {2,1} {Kernel,System,Console,launchd}\ log SMC Login\ hook 'I/O per process' 'High file counts' UID {Daemons,{Login,All,User}\ agents}\ {load,disabl}ed {Admin,Root}\ access Font\ issues Firewall Proxies DNS TCP/IP Wi-Fi 'Elapsed time (sec)' {Root,User}\ crontab {Global,User}' login items' Spotlight Memory\ pressure Listeners Widgets Parental\ Controls Prefetching Nets Volumes {Continuity,I/O,iCloud,HID,HCI}\ errors {User,System}\ caches/logs XPC\ cache Startup\ items Shutdown\ codes Heat Diagnostic\ reports Bad\ {plist,cache}s 'VM (GiB)' Bundles{,' (new)'} Trust\ settings Activity Free\ space Stylesheet Library\ paths{,' ('{shell,launchd}\)} );N3=${#l[@]};for i in {0..8};do l[N3+i]=${k[5+i]};done;F() { local x="${s[$1]}";[[ "$x" =~ ^([\&\|\<\>]|$) ]]&&{ printf "$x";return;};:|${c1[30]} "$x" 2>&-;printf "%s \'%s\'" "|${c1[30+$?]}" "$x";};A0() { Q=6;v[2]=1;id -G|grep -qw 80;v[1]=$?;((v[1]))||{ Q=7;sudo -v;v[2]=$?;((v[2]))||Q=8;};v[3]=`date +%s`;date '+Start time: %T %D%n';printf '\n[Process started]\n\n'>&4;printf 'Revision: %s\n\n' ${p[0]};};A1() { local c="${c1[$1]} ${c2[$2]}";shift 2;c="$c ` while [[ "$1" ]];do F $1;shift;done`";((P2))&&{ c="sudo $c";P2=;};v=`eval "$c"`;[[ "$v" ]];};A2() { local c="${c1[$1]}";[[ "$c" =~ ^(awk|sed ) ]]&&c="$c '${s[$2]}'"||c="$c ${c2[$2]}";shift 2;local d=` while [[ "$1" ]];do F $1;shift;done`;((P2))&&{ c="sudo $c";P2=;};local a;v=` while read a;do eval "$c '$a' $d";done<<<"$v";`;[[ "$v" ]];};A3(){ v=$((`date +%s`-v[3]));};export -f A1 A2 F;B1() { v=No;! ((v[1]))&&{ v=;P1=1;};};eval "`type -a B1|sed '1d;s/1/2/'`";B3(){ v[$1]="$v";};B4() { local i=$1;local j=$2;shift 2;local c="cat` while [[ "$1" ]];do F $1;shift;done`";v[j]=`eval "{ $c;}"<<<"${v[i]}"`;};B5(){ v="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d$'\e' <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F$'\e' ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`egrep -v "${v[$1]}"<<<"$v"|sort`;};eval "`type -a B7|sed '1d;s/7/8/;s/-v //'`";C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { B4 0 0 63&&C1 1 $1;};C4() { echo $'\t'"Part $((++P)) of $Q done at $((`date +%s`-v[3])) sec">&4;};C5() { sudo -k;pbcopy<<<"$o";printf '\n\tThe test results are on the Clipboard.\n\n\tPlease close this window.\n';exit 2>&-;};for i in 1 2;do eval D$((i-1))'() { A'$i' $@;C0;};';for j in 2 3;do eval D$((i+2*j-3))'() { local x=$1;shift;A'$i' $@;C'$j' $x;};';done;done;trap C5 2;o=$({ A0;D0 0 N1+1 2;D0 0 $N1 1;B1;C2 31;B1&&! B2&&C2 32;D2 22 15 63;D0 0 N1+2 3;D0 0 N1+15 17;D4 3 0 N1+3 4;D4 4 0 N1+4 5;D4 N3+4 0 N1+9 59;D0 0 N1+16 99;for i in 0 1 2;do D4 N3+i 0 N1+5+i 6;done;D4 N3+3 0 N1+8 71;D4 62 1 10 7;D4 10 1 11 8;B2&&D4 18 19 53 67;D2 11 2 12 9;D2 12 3 13 10;D2 13 32 70 101 25;D2 71 6 76 13;D2 45 20 52 66;A1 7 77 14;B3 28;A1 20 31 111;B6 0 28 5;B4 0 0 110;C2 66;D4 70 8 15 38;D0 9 16 16 77 45;C4;B2&&D0 35 49 61 75 76 78 45;B2&&{ D0 28 17 45;C4;};B2&&{ A1 43 85 117;B3 29;B4 0 0 119 76 81 45;C0;B4 29 0 118 119 76 82 45;C0;    };D0 12 40 54 16 79 45;D0 12 39 54 16 80 45;D4 74 25 77 15&&{ B4 0 8 103;B4 8 0;A2 18 74;B6 8 0 3;C3 75;};B2&&D4 19 21 0;B2&&D4 40 10 42;D2 2 0 N1+19 46 84;D2 44 34 43 53;D2 59 22 20 32;D2 33 0 N1+14 51;for i in {0..2};do A1 29 35+i 104+i;B3 25+i;done;B6 25 27 5;B6 0 26 5;B4 0 0 110;C2 69;D2 34 21 28 35;D4 35 27 29 36;A1 40 59 120;B3 18;A1 33 60 121;B8 18;B4 0 19 83;A1 27 32 39&&{ B3 20;B4 19 0;A2 33 33 40;B3 21;B6 20 21 3;};C2 36;D4 50 38 5 68;B4 19 0;D5 37 33 34 42;B2&&D4 46 35 45 55;D4 38 0 N1+20 43;B2&&D4 58 4 65 76 91;D4 63 4 19 44 75 95 12;B1&&{ D4 53 5 55 75 69&&D4 51 6 58 31;D4 56 5 56 97 75 98&&D0 0 N1+7 99;D2 55 5 27 84;D4 61 5 54 75 70;D4 14 5 14 96;D4 15 5 72 96;D4 17 5 78 96;C4;};D4 16 5 73 96;A1 13 44 74 18;C4;B3 4;B4 4 0 85;A2 14 61 89;B4 0 5 19 102;A1 17 41 50;B7 5;C3 8;B4 4 0 88;A2 14 24 89;C4;B4 0 6 19 102;B4 4 0 86;A2 14 61 89;B4 0 7 19 102;B5 6 7;B4 0 11 73 102;A1 42 86 114;j=$?;for i in 0 1 2;do ((! j))||((i))||B2&&A1 18 $((79+i-(i+53)*j)) 107+8*j 94 74||continue;((PIPESTATUS))&&break;B7 11;B4 0 0 11;C3 $((23+i*(1+i+2*j)));D4 $((24+i*(1+i+2*j))) 18-4*j 82+i-16*j $((112+((3-i)*i-40*j)/2));done;D4 60 4 21 24;D4 42 14 1 62;D4 43 37 2 90 48;D4 41 10 42;D2 48 36 47 25;A1 4 3 60&&{ B3 9;A2 14 61;B4 0 10 21;B4 9 0;A2 14 62;B4 0 0 21;B6 0 10 4;C3 5;};D4 9 41 69 100;D2 72 21 68 35;D2 49 21 48 49;B4 4 22 57 102;A1 21 46 56 74;B7 22;B4 0 0 58;C3 47;D4 54 5 7 75 76 69;D4 52 5 8 75 76 69;D4 57 4 64 76 91;D2 0 4 4 84;D2 1 4 51 84;D4 21 22 9 37;D0 0 N1+17 108;A1 23 18 28 89;B4 0 16 22 102;A1 16 25 33;B7 16;B4 0 0 34;D1 31 47;D4 64 4 71 41;D4 65 5 87 116 74;C4;B4 4 12 26 89 23 102;for i in {0..3};do A1 0 N1+10+i 72 74;B7 12;B4 0 0 52;C3 N3+5+i;((i))||C4;done;A1 24 22 29;B7 12;B3 14;A2 39 57 30;B3 15;B6 14 15 4;C3 67;A1 24 75 74;B4 1 1 122||B7 12;B3 23;A2 39 57 30;B3 24;B6 23 24 4;C3 68;B4 4 13 27 89 65;A1 24 23;B7 13;C3 73;B4 4 0 87;A2 14 61 89 20;B4 0 17;A1 26 50 64;B7 17;C3 6;D0 0 N1+18 109;D4 7 11 6;A3;C2 39;C4;} 4>&2 2>/dev/null;);C5
    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 and start typing the name.
    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. If you don't know the password, or if you prefer not to enter it, 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, a series of lines will appear in the Terminal window like this:
    [Process started]
            Part 1 of 8 done at … sec
            Part 8 of 8 done at … sec
            The test results are on the Clipboard.
            Please close this window.
    [Process completed]
    The intervals between parts won't be exactly equal, but they give a rough indication of progress. The total number of parts may be different from what's shown here.
    Wait for the final message "Process completed" to appear. If you don't see it within about ten minutes, the test probably won't complete in a reasonable time. In that case, press the key combination control-C or command-period to stop it and go to the next step. You'll have incomplete results, but still something.
    12. When the test is complete, or if you stopped it because it was taking too long, 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 for themselves, not for me. The test itself is harmless, but whatever else you're told to do may not be. For others who choose to run it, I don't recommend that you post the test results on this website unless I asked you to.
    Copyright © 2014, 2015 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.

  • NWDI Components not available after patch upgrade

    Hi,
    After upgrading patch 11 to 13 the existing components are not available in the track. What could be the reason for this?
    Thank,
    Padmanaban

    Hi,
    As I mentioned before the SCs cannot get away from the CMS track definition unless they are deleted manually. Is it the problem with the required SCs or Developed SCs?
    You can also check in the CMS who has saved the track last and then consult them if they did any manual deletion?
    What about CBS? If you are not able to see it in CMS then I am sure you cannot have the respective buildspace there as well. But if you see it in CBS and not in CMS, then it is strange.
    One more way is --> If you see the content/SCs(Developed SCs) in the corresponding DTR, then you can add the SCs again to CMS track definition, this will create the buildspace for those SCs in CBS if they are missing.
    Akshatha

  • Inactive authorization objects after patch upgrade

    Hello all,
    I've upgraded the version of all the patches of my 4.6C system, but I've a problem.
    Now, I can see by PFCG t-code that a group of roles have objects of authorization inactive and I cannot remove and add again in the role.
    A strange thing because if I go to SU25 t-code and I revise all the roles affected by the patches (specially one of the affected),  I see the role fine but waiting to be adjusted. If I try to adjust the role by this transaction, the result is unsuccesful. I go after this to PFCG transaction and the objects are inactive.
    Is strange, it seems that I've the role duplicated, in PFCG transaction I see the "bad" role with inactive objects and in SU25 transaction I see the "good" role waiting to be adjusted.
    Anyone knows what's my problem ??
    Thanks in advance.
    Regards,
    Albert Plaza

    Hello,
    thanks for the answer.
    I've executed the report and I've 4 or 5 roles with duplicated authorizations, but neither of them are my roles with objects inactive.
    Anyway, I don't know that's my problem.
    I would like to know if it's normal to see my role different by PFCG and SU25 and if anyone know how fix it.
    That's really strange !!!
    Regards,
    Albert

  • Server version after patch upgrade

    Hi All,
    I have upgraded patch SP5 of BPC 7.0 on server and on my local machine.
    Now on server, it showing 7.0.114 as server version. But when I check the same from my local machine it is showing 7.0.113.

    Hi,
    I would suggest you to first uninstall all BPC clients on your local machine, and then go under the link http://yourserver/OSoft and click the Client software link from there.
    Hope this will help.
    Best Regards,
    Patrick

  • Users Locked after Patch Upgrade

    Hello,
    After a patch update all users locked .. how to find the reason ..
    Thanks,
    DereK

    Hi DereK,
    Please check the below documents  : -
    http://www.sapfans.com/forums/viewtopic.php?f=24&t=19370
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/f01241c738f423e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/0a/065e4278636255e10000000a155106/frameset.htm
    Hoe it helps
    Regards
    Arun

  • Slower performance after Mavericks upgrade

    My Macbook Pro has been significantly slowed down by my upgrade to Mavericks. (Processor  2.3 GHz Intel Core i7) (Memory  8 GB 1600 MHz DDR3) (Graphics  Intel HD Graphics 4000 1024 MB) I can't watch a 2 minute video without long... long rendering pauses.  I get error messages and find the computer quits and starts again at random moments.  Loading apps is slower.  I am not talented technically and need some layman version of how to use time machine or other backup info to go back to my Mountain Lion IOS or how to fix this deterioration of my computer performance.  I have run the etresoft app to provide more info.  Unfortunately I am very much a novice at problem solving computer issues so if this is above my paygrade please feel free to send me to more competent sources..
    Hardware Information:
              MacBook Pro (Retina, Mid 2012)
              MacBook Pro - model: MacBookPro10,1
              1 2.3 GHz Intel Core i7 CPU: 4 cores
              8 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: 1024 MB
              NVIDIA GeForce GT 650M - VRAM: 1024 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0
              AirPlay: Version: 1.9
              AppleAVBAudio: Version: 2.0.0
              iSightAudio: Version: 7.7.3
    Startup Items:
              WiFiUtilityStartUp - Path: /System/Library/StartupItems/WiFiUtilityStartUp
    System Software:
              OS X 10.9 (13A603) - Uptime: 0 days 1:10:23
    Disk Information:
              APPLE SSD SM256E disk0 : (251 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 250.14 GB (146.62 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist
              [loaded] com.microsoft.office.licensing.helper.plist
    Launch Agents:
    User Launch Agents:
              [failed] com.adobe.ARM.[...].plist
              [failed] com.google.keystone.agent.plist
              [loaded] ws.agile.1PasswordAgent.plist
    User Login Items:
              Backup Engine
              Dropbox
              WirelessUtility
    3rd Party Preference Panes:
              Flash Player
    Internet Plug-ins:
              Default Browser.plugin
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              QuickTime Plugin.plugin
              SharePointBrowserPlugin.plugin
              Silverlight.plugin
    User Internet Plug-ins:
              Google Earth Web Plug-in.plugin
    Bad Fonts:
              None
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: NO
              Volumes being backed up:
                        Macintosh HD: Disk size: 250.14 GB Disk used: 103.52 GB
              Destinations:
                        LaCie Disk [Local] (Last used)
                        Total size: 164.68 GB
                        Total number of backups: 1
                        Oldest backup: 2013-02-06 00:39:17 +0000
                        Last backup: 2013-02-06 00:39:17 +0000
                        Size of backup disk: Too small
                                  Backup size 164.68 GB < (Disk used 103.52 GB X 3)
    Top Processes by CPU:
                   3%          WindowServer
                   2%          firefox
                   1%          EtreCheck
                   1%          mds_stores
                   1%          fontd
                   0%          WirelessUtility
                   0%          Mail
                   0%          mds
                   0%          aosnotifyd
    Top Processes by Memory:
              426 MB   firefox
              319 MB   Finder
              246 MB   Mail
              164 MB   DashboardClient
              156 MB   WindowServer
              156 MB   com.apple.IconServicesAgent
              147 MB   Dock
              131 MB   mds_stores
              106 MB   Dropbox
              106 MB   com.apple.WebKit.WebContent
    Virtual Memory Statistics:
              2.31 GB  Free RAM
              4.09 GB  Active RAM
              732 MB   Inactive RAM
              903 MB   Wired RAM
              451 MB   Page-ins
              0 B      Page-outs

    Do you know the reason for using WiFi Utility? It is not part of OS X and may be contributing to the problem.
    Assuming you have no reason to use it:
    Navigate to the following folder by selecting the entire line (triple-click to select it), then control-click, and from the contextual menu that appears, select Services > Open:
    /System/Library/StartupItems/
    Find the file WiFiUtilityStartUp and drag it to the Desktop. You will need to authenticate.
    Next: Open System Preferences by selecting it from the  (Apple) menu, then select Users & Groups. Click the lock icon and authenticate, then click your User account. Select the Login Items tab, then select the item WirelessUtility. Delete it with the "–" (minus) button.
    Next: Backup Engine is not part of OS X either, and is unrelated to Time Machine, which you are using. It may have been installed as part of a utility supplied by Seagate or other hard disk manufacturer. Such utilities should not be used on Macs. If you have no reason to use Backup Engine, delete it as well using the "–" button.
    Quit System Preferences, log out, and log in again. Reply with your results.

Maybe you are looking for