Hierarchical queries - problem with condition "begins by".
Hi people
I play with the connection by and start with clause and am faced with a particular problem which I can not solve...
My data set is:
Create table dates_q (start_date date, end_date date) /
REM INSERTING into dates_q Insert into dates_q ("START_DATE","END_DATE") values (to_date('01-JAN-14','DD-MON-RR'),to_date('10-JAN-14','DD-MON-RR')); Insert into dates_q ("START_DATE","END_DATE") values (to_date('11-JAN-14','DD-MON-RR'),to_date('20-JAN-14','DD-MON-RR')); Insert into dates_q ("START_DATE","END_DATE") values (to_date('10-MAR-14','DD-MON-RR'),to_date('20-MAR-14','DD-MON-RR')); Insert into dates_q ("START_DATE","END_DATE") values (to_date('21-MAR-14','DD-MON-RR'),to_date('31-MAR-14','DD-MON-RR')); Insert into dates_q ("START_DATE","END_DATE") values (to_date('01-APR-14','DD-MON-RR'),to_date('10-APR-14','DD-MON-RR'));
Now I basically just want to get your hands on hierarchical queries and working with the syntax of various...
What I now want is, start with the date of April 1 as my start date and work backward to build my 'tree '. The condition of my tree is between two rows; my start and end dates differ from 1 day. If they do not; I don't want these records in my tree.
And using sys_connect_by_path, I want to get all the way from the root.
Thus, for example,.
SELECT a.*, sys_connect_by_path(start_date, '|'), LEVEL lvl FROM dates_q a CONNECT BY PRIOR end_date = (start_date - 1)
I get the following output
START_DATE | END_DATE | SYS_CONNECT_BY_PATH(START_DATE,'|') | LVL |
01.01.2014 | 10.01.2014 | | 1 JANUARY 14 | 1 |
11.01.2014 | 20.01.2014 | | 1 JANUARY 14 | JANUARY 11, 14 | 2 |
11.01.2014 | 20.01.2014 | | JANUARY 11, 14 | 1 |
10.03.2014 | 20.03.2014 | | MARCH 10, 14 | 1 |
21.03.2014 | 31.03.2014 | | MARCH 10, 14. MARCH 21, 14 | 2 |
01.04.2014 | 10.04.2014 | |10-MAR-14|21-MAR-14|01-APR-14 | 3 |
21.03.2014 | 31.03.2014 | | MARCH 21, 14 | 1 |
01.04.2014 | 10.04.2014 | | MARCH 21, 14. 1 APRIL 14 | 2 |
01.04.2014 | 10.04.2014 | | 1 APRIL 14 | 1 |
But for the moment I did not have any starting point... Now comes the FUN part...
When I give the State of departure; I get a single row :-(
Example of
SELECT a.*, sys_connect_by_path(start_date, '|'), LEVEL lvl FROM dates_q a CONNECT BY PRIOR end_date = (start_date - 1) START WITH start_date = To_Date('01-apr-2014','dd-mon-yyyy');
The result is
START_DATE | END_DATE | SYS_CONNECT_BY_PATH(START_DATE,'|') | LVL |
01.04.2014 | 10.04.2014 | | 1 APRIL 14 | 1 |
Just a line...!
I'm unable to understand this and work more and need help.
The formation of the tree works only in a 'sense' and I'm going the other way around? Don't know what it means but just something that comes to mind. :/
Thank you
K
P.S. - database is 10g R2.
Hello
Thanks for the display of the data of the sample; It is very useful.
What do you expect the result will be and why?
LEVEL = 1 contains all rows that meet the condition to START WITH. The rows that meet the condition
start_date = To_Date('01-apr-2014','dd-mon-yyyy')
in this case? Only the line you actually obtained.
LEVEL = N (where N > 1) contains all rows that meet the conditions regarding some FRONT CONNECT BY rank level = N - 1. Since the only line level = 1 to end_date = To_Date('10-apr-2014','dd-mon-yyyy'), lines satisfy the condition
End_date PRIOR = (start_date - 1).
? None. End_date PREREQUISITE is April 10, while rows with start_date April 11 would fulfill this condition, there is no line on LEVEL = 2 and the query stops there.
You would have expected this from your previous results. The line with the start_date April 1 had no children in the previous application, so there no children in any application that has the same State of CONNECT BY.
Maybe you meant the CONNECT BY condtion to be
End_date = BEFORE (start_date - 1).
Tags: Database
Similar Questions
-
HI - hoping that this problem will be easy for someone!
I have a page with the two regions. A region is a tabform with a SUBMIT (Reg1 label) button. Branch of the watch like going to Page 1 condition showing SUBMIT (Reg1) for the button.
The last region has a SHIPMENT (Test label) I want to create a branch to another page, but I did it as a shipment so it records the date before leaving the page. The branch shows Go to 25 conditional Page indicating SUBMIT (Test). Everything seems good.
However, when you press the button in the region don't want it branches to the first branch (based on the sequence). The two buttons go to the Page referenced (even they are supposed to conitional). If I change the order of the sequences, the two buttons go to the lowest order.
What I am doing wrong?
Thank you
Sandie
3.2.1 usingSandie,
I'm happy that it works.
Can you please click on the buttons 'Correct' or 'Useful' to award marks.
Thank you.
Robert
http://apexjscss.blogspot.com -
Problem with condition on calculation
I was faced with making a condition of PL/SQL on a page which deals with the work of calculation. The State has several if, then return false and another at the end of statements which returns true. It works fine when the IF then statement seeks a text element, but does not work when you look at a part of the select list. I tried to make the condition false when the selection list item is zero, but it is always set to true. I also tried comparing the element '% null', since that is what appears in the session information, but it does not work also.
The only solution I've found so far is to put in a calculation of page rendering for the item selection list and pre-fill with a value. Which seems to work, but I think I shouldn't have to go through this extra step.
Here are the PL/SQL that does not work:
Start
If: P950_NOTIFICATION_TYPE = "ENTRY".
THEN RETURN FALSE;
end if;
If: P950_NOTIFICATION_PRIMARY_ST is null
then return false;
end if;
If: P950_NOTIFICATION_REF_NO IS not NULL
THEN RETURN FALSE;
else return TRUE;
end if;
end;
And here is the PL/SQL that works (after adding a page to pre-fill rendering calculation: P950_NOTIFICATION_PRIMARY_ST with the value "NA")
Start
If: P950_NOTIFICATION_TYPE = "ENTRY".
THEN RETURN FALSE;
end if;
If: P950_NOTIFICATION_PRIMARY_ST = "NA".
then return false;
end if;
If: P950_NOTIFICATION_REF_NO IS not NULL
THEN RETURN FALSE;
else return TRUE;
end if;
end;Hello
If P950_NOTIFICATION_PRIMARY_ST is a selection list that allows null values, then it is possible that the value is in fact % null and non-null. Try:
if :P950_NOTIFICATION_PRIMARY_ST <> '%' || 'null%'
("null %" is actually converted to NULL, you must divide the string as above for the test)
Andy
-
Problem with conditional as C2 map
Hello
I'm trying to map personal 2 based on the accounts of HFM target that starts by 1 * 2 * 3 *.
I have nothing in C2, but this should always refer to the account of the target and the result.
Any thoughts?
Thank you.
Dim HFMAcc
HFMAcc = varValues (14)If left(HFMAcc,1) = "1" then
Result = "F99".
End ifHello
1. ensure that mapped account before C2 (check the sequence Calc in page size)
2 assign a dummy value to C2 in the import format (Ex: DummyC2)
3. set source as * in the mapping
Concerning
-
Problem with conditional branching
Hello
I use apex 3.2
I have a report different sql from I have a link to page 9 to say
Page 9, by clicking Cancel, I have to go to the same page that I had form
say if I came from page 1 to 9, I want to go back to page 1, and if I came 3-9, I have want to return page 9
I tried the below
1 create a Branch point application
2. in the report link column I put the value of the branch of current page number
3. on the Cancel button on the destination in the brach to Page page, I have user & branch
But when I click on the page, I see that brach value is 0, and it tries directly 0 page that does not exist
I also tried below
http://Apex-notes.blogspot.com/2008/02/navigate-to-previous-page.html
and http://dgielis.blogspot.com/2008/03/dynamic-breadcrumb-in-apex.htmlHello
Did you miss the point at the end:
&BRANCH.
Andy
-
Problem with conditional statement
I'm becoming so whenever you click on the object it reduced opacity of 10% every time if it gets to 10% and he clicked again, it remains at 10% instead of going to 0
I managed to do it keep going down into the fine opacity that I don't know the code to prevent it to go lower. That's what I have so far
function fadeOut(e:MouseEvent):void {}
instrument.Alpha-=. 1;
}
If (instrument.alpha <. 1) {}
instrument.Alpha =.1
} else {}
instrument.Alpha-=. 1;
}
Oops, that should be:
function fadeOut(e:MouseEvent):void {}
instrument.Alpha = Math.max(.1,instrument.alpha-.1);
}
-
problem with the help of the conditional formatting on a cell that is defined as the percentage
Hi all
I am facing a problem with the help of the conditional formatting on a cell that is defined as the percentage.
I am using beaches for example:
is equal to or greater than 10% - green color
5%-10%-yellow
less than or equal to 5%-color red
the problem is that keeps the value 10% get yellow color when it should get green.
i thought that is a rounding issue but when I change the definitions of the cell to learn more decimal places I see this part of the percentage 9.65% and some of them are 10.00% and they are both colored in yellow.
I also tried to change the way range of 6 to 9%, but values between 9.65% or 5.5% are not colored.
I really enjoy your help!
You know the reason and the solution.
change the format of the column and go or add a column more with decimal and opt for conditional and hide report.
Thank you
-
How to order a tree balanced with SQL hierarchical queries
by searching the forum I found this
is there a way I can order this tree in alphabetical order so that the result looks like
LEVEL INDENTED_ENAME
---------- --------------------
1 KING BED
2 BLAKE
3 ALLEN
3 JAMES
MARTIN 3
3 TURNER
WARD 3
2 CLARK
3 MILLER
2 JONES
3 FORD
4 SMITH
3 SCOTT
4 ADAMS
-the original query-
SELECT THE LEVEL
, LPAD (' ', 3 * LEVEL) | Ename AS indented_ename
FROM scott.emp
START WITH mgr IS NULL
CONNECT BY PRIOR empno = mgr
;
LEVEL INDENTED_ENAME
---------- --------------------
1 KING BED
2 JONES
3 SCOTT
4 ADAMS
3 FORD
4 SMITH
2 BLAKE
3 ALLEN
WARD 3
MARTIN 3
3 TURNER
3 JAMES
2 CLARK
3 MILLERHello
Bodin wrote:
Hi Frank, I can order it selectively depending on the level, which means that only siblings stopped at third level, but rest of the brothers and sisters remain Nations United orderedIt's actually quite difficult. You can "ORDER of brothers and SŒURS BY CASE... ', like this:
SELECT LEVEL , LPAD (' ', 3 * LEVEL) || ename AS indented_ename FROM scott.emp START WITH mgr IS NULL CONNECT BY mgr = PRIOR empno ORDER SIBLINGS BY CASE WHEN job = 'MANAGER' THEN ename ELSE NULL END ;
In this case to get desired results in table scott.emp, as the lines are LEVEL = 2 if and only if use = "MANAGER".
But if you reference LEVEL in the CASE expression (for example, if you replace ' job = 'MANAGER' ' with "2 LEVEL =" above "), then you will get the error" ORA-00976: LEVEL, PRIOR or ROWNUM not allowed here. "
The best way I can think to do exactly what you asked is to do 2 CONNECT BY queries; one just to get the LEVEL and the other for the brothers and SŒURS ORDER BY:
{code}
WITH got_lvl AS
(
SELECT LEVEL AS lvl
Bishop
empno
ename
FROM scott.emp
START WITH mgr IS NULL
CONNECT BY PRIOR empno = mgr
)
SELECT lvl
, LPAD (' ', 3 * LEVEL) | Ename AS indented_ename
OF got_lvl
START WITH mgr IS NULL
CONNECT BY PRIOR empno = mgr
BROTHERS AND SŒURS OF ORDER OF CASES
ONCE lvl = 2 THEN ename
ANOTHER NULL
END
;
{code}
Why you can't simply "Brothers and SŒURS of ORDER BY ename" at all levels? If all you care is the order of the items of LEVEL = 2, then this is probably the most effective and simplest way. It really hurt anything if nodes on levels 3, 4, 5,... are in order, too?Here's something you can do if you want to order by different unique things to different levels:
{code}
WITH got_sort_key AS
(
SELECT LEVEL AS lvl
, LPAD (' ', 3 * LEVEL) | Ename AS indented_ename
empno
SYS_CONNECT_BY_PATH (LPAD (CASE
WHEN LEVEL = 2
THEN ename
Of OTHER TO_CHAR (empno)
END
10
)
, ','
) AS sort_key
FROM scott.emp
START WITH mgr IS NULL
CONNECT BY PRIOR empno = mgr
)
SELECT lvl
indented_ename
empno
OF got_sort_key
ORDER BY sort_key
;
{code}
However, all possible values of the CASE expression must uniquely identify the node; otherwise, the output won't necessarily hierarchical order. You can assign arbitrary unique IDS to the lines (using the ROW_NUMBER analytic function, for example), but that requires another subquery and is also complex and perhaps as ineffective as the solution above with 2 garages CONNECT. -
Problem with the conditional tags in printed output
I write help files for different versions of our software - version 4 and 5 using Robohelp for HTML 5.0.2
There is a large overlap of information between the two, so I use a help file joint with marked topics that are specific to version 4 or version 5.
I went out and then use with 'NOT v4' or "NOT v5" as the conditional tags.
It works fine in the HTML output. However, I encountered problems with the printed output.
Ideally, I want the help file using the option "generate the single document" because it means that the document produced, without the single output field. However, when I do, the tags conditional build fail and I get a piecemeal result.
If I generate the document by using the option 'generate individual documents' tags conditional build work, but I get the only field I want to avoid.
Does anyone know how to get the conditional tags to work when the option "generate the single document" is selected?Pierre and HKabaker - thanks for your comments.
I think I have the answer now.
In the properties for the SSL Print dialog, the third screen is the dialogue of section layout. I had removed some sections in the right pane (for example, the default title page, glossary, and index) because I did not want them to appear in the final printed output. It seems that without these sections present conditional compilation tags do not work correctly when the document is released by using the option 'generate a single document ".
I started again with a "blank" printing of SSL version. Conditional constructions using the "generate a single document" appear to work fine when I leave the dialog layout intact section.
I can even do the conditional tags build an injustice because the option "generate a single document" (after that I made the changes in the dialog layout section) seems to be that some of the chapters in the table of contents and omitting others.
-
begin to identify problems with my computer
I did upgrade from Vista Home Premium to w7 Home Premium errors. Also I do not receive e-mail after Outlook Update
Hi Grandma,
Thanks for posting in the Microsoft community
From your problem description, I understand that you are not able to get any mail after updating outlook. Please let me know if you do not experience this problem.
1. who is your provider of mail service?
2 are you using outlook to send and receive emails?
3. What is the Ko of the installed update?
4. What is the accurate and complete error message you get?
5. do you have other problems with the computer other than the sending and receiving of emails?The information is not sufficient to answer your question. Please provide us with more information to answer your question better.
-
Problem with hierarchical query in function PL\SQL
I have a simple table containing the ID of the parent
-Create table
create the table1 table:
(
ID NUMBER (12) not null,
year number 4.
month NUMBER (2),
parent_id NUMBER (12)
);
-Create/recreate primary, unique and foreign key constraints
change the table1 table:
Add primary key constraint PK_TABLE1 (ID);
change the table1 table:
Add the foreign key constraint FK_TABLE1_PARENT (PARENT_ID)
reference TABLE1 (ID);
data:
Insert into TABLE1 (id, year, month, parent_id)
values (5, 2015, 12, 3);
Insert into TABLE1 (id, year, month, parent_id)
values (6 (2015), 12, 4);
Insert into TABLE1 (id, year, month, parent_id)
values (3 (2015), 11, 1);
Insert into TABLE1 (id, year, month, parent_id)
values (4 (2015), 11, 2);
Insert into TABLE1 (id, year, month, parent_id)
values (1, 2015, 10, null);
Insert into TABLE1 (id, year, month, parent_id)
values (2 (2015), 10, null);
commit;
and query
with h as
(select t.id, t.year, t.month, CONNECT_BY_ROOT t.id as parent_id from table1 t
where t.year = 2015 and t.month = 12
and CONNECT_BY_ROOT t.year = 2015 and CONNECT_BY_ROOT t.month = 10
connect by prior t.id = t.parent_id)
Select * from:
Join table1 t left t.id = h.parent_id;
It works, but when I put this request in the procedure pl\sql
create or replace procedure is get_report (p_cur_out on sys_refcursor)
Start
Open the p_cur_out for
with h as
(select t.id, t.year, t.month, CONNECT_BY_ROOT t.id as parent_id from table1 t
where t.year = 2015 and t.month = 12
and CONNECT_BY_ROOT t.year = 2015 and CONNECT_BY_ROOT t.month = 10
connect by prior t.id = t.parent_id)
Select * from:
Join table1 t left t.id = h.parent_id;
end get_report;
/
They do not compile. And in the fall, with the exception
Errors of compilation for the PC of the PROCEDURE. GET_REPORT
[Error: PL/SQL: ORA-00600: internal error code, arguments: [qctcte1], [0], [], [], [], [], [], [], [], [], []]
Online: 6
Text: with h as
Error: PL/SQL: statement ignored
Online: 6
Text: with h as
My version of oracle
1 Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production 2 PL/SQL Release 11.2.0.3.0 - Production 3 CORE Production 11.2.0.3.0 4 AMT for Linux: Version 11.2.0.3.0 - Production 5 NLSRTL Version 11.2.0.3.0 - Production What is the problem with my request? Or database? How to solve this problem?
If you have access to MOS, you can search the reason of it. If you are using left join syntax instead of joining ANSI, owner Oracle procedure compiles and returns the result.
-
I have problems to connect to my Oracle database. I don't know what was the cause, but now when I connect to a database that has been working well for the past two years, I usually get an ORA-12541 error.
I run lsnrctl status on the server and get a prinout like this:
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dqaswn02) (PORT = 1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Windows 64-bit error: 61: unknown error
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Windows 64-bit error: 2: no such file or directoryI also tried to manually stop the service through services.msc, then by restarting via lsnrctl start, but when I do this I get a very long delay (10 + minutes) before he comes back with something like:
TNS-01153: failed to process the string: 0i ≈ ♥
I'm quite lost as to what is wrong. I've been messing around with listener.ora, but I don't see anything difficult in there. Here's a copy:
listener.ora # Network Configuration file: E:\app\myc0714\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\myc0714\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\myc0714\product\11.2.0\dbhome_1\BIN\OraClr11.dll")
)
)LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dqaswn02) (PORT = 1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)# ADR_BASE_LISTENER = E:\app\myc0714
LOG_FILE_LISTENER = LISTEN PORT
TRACE_LEVEL_LISTENER = SUPPORT
TRACE_FILE_LISTENER = LISTEN PORTA few times during that time, I was able to connect to the server, via sqlplus, however, it took 10 minutes before the connection is online. Once I'm connected, I can ask my paintings as expected, but I need an application to connect.
If anyone has any ideas on what could be the problem, please let me know.
In fact, there was another thing, I changed when I finally got it works, although I don't know if it was related or not. In my folder with my track logs, I had a huge (> 4 GB) listener.log file. I deleted this file right before that I ran the command netsh command to reset and then restarted. This file was also a bit special, because it had not been updated since around the time that I first encountered this problem. It seems to be updated on a minute by minute basis, now that I've removed the old. Is there a problem with this file becomes too big? My drive was not out of space, but it is very curious that this stopped file update on the same day as when I started having the problem and now works properly again. I wish I had noted the exact time until I deleted it.
Link:
Problem of Listener.log & #8211; large file | Obtained & #039; s Blog
-
Problems with DBMS_XMLGEN.getXML add features
Hello
I use DBMS_XMLGEN on 11 GR 2.
The documentation Pages of PL/SQL and Types Reference 11 GR 2 (July 2013) reads as follows:
GETXML functions
This function returns the XML document. The function is overloaded.
Syntax
Gets the XML document from the maximum number of rows specified. It
adds the XML in the CLOB passed Use this version of GETXML
To avoid extra CLOB copies and reuse the same CLOB for subsequent functions
calls. Due to the CLOB reuse, this GETXML Functionscall is potentially more
effective:
DBMS_XMLGEN. GETXML)
CTX IN ctxHandle,
tmpclob IN OUT NCOPY CLOB,
dtdOrSchema in numbers: = NONE)
RETURN A BOOLEAN VALUE;
11 GR 2 Guide (February 2014) developer Oracle DB XML stipulates the following:
Parameters getXML (ctx IN ctxHandle,
clobval IN OUT NCOPY clob,
dtdOrSchema in numbers: = NONE);
CTX -The context handle from call
newContext.
clobval (IN/OUT) - the CLOB to which the XML document is
being attached,
dtdOrSchema -If you need to generate the DTD or
Schema. This parameter is NOT supported.
Use this version of the function getXML, in order to avoid any supplement
CLOB copies and if you want to reuse the same CLOB for
subsequent calls. This getXML call is more effective than the other
flavor, even if it means that you create the LOB reference.
When you generate the XML, the number of lines specified by the
setSkipRows call are ignored, then the maximum number of
ranks as specified by the setMaxRows call (or all if
not specified) is read and converted into XML. Use of the
getNumRowsProce
I'm bringing 2 parts of XML document. I use 2 hierarchical queries. One to generate hierarchical header of a table and another information to generate information of hierarchical detail to a separate table. My code is generally as follows:
DECLARE
hdrctx DBMS_XMLGEN.ctxHandle;
detailctx DBMS_XMLGEN.ctxHandle;
hdrdoc CLOB.
BOOLEAN success;
hdrqry VARCHAR2 (2000): = ' SELECT LEVEL, XMLELEMENT (EVALNAME HTAGNAME, HTAGVAL) OF HDRTABLE
CONNECT HSUBSEQ = PRIOR HGRPSEQ';
--
detailqry VARCHAR2 (2000): = ' SELECT LEVEL, XMLELEMENT (EVALNAME DTAGNAME, DTAGVAL) OF DETAILTABLE
CONNECT DSUBSEQ = PRIOR DGRPSEQ';
BEGIN
hdrctx: = DBMS_XMLGEN.newContextFromHierarchy (hdrqry);
detailctx: = DBMS_XMLGEN.newContextFromHierarchy (detailqry);
DBMS_LOB.CREATETEMPORARY (hdrdoc, true);
DBMS_XMLGEN. GetXml (hdrctx, hdrdoc);
-dbms_output.put_line (hdrdoc);
DBMS_XMLGEN. GetXml (detailctx, hdrdoc);
DBMS_XMLGEN.closeContext (hdrctx);
DBMS_XMLGEN.closeContext (detailctx);
dbms_output.put_line (hdrdoc);
DBMS_LOB. FREETEMPORARY (hdrdoc);
END;
I also tried the next iteration:
BEGIN
hdrctx: = DBMS_XMLGEN.newContextFromHierarchy (hdrqry);
detailctx: = DBMS_XMLGEN.newContextFromHierarchy (detailqry);
DBMS_LOB.CREATETEMPORARY (hdrdoc, true);
hdrdoc: = DBMS_XMLGEN.getXML (hdrctx);
-dbms_output.put_line (hdrdoc);
DBMS_XMLGEN. GetXml (detailctx, hdrdoc);
DBMS_XMLGEN.closeContext (hdrctx);
DBMS_XMLGEN.closeContext (detailctx);
dbms_output.put_line (hdrdoc);
DBMS_LOB. FREETEMPORARY (hdrdoc);
END;
The two sources of documentation indicates that version 3 of overload of getXML parameter adds the CLOB parameter that is passed and yet I am not able to get the details to add to the header. If I Uncomment the first put_line I get a document of xml output containing the header as expected information. However, the second put_line outputs of an xml document that contains only the detail information and none of the header information. It is not adding as stated in the documentation, but substitute instead. Any ideas what is happening here and how I can get the feature of adding such as specified in the documentation?
An additional but trivial problem is the difference in the documentation. Documentation packages and types indicates that 3 parameter getXML overload returns a BOOLEAN value. DB XML Dev Guide does not indicate this. When I use this, the call works as a process and not a function, but I'm failed in the 3rd parameter, which must by default to NONE. I want to just make sure that using the 2 explicit and implicit parameters 1 is not ending up with me call the wrong version.
Thanks in advance for any help you can give me on this point,
Paul
Because that the additional XML prologue is a specific, defined in section it is easy to remove.
The best way to get something is to not generate it.
This is the meeting of the 2 segments arbitrarily dimensions and structured it's much more embarrassing for me.
What you mean?
I'll look into the possibility of restructuring in those non-hierarchical hierarchical queries as a work-around.
Don't bother it.
Simply add two structures manually instead of using a 'function' who obviously don't get you any advantage.
for example
DECLARE
hdrctx DBMS_XMLGEN.ctxHandle;
detailctx DBMS_XMLGEN.ctxHandle;
doc CLOB.
hdrqry VARCHAR2 (2000): = ' SELECT LEVEL, XMLELEMENT ("emp", xmlattributes (empno as "id")) FROM scott.emp
CONNECT BY prior empno = mgr
Start with mgr is null';
detailqry VARCHAR2 (2000): = ' SELECT LEVEL, XMLELEMENT ("emp2", xmlattributes (empno as "id")) FROM scott.emp
CONNECT BY prior empno = mgr
Start with mgr is null';
BEGIN
hdrctx: = dbms_xmlgen.newContextFromHierarchy (hdrqry);
detailctx: = dbms_xmlgen.newContextFromHierarchy (detailqry);
DBMS_LOB.CREATETEMPORARY (doc, true);
Select xmlserialize (document
XmlElement ("root"
dbms_xmlgen.getxmltype (hdrctx)
dbms_xmlgen.getxmltype (detailctx)
)
as clob dash
)
in the doc
Double;
dbms_xmlgen.closeContext (hdrctx);
dbms_xmlgen.closeContext (detailctx);
dbms_output.put_line (doc);
DBMS_LOB.freeTemporary (doc);
END;
/
output:
-
Hello
I wrote an application that allows the user to filter the data displayed based on several parameters, for example one of the parameters (b) is hierarchical, each element (with the exception of the root element) has a father and several sons, the hierarchy is managed by a specific table (LINKS), I need when the user selects b the result will include also all his descendants.
This is the query:
SELECT *.
R
JOIN IN-HOUSE RT ON R.A = RT. A
WHERE (R.B IN (select sub_id
the beginning of LINKS with father_id =: id
Connect prior sub_id = father_id)
or R.B =: id or: id = 0)
AND (R.A =: GOLD: a = 0)
ORDER OF R.B, R.A
The problem is that the query is so slow, it allows the application of stuck, when I've omitted the line: ' or R.B =: id or: id = 0 ' he not stuck but this line is necessary because the user may also fill the filter field or try to filter b himself and not his descendants.
Is it possible to improve the performance of this query or write it better?You can move the logic on r.b in the subquery.
There is a small chance that it could accelerate the entire query.
not testedSELECT * FROM R JOIN RT ON R.A = RT.A WHERE R.B IN (select sub_id from LINKS start with father_id = :id connect by prior sub_id= father_id UNION ALL select :id sub_id from dual UNION ALL select sub_id from LINKS where :id = 0 ) AND (R.A=:a or :a=0) ORDER BY R.B, R.A
Also see the ecexution use it and explain how to call the select statement.
A goal of optimization often used is wo writing several queries and call the right according to the parameters.
Different queries may be optimized independently of each other and hence faster query where everything is condensed into one big.pls/sql example
if :a=0 and :b=0 then SELECT * into... FROM R JOIN RT ON R.A = RT.A ORDER BY R.B, R.A; elsif :b=0 then SELECT * into... FROM R JOIN RT ON R.A = RT.A where R.A=:a ORDER BY R.B, R.A; elsif :a=0 then SELECT * into... FROM R JOIN RT ON R.A = RT.A WHERE R.B IN (select sub_id from LINKS start with father_id = :id connect by prior sub_id= father_id UNION ALL select :id sub_id from dual) ORDER BY R.B, R.A; else /* both parameters are selected */ SELECT * into... FROM R JOIN RT ON R.A = RT.A WHERE R.B IN (select sub_id from LINKS start with father_id = :id connect by prior sub_id= father_id UNION ALL select :id sub_id from dual) and R.A=:a ORDER BY R.B, R.A; end;
-
What is the problem with my Mini?
DWB (level 7) asked me to start a new thread, so this is. the predecessor of the long and interesting is to
Re: Mac Mini Late 2014 vs SSD Ram
Yes, dwb, I downloaded EtreCheck and run twice, choosing the first "slow computer', then 'Applications crashing' the second time.
In this post, I will paste the results. Note that I clicked and clicked check boxes in the space of options for all non-hidden results. This, apparently, makes the longer and more complex answer, but as I said in the other post, I tried to improve my Mini for years, so I didn't want to leave anything to chance.
I'll stick the newspaper 'Applications Crash' in the next post, if it is not apocalyptic long...
EtreCheck version: 2.9.9 (260)
Report generated 2016-03-08 13:28:41
Download EtreCheck from https://etrecheck.com
Time 02:56
Performance: Excellent
Click the [Support] links to help with non-Apple products.
Click [details] for more information on this line.
Verify the signatures of Apple: enabled
Ignore the known failures of Apple: disabled
Hide tasks Apple: disabled
Problem: Computer is too slow
Description:
Long description to https://discussions.apple.com/message/29891737?ac_cid=tw123456#29891737
Mac mini (late 2012)
[Data sheet] - [User Guide] - [warranty & Service]
Mini Mac - model: Macmini6, 1
1 2.5 GHz Intel Core i5 CPU: 2 strands
16 GB expandable RAM - [Instructions]
BANK 0/DIMM0
OK 8 GB DDR3 1600 MHz
BANK 1/DIMM0
OK 8 GB DDR3 1600 MHz
Bluetooth: Good - transfer/Airdrop2 taken in charge
Wireless: unknown
Graphics Intel HD 4000
S20D300 1280 x 720
OS X El Capitan 10.11.3 (15 d 21) - since the starting time: 3 hours
HTS545050A7E362 disk HARD APPLE disk0: (500,11 GB) (rotation)
EFI (disk0s1) < not mounted >: 210 MB
Korak (disk0s2) /: 499,25 (Go 133,11 free)
Recovery HD (disk0s3) < not mounted > [recovery]: 650 MB
Receiver IR of Apple, Inc..
Apple Inc. BRCM20702 hub.
Apple Inc. Bluetooth USB host controller.
Hub keyboard Apple, Inc.
Apple, Inc. Apple Keyboard
HGST G-DRIVE mobile USB 1 TB
EFI (disk1s1) < not mounted >: 210 MB
Rama1 (disk1s2) / Volumes/Rama1: go-go 333,40 (61,07) free
Rama3 (disk1s3) / Volumes/Rama3: 333,40 go-go (218,39 free)
Rama2 (disk1s4) / Volumes/Rama2: 332,79 GB (8.33 GB free)
HOLTEK USB keyboard
Apple Inc. Thunderbolt_bus.
Mac App Store and identified developers
/ Library/Extensions
[loading] com.symantec.internetSecurity.kext (7.0.2f26 - SDK 10.9-2016-02-28) [Support]
/ Library/StartupItems/DoubleCommand
com.baltaks.driver.DoubleCommand [no charge] (1.7 - SDK 10.8 - 2015-01-09) [Support]
/ System/Library/Extensions
[loading] com.symantec.ips.kext (7.0.1f26 - SDK 10.8 - 2016-02-28) [Support]
[loading] com.symantec.nfm.kext (7.0.1f26 - SDK 10.8 - 2016-02-28) [Support]
[no charge] com.wdc.driver.1394.64.10.9 (1.0.1 - SDK 10.9-2016-02-28) [Support]
[no charge] com.wdc.driver.USB.64.10.9 (1.0.1 - SDK 10.9-2016-02-28) [Support]
DoubleCommand: Path: / Library/StartupItems/DoubleCommand
Startup items are obsolete in OS X Yosemite
com.apple.AOSHeartbeat.plist [loading]
com.apple.AOSPushRelay.plist [loading]
com.apple.AddressBook.AssistantService.plist [loading]
com.apple.AddressBook.SourceSync.plist [loading]
com.apple.AddressBook.abd.plist [loading]
[ongoing] com.apple.AirPlayUIAgent.plist
com.apple.AirPortBaseStationAgent.plist [loading]
com.apple.AppleGraphicsWarning.plist [no charge]
com.apple.AskPermissionUI.plist [loading]
com.apple.AssetCacheLocatorService.plist [loading]
com.apple.AssistiveControl.plist [loading]
[ongoing] com.apple.BezelUI.plist
[ongoing] com.apple.CalendarAgent.plist
[ongoing] com.apple.CallHistoryPluginHelper.plist
[ongoing] com.apple.CallHistorySyncHelper.plist
com.apple.CommCenter-[ongoing] osx.plist
com.apple.ContainerRepairAgent.plist [loading]
com.apple.CoreAuthentication.daemon.plist [loading]
com.apple.CoreLocationAgent.plist [loading]
com.apple.CoreRAIDAgent.plist [loading]
com.apple.DiagnosticReportCleanup.plist [loading]
com.apple.DictationIM.plist [loading]
com.apple.DiskArbitrationAgent.plist [loading]
[ongoing] com.apple.Dock.plist
com.apple.EscrowSecurityAlert.plist [loading]
com.apple.FTCleanup.plist [loading]
com.apple.FileStatsAgent.plist [no charge]
com.apple.FileSyncAgent.PHD.plist [loading]
com.apple.FilesystemUI.plist [loading]
[ongoing] com.apple.Finder.plist
[ongoing] com.apple.FolderActionsDispatcher.plist
com.apple.FollowUpUI.plist [loading]
com.apple.FontRegistryUIAgent.plist [loading]
com.apple.FontValidator.plist [loading]
com.apple.FontValidatorConduit.plist [loading]
com.apple.FontWorker.plist [loading]
com.apple.IMLoggingAgent.plist [loading]
[loading] com.apple.MRTa.plist (2015-08-22) -invalid signature!
com.apple.ManagedClientAgent.agent.plist [loading]
com.apple.ManagedClientAgent.enrollagent.plist [no charge]
[ongoing] com.apple.Maps.pushdaemon.plist
com.apple.NetworkDiagnostics.plist [loading]
com.apple.PCIESlotCheck.plist [loading]
com.apple.PackageKit.InstallStatus.plist [loading]
com.apple.PhotoLibraryMigrationUtility.XPC.plist [loading]
com.apple.PubSub.Agent.plist [loading]
[ongoing] com.apple.RemoteDesktop.plist
com.apple.ReportCrash.Self.plist [loading]
com.apple.ReportCrash.plist [loading]
com.apple.ReportGPURestart.plist [no charge]
com.apple.ReportPanic.plist [loading]
com.apple.SSInvitationAgent.plist [loading]
[ongoing] com.apple.Safari.SafeBrowsing.Service.plist
[ongoing] com.apple.SafariCloudHistoryPushAgent.plist
com.apple.SafariNotificationAgent.plist [loading]
com.apple.SafariPlugInUpdateNotifier.plist [loading]
com.apple.ScreenReaderUIServer.plist [loading]
[ongoing] com.apple.SocialPushAgent.plist
[ongoing] com.apple.Spotlight.plist
[ongoing] com.apple.SystemUIServer.plist
com.apple.TMHelperAgent.SetupOffer.plist [loading]
com.apple.TMHelperAgent.plist [loading]
com.apple.TrustEvaluationAgent.plist [loading]
com.apple.USBAgent.plist [loading]
com.apple.UserEventAgent-[ongoing] Aqua.plist
[no charge] com.apple.UserEventAgent - LoginWindow.plist
[no charge] com.apple.UserNotificationCenterAgent - LoginWindow.plist
com.apple.UserNotificationCenterAgent.plist [loading]
[ongoing] com.apple.VoiceOver.plist
com.apple.WebKit.PluginAgent.plist [loading]
com.apple.ZoomWindow.plist [loading]
[ongoing] com.Apple.accountsd.plist
com.Apple.AKD.plist [loading]
com.Apple.Alf.UserAgent.plist [loading]
com.Apple.AOS.migrate.plist [loading]
com.Apple.appleseed.seedusaged.plist [loading]
com.Apple.appsleepd.plist [loading]
com.Apple.appstoreupdateagent.plist [loading]
com.Apple.apsctl.plist [loading]
[ongoing] com.Apple.askpermissiond.plist
com.Apple.assistant_service.plist [loading]
com.Apple.assistantd.plist [loading]
[ongoing] com.Apple.bird.plist
com.apple.bluetoothUIServer.plist [loading]
com.Apple.BTSA.plist [loading]
com.Apple.CDPD.plist [loading]
com.apple.cfnetwork.AuthBrokerAgent.plist [loading]
com.Apple.cfnetwork.cfnetworkagent.plist [loading]
[ongoing] com.Apple.cfprefsd.XPC.agent.plist
[ongoing] com.Apple.cloudd.plist
[loading] com.apple.cloudfamilyrestrictionsd - mac.plist
[ongoing] com.Apple.cloudpaird.plist
[ongoing] com.Apple.cloudphotosd.plist
com.Apple.cmfsyncagent.plist [loading]
com.Apple.CoreData.externalrecordswriter.plist [loading]
[ongoing] com.Apple.CoreServices.appleid.authentication.plist
[ongoing] com.Apple.CoreServices.lsactivity.plist
[ongoing] com.Apple.CoreServices.sharedfilelistd.plist
[ongoing] com.Apple.CoreServices.uiagent.plist
com.Apple.csuseragent.plist [loading]
[ongoing] com.Apple.ctkd.plist
com.apple.cvmsCompAgent3600_i386.plist [loading]
com.apple.cvmsCompAgent3600_i386_1.plist [loading]
com.apple.cvmsCompAgent3600_x86_64.plist [loading]
com.apple.cvmsCompAgent3600_x86_64_1.plist [loading]
com.apple.cvmsCompAgentLegacy_i386.plist [loading]
com.apple.cvmsCompAgentLegacy_i386_1.plist [loading]
com.apple.cvmsCompAgentLegacy_x86_64.plist [loading]
com.apple.cvmsCompAgentLegacy_x86_64_1.plist [loading]
com.apple.cvmsCompAgent_i386.plist [loading]
com.apple.cvmsCompAgent_i386_1.plist [loading]
com.apple.cvmsCompAgent_x86_64.plist [loading]
com.apple.cvmsCompAgent_x86_64_1.plist [loading]
[ongoing] com.Apple.diagnostics_agent.plist
[ongoing] com.Apple.distnoted.XPC.agent.plist
com.apple.dt.CommandLineTools.installondemand.plist [loading]
com.Apple.familycircled.plist [loading]
com.Apple.familycontrols.UserAgent.plist [loading]
com.Apple.familynotificationd.plist [loading]
com.Apple.findmymacmessenger.plist [loading]
com.Apple.followupd.plist [loading]
com.Apple.fontd.UserAgent.plist [loading]
[ongoing] com.Apple.gamed.plist
[ongoing] com.Apple.helpd.plist
com.apple.iCloudUserNotifications.plist [loading]
[ongoing] com.Apple.ICDD.plist
[loading] com.apple.icloud.findmydeviced.findmydevice - user - agent.plist
[ongoing] com.Apple.icloud.fmfd.plist
[ongoing] com.Apple.iconservices.iconservicesagent.plist
[ongoing] com.Apple.identityservicesd.plist
com.Apple.idsremoteurlconnectionagent.plist [loading]
[ongoing] com.Apple.imagent.plist
com.Apple.imavagent.plist [loading]
com.Apple.imklaunchagent.plist [loading]
com.Apple.imtransferagent.plist [loading]
com.Apple.installandsetup.migrationhelper.user.plist [loading]
com.Apple.installd.user.plist [loading]
com.Apple.ISST.plist [loading]
com.apple.java.InstallOnDemand.plist [loading]
com.apple.java.updateSharing.plist [loading]
[ongoing] com.Apple.lateragent.plist
com.Apple.locationmenu.plist [loading]
[ongoing] com.Apple.LSD.plist
[ongoing] com.Apple.maspushagent.plist
com.Apple.mbbackgrounduseragent.plist [loading]
com.Apple.mbfloagent.plist [loading]
com.Apple.mbuseragent.plist [loading]
com.Apple.mdmclient.agent.plist [loading]
com.Apple.mdworker.32bit.plist [loading]
com.Apple.mdworker.bundles.plist [loading]
com.Apple.mdworker.isolation.plist [loading]
com.Apple.mdworker.LSB.plist [loading]
com.Apple.mdworker.mail.plist [loading]
com.Apple.mdworker.shared.plist [loading]
com.Apple.mdworker.single.plist [loading]
[ongoing] com.Apple.mdworker.sizing.plist
[ongoing] com.apple.metadata.SpotlightNetHelper.plist
com.Apple.metadata.mdbulkimport.plist [loading]
[ongoing] com.Apple.metadata.mdflagwriter.plist
com.Apple.metadata.mdwrite.plist [loading]
com.Apple.midiserver.plist [loading]
com.Apple.navd.plist [loading]
com.Apple.neagent.plist [loading]
com.Apple.netauth.user.auth.plist [loading]
com.Apple.netauth.user.GUI.plist [loading]
com.Apple.noticeboard.agent.plist [loading]
[ongoing] com.Apple.notificationcenterui.plist
[ongoing] com.Apple.nsurlsessiond.plist
com.Apple.nsurlstoraged.plist [loading]
com.Apple.parentalcontrols.check.plist [loading]
[ongoing] com.Apple.pboard.plist
[ongoing] com.Apple.PBS.plist
[ongoing] com.Apple.photolibraryd.plist
com.Apple.pictd.plist [loading]
[ongoing] com.Apple.pluginkit.PKD.plist
com.Apple.pluginkit.pkreporter.plist [loading]
com.Apple.powerchime.plist [loading]
[ongoing] com.Apple.printtool.agent.plist
com.Apple.printuitool.agent.plist [loading]
com.Apple.QuickLook.32bit.plist [loading]
com.Apple.QuickLook.config.plist [loading]
com.Apple.QuickLook.plist [loading]
com.Apple.QuickLook.UI.helper.plist [loading]
com.Apple.RCD.plist [loading]
[ongoing] com.Apple.recentsd.plist
[ongoing] com.Apple.reversetemplated.plist
com.Apple.rtcreportingd.plist [loading]
com.Apple.safaridavclient.plist [loading]
[ongoing] com.Apple.scopedbookmarkagent.XPC.plist
com.apple.screensharing.MessagesAgent.plist [loading]
com.Apple.screensharing.agent.plist [loading]
com.Apple.SCROD.plist [loading]
[ongoing] com.Apple.secd.plist
[ongoing] com.Apple.secinitd.plist
com.apple.security.DiskUnmountWatcher.plist [loading]
com.Apple.Security.agent.plist [loading]
[ongoing] com.Apple.Security.cloudkeychainproxy.plist
com.Apple.Security.idskeychainsyncingproxy.plist [loading]
[operation] com.apple.security.keychain - circle - notification.plist
[ongoing] com.Apple.sharingd.plist
[ongoing] com.Apple.soagent.plist
com.Apple.softwareupdate_notify_agent.plist [loading]
com.Apple.speech.speechdatainstallerd.plist [loading]
com.Apple.speech.speechsynthesisd.plist [loading]
[ongoing] com.Apple.speech.synthesisserver.plist
[ongoing] com.Apple.spindump_agent.plist
[ongoing] com.apple.spotlight.IndexAgent.plist
[ongoing] com.Apple.storeaccountd.plist
[ongoing] com.Apple.storeassetd.plist
[ongoing] com.Apple.storedownloadd.plist
com.Apple.storeinappd.plist [loading]
[ongoing] com.Apple.storelegacy.plist
com.Apple.storeuid.plist [loading]
[ongoing] com.Apple.suggestd.plist
[ongoing] com.Apple.swcd.plist
[ongoing] com.Apple.syncdefaultsd.plist
com.apple.syncservices.SyncServer.plist [loading]
com.Apple.syncservices.uihandler.plist [loading]
com.Apple.systemprofiler.plist [loading]
com.Apple.talagent.plist [loading]
[ongoing] com.Apple.tccd.plist
[ongoing] com.Apple.telephonyutilities.callservicesd.plist
com.Apple.thermaltrap.plist [loading]
[ongoing] com.Apple.tiswitcher.plist
com.Apple.trustd.agent.plist [loading]
com.apple.universalaccessAuthWarn.plist [loading]
com.Apple.universalaccesscontrol.plist [loading]
[ongoing] com.Apple.universalaccessd.plist
com.Apple.unmountassistant.UserAgent.plist [loading]
[ongoing] com.Apple.usernoted.plist
com.Apple.warmd_agent.plist [loading]
com.Apple.webinspectord.plist [loading]
[ongoing] com.apple.wifi.WiFiAgent.plist
com.Apple.XPC.loginitemregisterd.plist [loading]
com.Apple.XPC.otherbsd.plist [loading]
[loading] org.openbsd.ssh - agent.plist
bootps.plist [no charge]
[ongoing] com.apple.AirPlayXPCHelper.plist
com.apple.AppleFileServer.plist [loading]
com.apple.AssetCacheLocatorService.plist [loading]
com.apple.CommCenterRootHelper.plist [loading]
com.apple.CoreRAID.plist [loading]
[ongoing] com.apple.CrashReporterSupportHelper.plist
com.apple.DesktopServicesHelper.plist [loading]
com.apple.DumpGPURestart.plist [loading]
com.apple.DumpPanic.plist [loading]
[ongoing] com.apple.FileCoordination.plist
com.apple.FileSyncAgent.sshd.plist [no charge] (2015-08-22) -no signature!
com.apple.FontWorker.plist [loading]
com.apple.GSSCred.plist [loading]
com.apple.GameController.gamecontrollerd.plist [loading]
com.apple.IFCStart.plist [loading]
com.apple.IOAccelMemoryInfoCollector.plist [loading]
com.apple.IOBluetoothUSBDFU.plist [loading]
[loading] com.apple.Kerberos.digest - service.plist
com.apple.Kerberos.kadmind.plist [loading]
com.apple.Kerberos.kcm.plist [loading]
[ongoing] com.apple.Kerberos.kdc.plist
com.apple.Kerberos.kpasswdd.plist [loading]
[ongoing] com.apple.KernelEventAgent.plist
[loading] com.apple.MRTd.plist (2015-08-22) -invalid signature!
com.apple.ManagedClient.cloudconfigurationd.plist [loading]
com.apple.ManagedClient.enroll.plist [loading]
com.apple.ManagedClient.plist [loading]
com.apple.ManagedClient.startup.plist [no charge]
[ongoing] com.apple.MobileFileIntegrity.plist
com.apple.NetBootClientStatus.plist [no charge]
com.apple.NetworkDiagnostics.plist [loading]
com.apple.NetworkLinkConditioner.plist [loading]
com.apple.NetworkSharing.plist [loading]
[ongoing] com.apple.ODSAgent.plist
com.apple.PCIELaneConfigTool.plist [loading]
com.apple.PasswordService.plist [no charge]
com.apple.RFBEventHelper.plist [loading]
com.apple.RemoteDesktop.PrivilegeProxy.plist [loading]
com.apple.ReportCrash.Root.plist [loading]
com.apple.ReportPanicService.plist [loading]
com.apple.SCHelper.plist [loading]
[ongoing] com.apple.SubmitDiagInfo.plist
[ongoing] com.apple.TMCacheDelete.plist
com.apple.TrustEvaluationAgent.system.plist [loading]
com.apple.UserEventAgent-[ongoing] System.plist
com.apple.UserNotificationCenter.plist [loading]
[ongoing] com.apple.WindowServer.plist
com.apple.WirelessRadioManagerd-[ongoing] osx.plist
com.Apple.afpfs_afpLoad.plist [loading]
com.Apple.afpfs_checkafp.plist [loading]
[loading] com.apple.airplaydiagnostics.server.mac.plist (2015-08-26) -/AppleInternal/Applications/AirPlayDiagnostics.app/Contents/Resources/AirPlayDi agnosticsServer: Executable not found!
com.Apple.airport.wps.plist [loading]
[ongoing] com.Apple.airportd.plist
com.Apple.AKD.plist [loading]
com.Apple.Alf.agent.plist [loading]
com.Apple.appleseed.fbahelperd.plist [loading]
com.Apple.applessdstatistics.plist [loading]
[ongoing] com.Apple.APSD.plist
[ongoing] com.Apple.aslmanager.plist
com.Apple.atrun.plist [no charge]
[ongoing] com.Apple.audio.coreaudiod.plist
[ongoing] com.Apple.audio.systemsoundserverd.plist
com.Apple.auditd.plist [loading]
[ongoing] com.Apple.autofsd.plist
com.Apple.automountd.plist [loading]
com.Apple.avbdeviced.plist [loading]
com.Apple.awacsd.plist [loading]
[ongoing] com.Apple.awdd.plist
com.Apple.backupd-[ongoing] auto.plist
com.Apple.backupd.plist [loading]
[ongoing] com.Apple.blued.plist
com.apple.bluetoothReporter.plist [loading]
com.Apple.bluetoothaudiod.plist [loading]
com.Apple.bnepd.plist [loading]
com.Apple.BSD.dirhelper.plist [loading]
[ongoing] com.Apple.cache_delete.plist
[ongoing] com.Apple.cfprefsd.XPC.daemon.plist
[loading] com.apple.cloudfamilyrestrictionsd - mac.plist
com.apple.cmio.AVCAssistant.plist [loading]
com.apple.cmio.AppleCameraAssistant.plist [loading]
com.apple.cmio.IIDCVideoAssistant.plist [loading]
com.apple.cmio.VDCAssistant.plist [loading]
com.apple.cmio.iOSScreenCaptureAssistant.plist [loading]
com.Apple.colorsyncd.plist [loading]
com.Apple.comsat.plist [no charge]
[ongoing] com.Apple.configd.plist
[loading] com.apple.configureLocalKDC.plist (2015-08-22) -no signature!
com.Apple.corecaptured.plist [loading]
[ongoing] com.Apple.coreduetd.OSX.plist
[ongoing] com.Apple.CoreServices.AppleEvents.plist
com.Apple.CoreServices.appleid.Passwordcheck.plist [loading]
[ongoing] com.Apple.CoreServices.launchservicesd.plist
[ongoing] com.Apple.CoreServices.sharedfilelistd.plist
[ongoing] com.Apple.coreservicesd.plist
com.Apple.corestorage.corestoraged.plist [loading]
com.Apple.corestorage.corestoragehelperd.plist [loading]
[ongoing] com.Apple.coresymbolicationd.plist
com.Apple.csrutil.report.plist [loading]
[ongoing] com.Apple.ctkd.plist
[ongoing] com.apple.cvmsServ.plist
com.Apple.diagnostic.uuidpathd.plist [loading]
[ongoing] com.Apple.diagnosticd.plist
[ongoing] com.Apple.diskarbitrationd.plist
com.Apple.diskmanagementd.plist [loading]
com.Apple.diskmanagementstartup.plist [no charge]
com.Apple.displaypolicyd.plist [loading]
[ongoing] com.Apple.distnoted.XPC.daemon.plist
com.Apple.dnsextd.plist [no charge]
com.Apple.dpaudiothru.plist [loading]
com.Apple.DPD.plist [loading]
com.Apple.dspluginhelperd.plist [loading]
com.Apple.DVDPlayback.SetRegion.plist [loading]
com.Apple.dynamic_pager.plist [loading]
com.Apple.eapolcfg_auth.plist [loading]
com.Apple.eFax.plist [no charge] (2015-08-22) -no signature!
[loading] com.apple.efilogin - helper.plist
[loading] com.apple.emlog.plist (2015-08-22) -invalid signature!
com.Apple.Emond.aslmanager.plist [loading]
com.Apple.Emond.plist [loading]
com.Apple.EPPC.plist [loading]
com.Apple.familycontrols.plist [loading]
com.Apple.findmymac.plist [loading]
com.Apple.findmymacmessenger.plist [loading]
com.Apple.firmwaresyncd.plist [no charge]
com.Apple.fontd.plist [loading]
com.Apple.fontmover.plist [loading]
[ongoing] com.Apple.fseventsd.plist
[no charge] com.apple.ftp - proxy.plist
com.Apple.Getty.plist [no charge]
[loading] com.apple.gkreport.plist (2015-09-29) -no signature!
com.Apple.GSSD.plist [loading]
com.Apple.hdiejectd.plist [loading]
[ongoing] com.Apple.hidd.plist
com.Apple.hidfud.plist [loading]
[ongoing] com.Apple.icloud.findmydeviced.plist
[ongoing] com.Apple.iconservices.iconservicesagent.plist
[ongoing] com.Apple.iconservices.iconservicesd.plist
[ongoing] com.Apple.ifdreader.plist
com.Apple.installandsetup.systemmigrationd.plist [loading]
[ongoing] com.Apple.installd.plist
com.Apple.Installer.osmessagetracing.plist [loading]
com.Apple.kcproxy.plist [loading]
com.Apple.kdumpd.plist [no charge]
[ongoing] com.Apple.kextd.plist
com.Apple.kuncd.plist [loading]
com.Apple.locate.plist [no charge] (2015-08-22) -no signature!
[ongoing] com.Apple.locationd.plist
com.Apple.lockd.plist [loading]
com.Apple.logD.plist [failure]
[ongoing] com.Apple.logind.plist
com.apple.loginwindow.LFVTracer.plist [loading]
[ongoing] com.Apple.loginwindow.plist
com.Apple.logkextloadsd.plist [loading]
[ongoing] com.Apple.LSD.plist
[ongoing] com.apple.mDNSResponder.plist
com.apple.mDNSResponderHelper.plist [loading]
com.Apple.mbsystemadministration.plist [loading]
com.Apple.mbusertrampoline.plist [loading]
com.Apple.mdmclient.daemon.plist [loading]
com.Apple.mdmclient.daemon.runatboot.plist [no charge]
[ongoing] com.Apple.metadata.MDS.index.plist
[ongoing] com.Apple.metadata.MDS.plist
com.Apple.metadata.MDS.scan.plist [loading]
com.Apple.metadata.MDS.spindump.plist [loading]
com.Apple.MSRPC.echosvc.plist [no charge]
com.Apple.MSRPC.lsarpc.plist [loading]
com.Apple.MSRPC.mdssvc.plist [loading]
com.Apple.MSRPC.Netlogon.plist [loading]
com.Apple.MSRPC.Srvsvc.plist [loading]
com.Apple.MSRPC.Wkssvc.plist [loading]
com.Apple.mtmd.plist [loading]
com.Apple.mtmfs.plist [no charge]
[ongoing] com.Apple.nehelper.plist
com.Apple.nesessionmanager.plist [loading]
com.Apple.netauth.sys.auth.plist [loading]
com.Apple.netauth.sys.GUI.plist [loading]
[ongoing] com.Apple.netbiosd.plist
[ongoing] com.Apple.networkd.plist
[ongoing] com.Apple.networkd_privileged.plist
com.Apple.newsyslog.plist [loading]
com.Apple.nfsconf.plist [loading]
com.Apple.nfsd.plist [loading]
com.Apple.NIS.ypbind.plist [loading]
com.Apple.noticeboard.State.plist [loading]
[ongoing] com.Apple.notifyd.plist
[ongoing] com.Apple.nsurlsessiond.plist
com.Apple.nsurlstoraged.plist [loading]
[ongoing] com.Apple.ocspd.plist
com.Apple.odproxyd.plist [no charge]
[ongoing] com.Apple.opendirectoryd.plist
[loading] com.apple.periodic - daily.plist
[loading] com.apple.periodic - monthly.plist
[loading] com.apple.periodic - weekly.plist
com.Apple.pfctl.plist [loading]
com.Apple.PFD.plist [loading]
com.Apple.platform.ptmd.plist [loading]
[ongoing] com.Apple.powerd.plist
com.Apple.powerd.SWD.plist [loading]
com.Apple.preferences.TimeZone.AdminTool.plist [loading]
com.Apple.preferences.TimeZone.Auto.plist [loading]
com.Apple.printtool.daemon.plist [loading]
com.Apple.racoon.plist [loading]
com.Apple.remotepairtool.plist [loading]
[ongoing] com.Apple.revisiond.plist
com.Apple.rootless.init.plist [loading]
com.Apple.rpcbind.plist [loading]
[ongoing] com.Apple.sandboxd.plist
com.Apple.screensharing.plist [loading]
com.Apple.scsid.plist [loading]
[ongoing] com.Apple.secinitd.plist
com.apple.security.FDERecoveryAgent.plist [no charge]
com.Apple.Security.agent.login.plist [loading]
com.Apple.Security.authhost.plist [loading]
[ongoing] com.Apple.Security.syspolicy.plist
[ongoing] com.Apple.securityd.plist
[ongoing] com.Apple.securityd_service.plist
com.Apple.sessionlogoutd.plist [loading]
com.Apple.SMB.preferences.plist [loading]
com.Apple.smbd.plist [no charge]
com.Apple.softwareupdate_download_service.plist [loading]
com.Apple.softwareupdate_firstrun_tasks.plist [loading]
[ongoing] com.Apple.softwareupdated.plist
com.Apple.speech.speechsynthesisd.plist [loading]
[ongoing] com.Apple.spindump.plist
com.Apple.startupdiskhelper.plist [loading]
com.Apple.statd.notify.plist [loading]
com.Apple.storagekitd.plist [loading]
[ongoing] com.Apple.storeaccountd.daemon.plist
com.Apple.storeagent.daemon.plist [loading]
com.Apple.storeassetd.daemon.plist [loading]
com.Apple.storedownloadd.daemon.plist [loading]
com.Apple.storereceiptinstaller.plist [loading]
[ongoing] com.Apple.suhelperd.plist
[ongoing] com.Apple.symptomsd.plist
com.Apple.sysdiagnose.plist [loading]
[ongoing] com.Apple.syslogd.plist
[ongoing] com.Apple.sysmond.plist
com.Apple.system_installd.plist [loading]
com.Apple.systemkeychain.plist [loading]
com.Apple.SystemPreferences.Installer.plist [loading]
com.Apple.systemstats.analysis.plist [loading]
com.Apple.systemstats.daily.plist [loading]
[ongoing] com.Apple.systemstatsd.plist
[loading] com.apple.taskgated - helper.plist
[ongoing] com.Apple.taskgated.plist
[ongoing] com.Apple.tccd.System.plist
com.Apple.thermald.plist [loading]
com.Apple.trustd.plist [loading]
com.Apple.ucupdate.plist [loading]
com.Apple.uninstalld.plist [loading]
com.Apple.unmountassistant.sysagent.plist [loading]
com.apple.updateEFIDesktopPicture.plist [loading]
[ongoing] com.Apple.Usbd.plist
[ongoing] com.Apple.usbmuxd.plist
com.Apple.UUCP.plist [no charge]
[loading] com.apple.var - db-dslocal - backup.plist
com.Apple.vsdbutil.plist [loading]
[ongoing] com.Apple.warmd.plist
[ongoing] com.Apple.watchdogd.plist
[ongoing] com.Apple.wdhelper.plist
com.Apple.wifid.plist [loading]
[ongoing] com.Apple.wirelessproxd.plist
com.Apple.wwand.plist [loading]
[ongoing] com.Apple.XPC.SMD.plist
com.Apple.XPC.uscwoap.plist [loading]
com.Apple.Xsan.plist [no charge]
com.Apple.xsandaily.plist [no charge]
com.Apple.xscertadmin.plist [no charge]
[no charge] com.apple.xscertd - helper.plist
com.Apple.xscertd.plist [no charge]
com.vix.cron.plist [loading]
exec.plist [no charge]
finger.plist [no charge]
FTP.plist [no charge]
login.plist [no charge]
ntalk.plist [no charge]
org.Apache.httpd.plist [no charge] (2015-08-22) -no signature!
[no charge] org.cups.cups - lpd.plist
[loading] org.cups.cupsd.plist (2015-08-22) -invalid signature!
[no charge] org .net - snmp.snmpd.plist (2015-09-09) -no signature!
[operation] org.ntp.ntpd.plist (2015-08-22) -no signature!
org.openldap.slapd.plist [no charge]
org.Postfix.master.plist [loading]
[loading] org.postfix.newaliases.plist (2015-08-22) -no signature!
Shell.plist [no charge]
[loading] ssh.plist (2015-08-20) -no signature!
Telnet.plist [no charge]
TFTP.plist [no charge]
[failure] com.adobe.ARMDCHelper.cc24aef4a1b90ed56a... plist (2016-01-29) [Support]
[loading] com.google.keystone.agent.plist (2016-03-02) [Support]
[loading] com.oracle.java.Java - Updater.plist (2014-09-04) [Support]
[loading] com.symantec.errorreporter - periodicagent.NFM.plist (2016-02-27) [Support]
[operation] com.symantec.uiagent.application.NFM.plist (2016-01-20) [Support]
com.TeamViewer.TeamViewer.plist [no charge] (2015-03-02) [Support]
com.TeamViewer.teamviewer_desktop.plist [no charge] (2015-03-02) [Support]
[loading] com.adobe.ARMDC.Communicator.plist (2016-01-29) [Support]
[loading] com.adobe.ARMDC.SMJobBlessHelper.plist (2016-01-29) [Support]
[loading] com.adobe.fpsaud.plist (2016-01-29) [Support]
[loading] com.google.keystone.daemon.plist (2016-03-02) [Support]
[loading] com.oracle.java.Helper - Tool.plist (2014-09-04) [Support]
[loading] com.symantec.SymLUHelper.NFM.plist (2016-01-20) [Support]
[loading] com.symantec.UninstallerToolHelper.NFM.plist (2016-01-20) [Support]
[operation] com.symantec.deepsight - extractor.NFM.plist (2016-01-20) [Support]
[loading] com.symantec.errorreporter - periodic.NFM.plist (2016-02-27) [Support]
[loading] com.symantec.liveupdate.daemon.NFM.plist (2016-01-20) [Support]
[operation] com.symantec.nfm.wps.plist (2016-01-20) [Support]
[operation] com.symantec.sharedsettings.NFM.plist (2016-01-20) [Support]
[operation] com.symantec.symdaemon.NFM.plist (2016-01-20) [Support]
[loading] com.teamviewer.Helper.plist (2015-03-02) [Support]
com.TeamViewer.teamviewer_service.plist [no charge] (2015-03-02) [Support]
[loading] com.westerndigital.WD - SmartWare - install .plist (2013-12-09) [Support]
[failure] com.adobe.ARM. [...]. plist (2013-03-13) [Support]
[loading] com.apple.SafariBookmarksSyncer.plist (2011-04-27) -/Applications/Safari.app/Contents/SafariSyncClient.app/Contents/MacOS/SafariSyn customer: Executable not found!
iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Request for SpeechSynthesisServer (/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks SpeechSynthesis.framework/Versions/A/SpeechSynthesisServer.app)
Apple-CCS-20151115-210320 UNKNOWN (missing value)
Hidden BOINCManager Application (/ Applications/BOINCManager.app)
SymSecondaryLaunch UNKNOWN (missing value)
WDQuickView UNKNOWN (missing value)
[ongoing] com.apple.AccountPolicyHelper
[ongoing] com.apple.AddressBook.ContactsAccountsService
[ongoing] com.apple.AmbientDisplayAgent
[ongoing] com.apple.BKAgentService
[ongoing] com.apple.CloudPhotosConfiguration
[ongoing] com.apple.CodeSigningHelper
[ongoing] com.apple.DataDetectorsDynamicData
[loading] com.apple.DesktopServicesHelper.DF80CD70 - 017F-4B5D-SUMMER-40059B1515C4
com.apple.DictionaryServiceHelper [loading]
com.apple.FCiCloudPrefUpdater [loading]
com.apple.IASUtilities.IASCloudConfigHelper [loading]
[ongoing] com.apple.ImageCaptureExtension2.73312
[ongoing] com.apple.InputMethodKit.TextReplacementService
com.apple.Localization.SetDefaultsService [loading]
com.apple.MailServiceAgent [loading]
[ongoing] com.apple.PerformanceAnalysis.animationperfd
com.apple.SpeechRecognitionCore.brokerd [loading]
[ongoing] com.apple.ViewBridgeAuxiliary
com.Apple.accounts.DOM [loading]
com.apple.appkit.xpc.sandboxedServiceRunner [loading]
[ongoing] com.Apple.Authd
com.Apple.cmio.registerassistantservice [loading]
com.Apple.Facebook.XPC [loading]
[ongoing] com.Apple.GEOD
[loading] com.apple.gssd.DE000000-A086-0100-0000-000000000000
com.Apple.hiservices-[ongoing] xpcservice
[loading] com.apple.iBooksX - SecureUserDefaults
[ongoing] com.apple.iCloudHelper
[ongoing] com.apple.iTunesHelper.79392
[ongoing] com.apple.imdpersistence.IMDPersistenceAgent
com.apple.iokit.IOServiceAuthorizeAgent [loading]
com.Apple.IOKit.ioserviceauthorized [loading]
com.Apple.LinkedIn.XPC [loading]
[loading] com.apple.mdworker.32bit.01000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.32bit.02000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.lsb.02000000-0000-0000-0000-000000000000
[operation] com.apple.mdworker.mail.01000000-0000-0000-0000-000000000000
[operation] com.apple.mdworker.mail.02000000-0000-0000-0000-000000000000
[operation] com.apple.mdworker.mail.03000000-0000-0000-0000-000000000000
[operation] com.apple.mdworker.mail.04000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.shared.00000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000
[operation] com.apple.mdworker.shared.02000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000
[operation] com.apple.mdworker.shared.04000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.single.01000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.single.02000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.single.03000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.single.04000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.single.05000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.single.06000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.single.07000000-0000-0000-0000-000000000000
[loading] com.apple.mdworker.single.08000000-0000-0000-0000-000000000000
com.apple.messages.BuddyPictureService [loading]
com.Apple.SBD [loading]
com.apple.security.XPCKeychainSandboxCheck [loading]
com.apple.security.XPCTimeStampingService [loading]
[loading] com.apple.security.agent.login.00000000-0000-0000-0000-0000000186A8
[loading] com.apple.security.authhost.00000000-0000-0000-0000-0000000186A8
com.apple.sharekit.EntitlementsHelper [loading]
com.Apple.SystemAdministration.writeconfig [loading]
com.Apple.tencentweibo.XPC [loading]
com.Apple.tonelibraryd [loading]
com.Apple.Twitter.XPC [loading]
com.Apple.weibo.XPC [loading]
[ongoing] com.Apple.XPC.launchd.oneshot.0x10000002.AppleSpell
[ongoing] com.Apple.XPC.launchd.oneshot.0x10000005.EtreCheck
com.HP.devicemonitor [failure]
edu.Berkeley.BOINC.109152 [loading]
o1dbrowserplugin: 5.41.3.0 - 10.8 SDK (2015-12-16) [Support]
Java applet: 1.0.1 (2013-02-01)
Default browser: 601 - SDK 10.11 (2016-01-20)
AdobePDFViewerNPAPI: 15.010.20059 - SDK 10.8 (2016-02-17) [Support]
FlashPlayer - 10.6: 20.0.0.306 - SDK 10.6 (2016-02-09) [Support]
Silverlight: 4.1.10329.0 (2013-07-25) [Support]
QuickTime Plugin: 7.7.3 (2016-01-20)
Flash Player: 20.0.0.306 - SDK 10.6 (2016-02-09) [Support]
googletalkbrowserplugin: 5.41.3.0 - 10.8 SDK (2015-12-11) [Support]
iPhotoPhotocast: 7.0 (2013-02-01)
AdobePDFViewer: 15.010.20059 - SDK 10.8 (2016-02-17) [Support]
RL Secure Layer plugin: Unknown - SDK 10.5 (2015-11-25) [Support]
JavaAppletPlugin: Java 8 66 update build 17 (2015-11-29) check the version of
WebEx64: 1.0 - SDK 10.6 (2014-10-10) [Support]
CitrixOnlineWebDeploymentPlugin: 1.0.105 (2013-04-25) [Support]
UploadManager: Unknown - SDK 10.5 (2015-11-25) [Support]
ContentManager: Unknown - SDK 10.5 (2015-11-25) [Support]
RocketEngine: Unknown - SDK 10.5 (2015-11-25) [Support]
AdBlock (2015-09-28)
Norton Antivirus (2016-02-27)
EcammAudioLoader: 1.0.3 - SDK 10.8 (2015-09-04) [Support]
CallRecorder: v2.5.16 - 10.8 SDK (2015-09-04) [Support]
Dual (2013-10-26) [Support]
Flash Player (2016-01-29) [Support]
Java (2015-11-29) [Support]
Perian (2011-07-23) [Support]
Skip system files: No.
Mobile backups: OFF
Automatic backup: YES
Volumes to back up:
Korak: Disc size: 499,25 GB disc used: 366,14 GB
Destinations:
Rama1 [Local]
Total size: 333,40 GB
Total number of backups: 64
An older backup: 2015-06-05, 11:06
Last backup: 2016 - 03-08 at 12:47
Backup disk size: too small
Backup size GB 333,40 < (disc 366,14 GB X 3)
6% WindowServer
2% fontd
kernel_task 2%
0% NFMWps
0% SymDaemon
Top of page process of memory: ⓘ
1.10 GB kernel_task
NFMWps 426 MB
SymDaemon 344 MB
262 MB mdworker (13)
213 MB mds_stores
10.00 GB of free RAM
5.91 used GB RAM (3.89 GB being cached)
Used Swap 0 B
March 8, 2016, 09:59:45 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-08-095945_[redacted].crash
/ Library/Application Support/Symantec/*/SymDaemon.bundle/Contents/MacOS/SymDaemon
8 March 2016, 09:57:45 self test - passed
March 8, 2016, 09:03:53 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-08-090353_[redacted].cpu_reso urce.diag [details]
March 8, 2016, 08:30:21 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-08-083021_[redacted].crash
March 7, 2016, 18:30:53 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-07-183053_[redacted].cpu_reso urce.diag [details]
March 7, 2016, 08:24:54 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-07-082454_[redacted].crash
March 7, 2016, 06:44 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-07-064400_[redacted].crash
March 6, 2016, 17:18:42 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-06-171842_[redacted].crash
March 6, 2016, 16:02:54 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-06-160254_[redacted].cpu_reso urce.diag [details]
March 5, 2016, 20:17:20 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-05-201720_[redacted].cpu_reso urce.diag [details]
March 5, 2016, 15:21:28 /Library/Logs/DiagnosticReports/SymDaemon_2016-03-05-152128_[redacted].cpu_reso urce.diag [details]
1. the present proceedings is a diagnostic test. It doesn't change anything for the better or worse and therefore, by itself, will not solve the problem. But with the help of the results of the tests, the solution may take a few minutes, instead of hours or days.
The test works on OS X 10.8 ("Mountain Lion") and later versions. I do not recommend running it on older versions of Mac OS X. It will do no harm, but it will not do not much good.
Do not be put off by the complexity of these instructions. The process is much less complicated than the description. You make the tasks more complicated with the computer all the time.
2. If you do not already have a current backup, please back up all the data before doing anything else. The backup is needed on the general principle, not because of what anyone in the test procedure. Backup is always a must, and when you encounter any kind of problems with the computer, you can be more than the usual loss of data, if you follow these instructions or risk not.
There are ways to back up a computer that is not fully functional. Ask if you need advice.
3 here is instructions to run a UNIX shell script, a type of program. As I wrote above, it doesn't change anything. It does not send or receive data over the network. There is no to generate a report on the State of the computer human readable. This report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents for me or someone else.
You should ask yourself if you can believe me, and if it is safe to run a program at the request of a foreign national. In general, no, he's not sure, and I encourage it.
In this case, however, there are ways for you to decide if the program is safe without having to trust me. First of all, you can read it. Unlike an application that download you and click to start, it is transparent, anyone familiar with the code can check what it does.
You may not be able to understand the script yourself. But variations of it have been posted on this site several times over a period of years. One of the million registered users to have read the script and set off the alarm if it was dangerous. Then I wouldn't be here now, and you would not be reading this message. See, e.g., this discussion.
However, if you cannot satisfy yourself that these instructions are safe, do not follow them. Ask other solutions.
4. here is a general summary of what you need to do, if you decide to go forward:
☞ Copy text from a particular web page (not this one) to the Clipboard.
☞ Paste into the window to another application.
☞ Wait for the test to run. It usually takes a few minutes.
☞ Stick the results, which will be copied automatically, in a response on this page.
These are not specific instructions; just a glimpse. The details are in parts 7 and 8 of this comment. The sequence is: copy, paste, wait and paste it again. You don't need to copy a second time.
5. try to test in conditions that replicate the problem, to the extent possible. For example, if the computer is slow intermittently, run the test during a downturn.
You may have started up in safe mode. If the system is now in safe mode and works pretty well in normal mode to test run, restart as usual before running it. If you can test only in safe mode, this.
6. If you have more than one user and a user is affected by the problem, and the user is not an administrator, and then run the test twice: once under the affected user and one administrator. The results can 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 are unable to log in as an administrator, verify that the user concerned. More personal Mac have only one user, and in this case this section does not apply. Don't log in as root.
7 load the linked web page (the site "Pastebin.") Press the combination of keys command + A to select all the text, then copy it to the Clipboard by pressing command-C.
8. start the Terminal application integrated in one of the following ways:
☞ Enter the first letters of his name ("Terminal") in a Spotlight search. Select from the results (it should be at the top).
☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
Click anywhere in the Terminal window to activate it. Paste from the Clipboard into the window by pressing Command + V, then press return. The text that you pasted should disappear immediately.
9. If you logged in as an administrator, you will be prompted for your login password. Nothing displayed when you type. You won't see the usual points instead of the characters typed. Make sure that caps lock is turned off. Type carefully, and then press return. You can get a warning to be careful. If you make three unsuccessful attempts to enter the password, the test is still running, but it will produce less information. If you do not know the password, or if you prefer not to enter, just press back three times at the password prompt. Yet once again, the script will run.
If the test takes much longer that usual to run because the computer is very slow, you can be prompted for your password a second time. The permission you grant by entering it will expire automatically after five minutes.
If you are not logged as an administrator, you will be prompted for a password. The test will run. It just will not do anything that requires administrator privileges.
10. the test may take a few minutes to run, depending on the number of files you have and the speed of the computer. A computer that is abnormally slow may take more time to run the test. During execution, a series of lines is displayed in the Terminal window like this:
Test started
Part 1 of 4 done at: … sec … Part 4 of 4 done at: … sec
The test results are on the Clipboard.
Please close this window.
The intervals between the parties will not be exactly the same, but they give an approximate indication of progress.
Wait for the final message "Please close this window" appear - again, usually within a few minutes. If you don't see this message in about 30 minutes, the test probably won't be completed within a reasonable time. In this case, press the Ctrl + C key combination or the point command to stop it. Then go to the next step. You will have incomplete results, but still something.
In order to get results, the test should be allowed to perform or be stopped manually as shown above. If you close the window of the Terminal, while the test is still running, the partial results will not be saved.
11. when the test is completed, or if you manually stopped, leaving the Terminal. The results have been saved to the Clipboard automatically. They do not appear in the Terminal window. Please do not copy from there. All you have to do is start a response to this comment and then paste it again by pressing Command-V.
At the top of the results, there will be a line that begins with the words «Start time.» If you do not see that, but rather to see a mass of gibberish, you wait for the message "close this window". Please wait and try again.
If personal information, such as your name or e-mail address, appear in the results, make anonymous before posting. Usually it will be not necessary.
12. in the validation of the results, you see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the software which manages this website. Thanks for posting the results of the tests on Pastebin, then post here a link to the page you created.
If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.
13. When you are finished with the test, it is gone. There is nothing to uninstall or clean.
14. This is a public forum and others can give you advice based on the results of the test. They speak for themselves, not for me. The test itself is harmless, but all that you can not be. For others who choose to run it, I do not recommend that you view the results of test on this Web site unless I ask.
15. the related UNIX shell script is a notice of copyright. ASC readers can copy for their personal use. The whole nor any part can be redistributed.
Maybe you are looking for
-
Mac says that I have x amount of apps, audio and movies, when I did not. I'm trying to free up space, and this prevents me. What can I do?
-
Help, please! I have a MacBook Pro 13 inch end 2011. I want to upgrade the memory of 4 GB (2 x 2 GB) to 16GB (2 x 8 GB). Can I buy 16GB and they say it's for the MacBook Pro 2011, but it says on the site of Apple 8GB maximum memory. Everyone is runni
-
I use FF at work, on the other pc and my MBPro. I prefer FF. My MBP is sometimes used by my family. I don't want to using my profile. I don't want to be prompted for a password. When I'm on, I would like to connect and have what I need, and then disc
-
Can't associate my Apple for my Apple Watch pay credit card
I just added my credit card in my Wallet to pay for the first time 6 Apple iPhone. He asked if I wanted to pair it with my Apple Watch, I said yes. It was about 20 minutes ago. It is frozen on the screen 'Add now' since then, no change. Apple Watch i
-
110 000z: Internet Explorer
When I go online, I receive a "Internet Explorer cannot display the web page", I did everything that Says "launch HP network Check." It is said the samething when I try again. Could you help me. I got "McAfee". I just trough that in.