FM8.0.2 inserting of footnotes is slowing down
We have a document of about 600 pages (one FM file) and over 1500 footnotes. When I try to insert a new footnote it takes me about 3 or 4 seconds. Then I can type the footnote text. When there were less then 1000 footnotes creating a new footnote took less than one second.
When I create a new FM file in the book and insert a footnote there, it's quick (<1 sec).
And I stil have to add many footnotes...
Is there a limit to the amout of footnotes? And how can I solve the time problem?
Hi Arnis,
b I found the problem.
It has nothing to do with the size of the file or the amount of the foutnotes.
The problem is the language "Nederlands (nieuw)" (dutch new). When I changed in all paragraph styles the language to "Nederlands" (dutch) the problem was solved and I can insert footnotes at the normal speed (< 1 sec).
I think there's a problem in the spellingssoftware of "Nederlands (nieuw). This language does not hyphenate correctly, even not after applying the patch 8.0.2 (see my other topic in this forum)
Similar Messages
-
Timer Class not accurate and slows down my animation!?
Does anyknow how why my timer object is not accurate and why it slows down my animation that is also present on my GUI at the same time?
I have a timer in the form of 0.00 the left of the decimal point should represent a second but it doesnt, run my code and see for yourselves. below is my code if anyone can fix these 2 problems i will be very thankfull:
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import java.awt.Shape;
import java.io.*;
import java.text.*;
import java.util.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.*;
import javax.swing.Timer;
import java.sql.*;
import java.text.*;
public class RT extends JFrame implements MouseMotionListener
//declares a number of swing componets to be used for the JFrame
private JTextArea infoJTextArea;
private JPanel showJPanel, startJPanel, helpJPanel, resultsJPanel;
private JLabel de4JLabel, de3JLabel, mainTitleJLabel, nameJLabel, ageJLabel,
deJLabel, de1JLabel, de2JLabel, timeJLabel,nameResultJLabel,
ageResultJLabel, timeResultsJLabel, ratingJLabel, coJLabel, shJLabel;
private JTextField nameJTextField, ageJTextField,nameResultJTextField,
ageResultsJTextField, timeResultsJTextField, ratingJTextField;
private JButton exitJButton, showJButton, loginJButton, startTestJButton,
tempObjectJButton;
private JScrollPane scroll;
public JComboBox colourJComboBox, sizeJComboBox, shapeJComboBox, speedJComboBox;
private static Connection dbcon;
int temp=0;
private String[] col = { "Red", "Blue", "Green","Yellow","Orange","Black"};
private String[] shapeA = { "Normal Rectangle", "Normal Circle", "Normal Oval","BIG Rectangle", "BIG Circle","BIG Oval","small rectangle","small circle", "small oval"};
private String[] speed = { "Fast", "Normal", "Slow"};
public int checking;
static int flag, flagshape, flagspeed;
// creates and sets up a number of varibles to be used by the class
public long timeLimit = 0;
DecimalFormat timeDec = new DecimalFormat (":00");
public int age;
public String name, shapeChoice="Normal Rectangle(Never selected anything)", colourChoice="Black(Never selected anything)";
private Timer TimeNow;
private JTextField timerJTextField;
ShapeMovingPanel testJPanel;
Random seed;
Shape shape;
Shape[] shapes = {new Rectangle2D.Double(50, 30, 75, 25),new Ellipse2D.Double(175, 125, 50, 50),new Ellipse2D.Double(90, 100, 75, 35),new Rectangle2D.Double(50, 30, 175, 125),new Ellipse2D.Double(175, 125, 125, 125),new Ellipse2D.Double(90, 100, 175, 135),new Rectangle2D.Double(50, 30, 55, 15),new Ellipse2D.Double(175, 125, 20,20),new Ellipse2D.Double(90, 100, 55, 15)};
//50, 30, 75, 25 change starting point here****************************************
public RT() // constructor method
seed = new Random();
shape = shapes[0];
//sets up the Timer
TimeNow = new Timer((1), new TimerListener());//++++++++++++++++++++++++++timer -17
createUserInterface(); // method that creates the user interface
private void createUserInterface()
new Thread(new Runnable()
public void run()
String results = "";
int count = 0;
boolean journeyOn = true;
while(journeyOn && count < 3)
try
Thread.sleep(1000);
catch(InterruptedException ie)
System.err.println("show interrupt: " + ie.getMessage());
journeyOn = false;
results += count++ + ", ";
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
dbcon = DriverManager.getConnection("jdbc:odbc:CMT3991", "", ""); // Access/ODBC
//connection ash used to connect to the user table in access
} catch(Exception eee)
eee.printStackTrace(); //exception if error occurs during the driver connection
System.out.println("* UserDA CONNECTED *");
}).start();
Container contentPane = getContentPane();
contentPane.setLayout( null );
// set up infoJTextField
infoJTextArea = new JTextArea();
infoJTextArea.setBounds( 20, 420, 550, 170 );
infoJTextArea.setEditable( false);
infoJTextArea.setText("\n Welcome to the reaction testing program, this " +
"program is designed to test your reactions in a \n"+
" number of different situations.\n"+"\n Please " +
"enter your name and age, or select show previous results.");
contentPane.add( infoJTextArea );
scroll = new JScrollPane(infoJTextArea);
scroll.setBounds( 20, 420, 550, 170 );
contentPane.add( scroll );
startJPanel = new JPanel();
startJPanel.setBounds( 16,16, 560, 375 );
startJPanel.setBorder(
new TitledBorder( "WELCOME - PLEASE ENTER YOUR NAME AND AGE:" ) );
startJPanel.setLayout( null );
contentPane.add( startJPanel );
//sets up a JPanel
mainTitleJLabel = new JLabel();
mainTitleJLabel.setIcon( new ImageIcon( "title.png" ) );
mainTitleJLabel.setBounds( 30, 10, 520, 170 );
mainTitleJLabel.setHorizontalAlignment( JLabel.CENTER );
startJPanel.add( mainTitleJLabel );
//creates a newJLabel
nameJLabel= new JLabel();
nameJLabel.setBounds( 52, 200, 70, 35 );
nameJLabel.setText("Name:");
startJPanel.add( nameJLabel);
//creates a new JTextField
nameJTextField = new JTextField();
nameJTextField.setBounds( 130, 200, 300, 24 );
startJPanel.add( nameJTextField );
//creates a newJLabel
ageJLabel = new JLabel();
ageJLabel.setBounds( 52, 245, 100, 35 );
ageJLabel.setText("Age:");
startJPanel.add( ageJLabel );
//creates a new JTextField
ageJTextField = new JTextField();
ageJTextField.setBounds( 130, 245, 300, 24 );
startJPanel.add( ageJTextField );
//creates a JButton
loginJButton = new JButton();
loginJButton.setBounds( 440, 200, 90, 24 );
loginJButton.setText( "Login" );
loginJButton.setBackground( Color.YELLOW );
startJPanel.add( loginJButton );
loginJButton.setEnabled(true);
// loginJButton.setVisible(true);
loginJButton.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
// not necessary to pass events to these methods...
Login(); // calls the Login method
//creates a JButton
showJButton = new JButton();
showJButton.setBounds( 200, 320, 180, 24 );
showJButton.setText( "Show previous results" );
showJButton.setBackground( Color.YELLOW );
startJPanel.add( showJButton );
showJButton.setEnabled(true);
// showJButton.setVisible(true);
showJButton.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
showData(); // calls the showData method
//sets up a JPanel
showJPanel = new JPanel();
showJPanel.setBounds( 16,16, 560, 375 );
showJPanel.setBorder(new TitledBorder( "PREVIOUS RESULTS:" ) );
showJPanel.setLayout( null );
contentPane.add( showJPanel );
//sets up a JPanel
helpJPanel = new JPanel();
helpJPanel.setBounds( 16,16, 560, 375 );
helpJPanel.setBorder(
new TitledBorder( "CHOOSE A NUMBER OF OPTIONS AND GET READY:" ) );
helpJPanel.setLayout( null );
helpJPanel.setVisible(false);
contentPane.add( helpJPanel );
//creates a newJLabel
deJLabel= new JLabel();
deJLabel.setBounds( 23, 390, 530, 35 );
deJLabel.setText("Details:");
contentPane.add( deJLabel);
//creates a newJLabel
coJLabel= new JLabel();
coJLabel.setBounds( 70, 40, 530, 35 );
coJLabel.setText("Choose a colour:");
helpJPanel.add( coJLabel);
//creates a newJLabel
de1JLabel= new JLabel();
de1JLabel.setBounds( 25, 100, 530, 35 );
de1JLabel.setText("You are about to start the reaction test, when you " +
"press the start button it will begin.");
helpJPanel.add( de1JLabel);
//creates a newJLabel
de1JLabel= new JLabel();
de1JLabel.setBounds(160, 145, 530, 35 );
de1JLabel.setText("Simply catch the moving item and click.");
helpJPanel.add( de1JLabel);
colourJComboBox = new JComboBox( col );
colourJComboBox.setBounds( 70, 70, 135, 21 );
colourJComboBox.setMaximumRowCount( 3 );
helpJPanel.add( colourJComboBox );
colourJComboBox.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
colourChoice="Black";
int x = colourJComboBox.getSelectedIndex();
if( x == 0)
flag = 1;
colourChoice="Red";
else if(x == 1)
flag = 2;
colourChoice="Blue";
else if(x == 2)
flag = 3;
colourChoice="Green";
else if(x == 3)
flag = 4;
colourChoice="Yellow";
else if(x == 4)
flag = 5;
colourChoice="Orange";
else if(x == 5)
flag = 6;
colourChoice="Black";
shJLabel= new JLabel();
shJLabel.setBounds( 340, 40, 530, 35 );
shJLabel.setText("Choose a shape and size:");
helpJPanel.add( shJLabel);
shapeJComboBox = new JComboBox( shapeA );
shapeJComboBox.setBounds( 340, 70, 135, 21 );
shapeJComboBox.setMaximumRowCount( 3 );
helpJPanel.add( shapeJComboBox );
shapeJComboBox.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
int xshape = shapeJComboBox.getSelectedIndex();
//shapeChoice="Normal Rectangle";
if( xshape == 0)
{ flagshape = 1;
shapeChoice="Normal Rectangle";
else if(xshape == 1)
{ flagshape = 2;
shapeChoice="Normal Circle";
else if(xshape == 2)//**********here
{ flagshape = 3;
shapeChoice="Normal Oval";
else if(xshape == 3)
{ flagshape = 4;
shapeChoice="BIG Rectangle";
else if(xshape == 4)
{ flagshape = 5;
shapeChoice="BIG Circle";
else if(xshape == 5)
{ flagshape = 6;
shapeChoice="BIG Oval";
else if(xshape == 6)
flagshape = 7;
shapeChoice="small rectangle";
else if(xshape == 7)
{ flagshape = 8;
shapeChoice="small circle";
else if(xshape == 8)
{ flagshape = 9;
shapeChoice="small oval";
/* speedJComboBox = new JComboBox( speed );
speedJComboBox.setBounds( 10, 150, 135, 21 );
speedJComboBox.setMaximumRowCount( 3 );
helpJPanel.add( speedJComboBox );
speedJComboBox.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
int xspeed = speedJComboBox.getSelectedIndex();
if( xspeed == 0)
flagspeed = 1;
else if(xspeed == 1)
flagspeed = 2;
else
flagspeed = 3;
System.out.println(flagspeed);
//creates a newJLabel
de2JLabel= new JLabel();
de2JLabel.setBounds( 20, 380, 70, 35 );
de2JLabel.setText("Details:");
helpJPanel.add( de2JLabel);
//creates a JButton
startTestJButton = new JButton();
startTestJButton.setBounds( 185, 205, 180, 60 );
startTestJButton.setText( "START" );
startTestJButton.setBackground( Color.YELLOW );
helpJPanel.add( startTestJButton );
startTestJButton.setEnabled(true);
// startTestJButton.setVisible(true);
startTestJButton.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
startTest();
//sets up an animation panel
testJPanel = new ShapeMovingPanel(this);
testJPanel.setBounds( 16,16, 560, 375 );
testJPanel.setBorder(new TitledBorder("Click the moving object:"));
testJPanel.setLayout( null );
testJPanel.setVisible(false);
contentPane.add( testJPanel );
testJPanel.addMouseMotionListener(this);
//creates a newJLabel
timeJLabel = new JLabel();
timeJLabel.setBounds( 440, 330, 100, 35 );
timeJLabel.setText("Time:");
testJPanel.add( timeJLabel );
//creates a new JTextField
timerJTextField = new JTextField();
timerJTextField.setBounds( 480, 335, 60, 24 );
timerJTextField.setText(String.valueOf(timeLimit));
timerJTextField.setHorizontalAlignment(JTextField.CENTER );
timerJTextField.setEditable(false);
timerJTextField.setBackground( Color.YELLOW );
testJPanel.add( timerJTextField );
resultsJPanel = new JPanel();
resultsJPanel.setBounds( 16,16, 560, 375 );
resultsJPanel.setBorder(new TitledBorder("HERE ARE YOUR RESULTS:"));
resultsJPanel.setLayout( null );
resultsJPanel.setVisible(false);
contentPane.add( resultsJPanel );
de3JLabel= new JLabel();
de3JLabel.setBounds(20, 200, 530, 35 );
de3JLabel.setText("Below is also the movements you made with your mouse, " +
"you may exit the program now.");
resultsJPanel.add( de3JLabel);
de4JLabel= new JLabel();
de4JLabel.setBounds(135, 245, 530, 35 );
de4JLabel.setText("Thank you for trying the Reaction Testing program");
resultsJPanel.add( de4JLabel);
//creates a newJLabel
nameResultJLabel= new JLabel();
nameResultJLabel.setBounds( 62, 55, 50, 35 );
nameResultJLabel.setText("Name:");
resultsJPanel.add( nameResultJLabel);
//creates a new JTextField
nameResultJTextField = new JTextField();
nameResultJTextField.setBounds( 140, 55, 300, 24 );
resultsJPanel.add( nameResultJTextField );
nameResultJTextField.setEditable(false);
//creates a newJLabel
ageResultJLabel = new JLabel();
ageResultJLabel.setBounds( 62, 90, 100, 35 );
ageResultJLabel.setText("Age:");
resultsJPanel.add( ageResultJLabel );
//creates a new JTextField
ageResultsJTextField = new JTextField();
ageResultsJTextField.setBounds( 140, 90, 300, 24 );
resultsJPanel.add( ageResultsJTextField );
ageResultsJTextField.setEditable(false);
//creates a newJLabel
timeResultsJLabel = new JLabel();
timeResultsJLabel.setBounds( 62, 125, 100, 35 );
timeResultsJLabel.setText("Time taken:");
resultsJPanel.add( timeResultsJLabel );
//creates a new JTextField
timeResultsJTextField = new JTextField();
timeResultsJTextField.setBounds( 140, 125, 300, 24 );
resultsJPanel.add( timeResultsJTextField );
timeResultsJTextField.setEditable(false);
//creates a newJLabel
ratingJLabel = new JLabel();
ratingJLabel.setBounds( 62, 160, 100, 35 );
ratingJLabel.setText("Your Rating:");
resultsJPanel.add( ratingJLabel );
ratingJTextField = new JTextField();
ratingJTextField.setBounds( 140, 160, 300, 24 );
resultsJPanel.add( ratingJTextField );
ratingJTextField.setEditable(false);
//creates a JButton
exitJButton = new JButton();
exitJButton.setBounds( 235, 310, 90, 24 );
exitJButton.setText( "Exit" );
exitJButton.setBackground( Color.WHITE );
resultsJPanel.add( exitJButton );
exitJButton.setEnabled(true);
exitJButton.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when exitJButton is pressed
public void actionPerformed( ActionEvent event )
System.exit(0); //closes the programme
}); // end anonymous inner class
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
// set properties of application's window
setTitle( "Reaction Tester - CMT3991" ); // set JFrame's title bar string
//setSize( 1280,995 ); // set width and height of JFrame
setSize( 608, 650 ); // set width and height of JFrame
setVisible( true ); // display JFrame on screen
//** set up of method main */
public static void main( String[] args )
RT application = new RT();
application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
} // end method main
* action listener for TimeNow Timer
private class TimerListener implements ActionListener
public void actionPerformed(ActionEvent event)
timeLimit ++;
if (timeLimit==100)
temp++;
timeLimit=0;
timerJTextField.setText(String.valueOf(temp +""+timeDec.format(timeLimit)));
private void Login()
try
name = nameJTextField.getText();
age = Integer.parseInt(ageJTextField.getText());
startJPanel.setVisible(false);
showJPanel.setVisible(false);
helpJPanel.setVisible(true);
infoJTextArea.setText("\n Welcome "+name+" you will soon know how " +
"fast your reactions are.");
catch (NumberFormatException exception)
JOptionPane.showMessageDialog(this,
"There is either a blank field or a number hasn't been entered",
"Input Type error", JOptionPane.ERROR_MESSAGE);
//shows this is something has been entered wrong
private void startTest()
helpJPanel.setVisible(false);
// System.out.println(""+ seed.nextInt(shapes.length));
//shape = shapes[seed.nextInt(shapes.length)];//****************************
if (flagshape==1)
shape = shapes[0];// changed colour here***************************
else if (flagshape==2)
shape = shapes[1];// changed colour here***************************
else if (flagshape==3)
shape = shapes[2];// changed colour here***************************
else if (flagshape==4)
shape = shapes[3];// changed colour here***************************
else if (flagshape==5)
shape = shapes[4];// changed colour here***************************
else if (flagshape==6)
shape = shapes[5];// changed colour here***************************
else if (flagshape==7)
shape = shapes[6];// changed colour here***************************
else if (flagshape==8)
shape = shapes[7];// changed colour here***************************
else if (flagshape==9)
shape = shapes[8];// changed colour here***************************
// shape = shapes[8];
System.out.println(shape.toString());
testJPanel.setShape(shape);
testJPanel.setVisible(true);
testJPanel.start();
infoJTextArea.setText("");
TimeNow.start();
* called by animation panel after shape is clicked
public void stop()
TimeNow.stop();
movingObject();
* this will compete with your animation
* ie, it will slow it down or make it appear jerky
public void mouseMoved(MouseEvent e)
saySomething("\n Mouse moved", e);
public void mouseDragged(MouseEvent e)
saySomething("\n Mouse dragged", e);
void saySomething(String eventDescription, MouseEvent e)
infoJTextArea.append(eventDescription
+ " (" + e.getX() + "," + e.getY() + ")");
infoJTextArea.setCaretPosition(infoJTextArea.getDocument().getLength());
private void movingObject()
TimeNow.stop();
//timeLimit;
testJPanel.setVisible(false);
resultsJPanel.setVisible(true);
nameResultJTextField.setText(name);
ageResultsJTextField.setText(String.valueOf(age)+" years old");
System.out.println("shape used: "+shapeChoice);
String mouse = infoJTextArea.getText();
String tick = timerJTextField.getText();
timeResultsJTextField.setText(tick);
try
// create a file called welch.txt
final FileWriter outputFile = new FileWriter("Backup_of_"+name+"s_results.txt", true);
final BufferedWriter outputBuffer = new BufferedWriter(outputFile);
// converts data to a formatted string
final PrintWriter printstream = new PrintWriter(outputBuffer);
printstream.println("THIS IS A BACKUP");
printstream.println("The person's name is: "+name);
printstream.println("There age is: "+age);
printstream.println("Time taken: "+tick+" seconds");
printstream.println("The Shape and size was: "+shapeChoice);
printstream.println("It's colour was: "+colourChoice);
printstream.println("The mouse moved as follows: "+mouse);
//states what needs to be printed to the new file
printstream.close(); // closes teh printstream
catch(IOException eio)
//catchs the IO exception
if(temp<5.00)
ratingJTextField.setText("Thierry Henry");
else if(timeLimit<=10)
ratingJTextField.setText("Average");
else if(timeLimit<=15)
ratingJTextField.setText("You gotta be fat or something");
else if(timeLimit<=20)
ratingJTextField.setText("See a doctor");
else if(timeLimit>20)
ratingJTextField.setText("DO YOU KNOW WHAT YOU DOING!?");
String rate=ratingJTextField.getText();
try
Statement st = dbcon.createStatement();
String cmd = "INSERT INTO users (Name, Age, Time_Taken, Rating, Mouse_Movement,Shape_and_Size, Shape_Colour) VALUES ('" + name + "' , " + age + " , '" + tick + "' , '" + rate+"','"+ mouse+"','"+ shapeChoice+"','"+ colourChoice+"');";
//creates a SQL statement and executes it
st.executeUpdate(cmd);
st.close();//close the statement
} catch (Exception eDA)
eDA.printStackTrace();
private void showData()
// pretend this takes awhile -> 3 seconds (count)
new Thread(new Runnable()
public void run()
String results = "";
int count = 0;
boolean journeyOn = true;
while(journeyOn && count < 3)
try
Thread.sleep(1000);
catch(InterruptedException ie)
System.err.println("show interrupt: " + ie.getMessage());
journeyOn = false;
results += count++ + ", ";
infoJTextArea.setText("Here are your results:\n"+results);
startJPanel.setVisible(false);
showJPanel.setVisible(true);
}).start();
class ShapeMovingPanel extends JPanel implements ActionListener
RT host;
Timer timer;
Shape shape, xformed;
int x, y, dx, dy;
public ShapeMovingPanel(RT rt)
timer = new Timer(-20, this);
host = rt;
/* if (rt.flagspeed==1)
timer = new Timer(-20, this);
else if (rt.flagspeed==2)
timer = new Timer(20, this);
else if (rt.flagspeed==3)
timer = new Timer(100, this);
//change speed here******************************
x = 0;//0
y = 0;//0
dx =2;//2
dy = 3;//3
//setBackground(Color.pink);
addMouseListener(new ShapeTender());
public void actionPerformed(ActionEvent e)
int w = getWidth();
int h = getHeight();
if(w <= 0 || h <= 0)
return;
checkBoundries(w,h);
x += dx;
y += dy;
repaint();
private void checkBoundries(int w, int h)
Rectangle r = xformed.getBounds();
Insets insets = getInsets();
if(r.x + dx < insets.left || r.x + r.width + dx > w - insets.right)
dx *= -1;
if(r.y + dy < insets.top || r.y + r.height + dy > h - insets.bottom)
dy *= -1;
protected void paintComponent(Graphics g)
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
AffineTransform at = AffineTransform.getTranslateInstance(x, y);
if (RT.flag==1)
{g2.setPaint(Color.red);// changed colour here***************************
else if (RT.flag==2)
{g2.setPaint(Color.blue);// changed colour here***************************
else if (RT.flag==3)
{g2.setPaint(Color.green);// changed colour here***************************
else if (RT.flag==4)
{g2.setPaint(Color.yellow);// changed colour here***************************
else if (RT.flag==5)
{g2.setPaint(Color.orange);// changed colour here***************************
else if (RT.flag==6)
{g2.setPaint(Color.black);// changed colour here***************************
xfoI'm (being lazy and) using the older RT app posted on your last thread. I removed the
TimeNow timer from the RT class and used System.currentTimeMillis (as you requested) to
determine the elapsed time during the animation (see "startTest", "stop" and
"movingObject" methods). Also changed the DecimalFormat to NumberFormat and set the
"maximumFractionDigits" to "2" so it will truncate the fraction to two digits (more simple
than before). Made arrangements for the ShapeMovingPanel class to update the
"timerJTextField" during the animation (RT.updateTime method).
The MouseMotionListener is causing the animation to appear jerky and uneven. The
"mouseMoved" method is very busy while the mouse is moving. You might consider recording
the "mousePressed" events instead of the "mouseMoved" events, ie, the events where the user
is attempting to click inside the moving shape. It would allow the app to be more
responsive and might eliminate the uneven motion of the animating shape.
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import java.io.*;
import java.text.*;
import java.util.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.*;
import javax.swing.Timer;
public class RT extends JFrame implements MouseMotionListener
//declares a number of swing componets to be used for the JFrame
private JTextArea infoJTextArea;
private JPanel showJPanel, startJPanel, helpJPanel, resultsJPanel;
private JLabel de4JLabel, de3JLabel, mainTitleJLabel, nameJLabel, ageJLabel,
deJLabel, de1JLabel, de2JLabel, timeJLabel,nameResultJLabel,
ageResultJLabel, timeResultsJLabel, ratingJLabel;
private JTextField nameJTextField, ageJTextField,nameResultJTextField,
ageResultsJTextField, timeResultsJTextField, ratingJTextField;
private JButton exitJButton, showJButton, loginJButton, startTestJButton,
tempObjectJButton;
private JScrollPane scroll;;
// creates and sets up a number of varibles to be used by the class
private long startTime;
private long endTime;
public int timeLimit = 0;
public int age;
public String name;
private JTextField timerJTextField;
ShapeMovingPanel testJPanel;
NumberFormat timeDec;
Random seed;
Shape shape;
Shape[] shapes = {
new Rectangle2D.Double(50, 30, 75, 25),
new Ellipse2D.Double(175, 125, 50, 50),
new Ellipse2D.Double(90, 100, 75, 35)
public RT()
timeDec = NumberFormat.getInstance();
timeDec.setMaximumFractionDigits(2);
seed = new Random();
shape = shapes[0];
createUserInterface();
private void createUserInterface()
Container contentPane = getContentPane();
contentPane.setLayout( null );
// set up infoJTextField
infoJTextArea = new JTextArea();
infoJTextArea.setBounds( 20, 420, 550, 170 );
infoJTextArea.setEditable( false);
infoJTextArea.setText("\n Welcome to the reaction testing program, this " +
"program is designed to test your reactions in a \n"+
" number of different situations.\n"+"\n Please " +
"enter your name and age, or select show previous results.");
contentPane.add( infoJTextArea );
scroll = new JScrollPane(infoJTextArea);
scroll.setBounds( 20, 420, 550, 170 );
contentPane.add( scroll );
startJPanel = new JPanel();
startJPanel.setBounds( 16,16, 560, 375 );
startJPanel.setBorder(
new TitledBorder( "WELCOME -PLEASE ENTER YOUR NAME AND AGE:" ) );
startJPanel.setLayout( null );
contentPane.add( startJPanel );
//sets up a JPanel
mainTitleJLabel = new JLabel();
mainTitleJLabel.setIcon( new ImageIcon( "title.png" ) );
mainTitleJLabel.setBounds( 30, 10, 520, 170 );
mainTitleJLabel.setHorizontalAlignment( JLabel.CENTER );
startJPanel.add( mainTitleJLabel );
//creates a newJLabel
nameJLabel= new JLabel();
nameJLabel.setBounds( 52, 200, 70, 35 );
nameJLabel.setText("Name:");
startJPanel.add( nameJLabel);
//creates a new JTextField
nameJTextField = new JTextField();
nameJTextField.setBounds( 130, 200, 300, 24 );
startJPanel.add( nameJTextField );
//creates a newJLabel
ageJLabel = new JLabel();
ageJLabel.setBounds( 52, 245, 100, 35 );
ageJLabel.setText("Age:");
startJPanel.add( ageJLabel );
//creates a new JTextField
ageJTextField = new JTextField();
ageJTextField.setBounds( 130, 245, 300, 24 );
startJPanel.add( ageJTextField );
//creates a JButton
loginJButton = new JButton();
loginJButton.setBounds( 440, 200, 90, 24 );
loginJButton.setText( "Login" );
loginJButton.setBackground( Color.YELLOW );
startJPanel.add( loginJButton );
loginJButton.setEnabled(true);
loginJButton.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
// not necessary to pass events to these methods...
Login(); // calls the Login method
//creates a JButton
showJButton = new JButton();
showJButton.setBounds( 200, 320, 180, 24 );
showJButton.setText( "Show previous results" );
showJButton.setBackground( Color.YELLOW );
startJPanel.add( showJButton );
showJButton.setEnabled(true);
showJButton.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
showData(); // calls the showData method
//sets up a JPanel
showJPanel = new JPanel();
showJPanel.setBounds( 16,16, 560, 375 );
showJPanel.setBorder(new TitledBorder( "PREVIOUS RESULTS:" ) );
showJPanel.setLayout( null );
contentPane.add( showJPanel );
//sets up a JPanel
helpJPanel = new JPanel();
helpJPanel.setBounds( 16,16, 560, 375 );
helpJPanel.setBorder(
new TitledBorder( "HELP DETAILS:" ) );
helpJPanel.setLayout( null );
helpJPanel.setVisible(false);
contentPane.add( helpJPanel );
//creates a newJLabel
deJLabel= new JLabel();
deJLabel.setBounds( 23, 390, 530, 35 );
deJLabel.setText("Details:");
contentPane.add( deJLabel);
//creates a newJLabel
de1JLabel= new JLabel();
de1JLabel.setBounds( 25, 100, 530, 35 );
de1JLabel.setText("You are about to start the reaction test, when you " +
"press the start button it will begin.");
helpJPanel.add( de1JLabel);
//creates a newJLabel
de1JLabel= new JLabel();
de1JLabel.setBounds(160, 145, 530, 35 );
de1JLabel.setText("Simply catch the moving item and click.");
helpJPanel.add( de1JLabel);
//creates a newJLabel
de2JLabel= new JLabel();
de2JLabel.setBounds( 20, 380, 70, 35 );
de2JLabel.setText("Details:");
helpJPanel.add( de2JLabel);
//creates a JButton
startTestJButton = new JButton();
startTestJButton.setBounds( 185, 205, 180, 60 );
startTestJButton.setText( "START" );
startTestJButton.setBackground( Color.YELLOW );
helpJPanel.add( startTestJButton );
startTestJButton.setEnabled(true);
startTestJButton.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when search is pressed
public void actionPerformed( ActionEvent event )
startTest();
//sets up an animation panel
testJPanel = new ShapeMovingPanel(this);
testJPanel.setBounds( 16,16, 560, 375 );
testJPanel.setBorder(new TitledBorder("Click the moving object:"));
testJPanel.setLayout( null );
testJPanel.setVisible(false);
contentPane.add( testJPanel );
// this is causing the animation to appear uneven
// you can try the app with and without this to see
// testJPanel.addMouseMotionListener(this);
//creates a newJLabel
timeJLabel = new JLabel();
timeJLabel.setBounds( 440, 330, 100, 35 );
timeJLabel.setText("Time:");
testJPanel.add( timeJLabel );
//creates a new JTextField
timerJTextField = new JTextField();
timerJTextField.setBounds( 480, 335, 60, 24 );
timerJTextField.setText(String.valueOf(timeLimit));
timerJTextField.setHorizontalAlignment(JTextField.CENTER );
timerJTextField.setEditable(false);
timerJTextField.setBackground( Color.YELLOW );
testJPanel.add( timerJTextField );
resultsJPanel = new JPanel();
resultsJPanel.setBounds( 16,16, 560, 375 );
resultsJPanel.setBorder(new TitledBorder("HERE ARE YOUR RESULTS:"));
resultsJPanel.setLayout( null );
resultsJPanel.setVisible(false);
contentPane.add( resultsJPanel );
de3JLabel= new JLabel();
de3JLabel.setBounds(20, 200, 530, 35 );
de3JLabel.setText("Below is also the movements you made with your mouse, " +
"you may exit the program now.");
resultsJPanel.add( de3JLabel);
de4JLabel= new JLabel();
de4JLabel.setBounds(135, 245, 530, 35 );
de4JLabel.setText("Thank you for trying the Reaction Testing program");
resultsJPanel.add( de4JLabel);
//creates a newJLabel
nameResultJLabel= new JLabel();
nameResultJLabel.setBounds( 62, 55, 50, 35 );
nameResultJLabel.setText("Name:");
resultsJPanel.add( nameResultJLabel);
//creates a new JTextField
nameResultJTextField = new JTextField();
nameResultJTextField.setBounds( 140, 55, 300, 24 );
resultsJPanel.add( nameResultJTextField );
nameResultJTextField.setEditable(false);
//creates a newJLabel
ageResultJLabel = new JLabel();
ageResultJLabel.setBounds( 62, 90, 100, 35 );
ageResultJLabel.setText("Age:");
resultsJPanel.add( ageResultJLabel );
//creates a new JTextField
ageResultsJTextField = new JTextField();
ageResultsJTextField.setBounds( 140, 90, 300, 24 );
resultsJPanel.add( ageResultsJTextField );
ageResultsJTextField.setEditable(false);
//creates a newJLabel
timeResultsJLabel = new JLabel();
timeResultsJLabel.setBounds( 62, 125, 100, 35 );
timeResultsJLabel.setText("Time taken:");
resultsJPanel.add( timeResultsJLabel );
//creates a new JTextField
timeResultsJTextField = new JTextField();
timeResultsJTextField.setBounds( 140, 125, 300, 24 );
resultsJPanel.add( timeResultsJTextField );
timeResultsJTextField.setEditable(false);
//creates a newJLabel
ratingJLabel = new JLabel();
ratingJLabel.setBounds( 62, 160, 100, 35 );
ratingJLabel.setText("Your Rating:");
resultsJPanel.add( ratingJLabel );
ratingJTextField = new JTextField();
ratingJTextField.setBounds( 140, 160, 300, 24 );
resultsJPanel.add( ratingJTextField );
ratingJTextField.setEditable(false);
//creates a JButton
exitJButton = new JButton();
exitJButton.setBounds( 235, 310, 90, 24 );
exitJButton.setText( "Exit" );
exitJButton.setBackground( Color.WHITE );
resultsJPanel.add( exitJButton );
exitJButton.setEnabled(true);
exitJButton.addActionListener(
new ActionListener() // adds an action listener,anonymous inner class
// event handler called when exitJButton is pressed
public void actionPerformed( ActionEvent event )
System.exit(0); //closes the programme
}); // end anonymous inner class
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
// set properties of application's window
setTitle( "Reaction Tester - CMT3991" ); // set JFrame's title bar string
//setSize( 1280,995 ); // set width and height of JFrame
setSize( 608, 650 ); // set width and height of JFrame
setVisible( true ); // display JFrame on screen
//** set up of method main */
public static void main( String[] args )
RT application = new RT();
application.setDefaultCloseOperation( EXIT_ON_CLOSE );
} // end method main
private void Login()
try
name = nameJTextField.getText();
age = Integer.parseInt(ageJTextField.getText());
startJPanel.setVisible(false);
showJPanel.setVisible(false);
helpJPanel.setVisible(true);
infoJTextArea.setText("\n Welcome "+name+" you will soon know how " +
"fast your reactions are");
catch (NumberFormatException exception)
JOptionPane.showMessageDialog(this,
"There is either a blank field or a number hasn't been entered",
"Input Type error", JOptionPane.ERROR_MESSAGE);
//shows this is something has been entered wrong
private void startTest()
helpJPanel.setVisible(false);
shape = shapes[seed.nextInt(shapes.length)];
testJPanel.setShape(shape);
testJPanel.setVisible(true);
testJPanel.start();
startTime = System.currentTimeMillis();
infoJTextArea.setText("");
* called by animation panel after shape is clicked
public void stop()
endTime = System.currentTimeMillis();
movingObject();
* called by timer actionPerformed in ShapeMovingPanel
public void updateTime()
long timeNow = System.currentTimeMillis();
double elapsed = (timeNow - startTime)/1000.0;
timerJTextField.setText(timeDec.format(elapsed));
* this will compete with your animation
* ie, it will slow it down or make it appear jerky
public void mouseMoved(MouseEvent e)
saySomething("\n Mouse moved", e);
public void mouseDragged(MouseEvent e)
saySomething("\n Mouse dragged", e);
void saySomething(String eventDescription, MouseEvent e)
infoJTextArea.append(eventDescription
+ " (" + e.getX() + "," + e.getY() + ")");
infoJTextArea.setCaretPosition(infoJTextArea.getDocument().getLength());
private void movingObject()
testJPanel.setVisible(false);
resultsJPanel.setVisible(true);
nameResultJTextField.setText(name);
ageResultsJTextField.setText(String.valueOf(age)+" years old");
double elapsedTime = (endTime - startTime)/1000.0;
timeLimit = (int)elapsedTime;
timeResultsJTextField.setText(timeDec.format(elapsedTime)+" seconds");
String mouse = infoJTextArea.getText();
String tick = timeDec.format(elapsedTime);
try
// create a file called welch.txt
final FileWriter outputFile = new FileWriter(name+".txt", true);
final BufferedWriter outputBuffer = new BufferedWriter(outputFile);
// converts data to a formatted string
final PrintWriter printstream = new PrintWriter(outputBuffer);
printstream.println("The person's name is: "+name);
printstream.println("There age is: "+age);
printstream.println("Time taken: "+tick+" seconds");
printstream.println("The mouse moved as follows: "+mouse);
//states what needs to be printed to the new file
printstream.close(); // closes teh printstream
catch(IOException eio)
//catchs the IO exception
if(timeLimit<5)
ratingJTextField.setText("Thierry Henry");
if(timeLimit>5)
ratingJTextField.setText("Average");
if(timeLimit>10)
ratingJTextField.setText("You gotta be fat or something");
if(timeLimit>20)
ratingJTextField.setText("See a doctor");
String rate=ratingJTextField.getText();
private void showData()
// String results = "";
// infoJTextArea.setText("Here are your results:\n"+results);
startJPanel.setVisible(false);
showJPanel.setVisible(true);
class ShapeMovingPanel extends JPanel implements ActionListener
RT host;
Timer timer;
Shape shape, xformed;
int x, y, dx, dy;
public ShapeMovingPanel(RT rt)
host = rt;
timer = new Timer(25, this);
x = 0;
y = 0;
dx = 2;
dy = 3;
setBackground(Color.pink);
addMouseListener(new ShapeTender());
public void actionPerformed(ActionEvent e)
int w = getWidth();
int h = getHeight();
if(w <= 0 || h <= 0)
return;
checkBoundries(w,h);
x += dx;
y += dy;
repaint();
// update RT.timerJTextField
host.updateTime();
private void checkBoundries(int w, int h)
Rectangle r = xformed.getBounds();
Insets insets = getInsets();
if(r.x + dx < insets.left || r.x + r.width + dx > w - insets.right)
dx *= -1;
if(r.y + dy < insets.top || r.y + r.height + dy > h - insets.bottom)
dy *= -1;
protected void paintComponent(Graphics g)
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
AffineTransform at = AffineTransform.getTranslateInstance(x, y);
g2.setPaint(Color.red);
xformed = at.createTransformedShape(shape);
g2.draw(xformed);
public void start()
if(!timer.isRunning())
timer.start();
public void setShape(Shape s)
shape = s;
Rectangle r = shape.getBounds();
x = r.x;
y = r.y;
repaint();
private class ShapeTender extends MouseAdapter
public void mousePressed(MouseEvent e)
if(xformed.contains(e.getPoint()))
timer.stop();
host.stop();
} -
MacBook Pro 13" Late 2011 Experiencing Significant Slow Down After Boot Camp Installation
Okay, so today, after installing Windows 7 on my MacBook Pro via Bootcamp Assistant, I experienced significant performance slow down (fans going at full blast, applications opening after extended periods of time, keystrokes not being registered) when I returned to my OS X partition/second hard drive. I have dual hard drives, one of them being a Samsung 256 GB SSD with OS X Mavericks and the other being my original 500 GB HDD, divided into a 250 GB OS X Mavericks partition and a 250 GB Windows partition. I have the SSD set as my startup disk and I have it located in the main HDD bay. I moved the old HDD into a caddy and placed it where the optical drive normally should be.
After multiple failed attempts to install Windows via USB and Bootcamp Assistant, I decided to reinstall my optical drive and use a Windows installation disk. This attempt proved successful, and I was able to install Windows 7 onto the 250 GB partition I had created for it on the 500 GB HDD. After completing basic setup of Windows, I removed the optical disk drive and reinstalled the SSD and the HDD into their original spots (SSD in the main HDD bay, HDD in the caddy where the optical drive normally is).
After completing this tedious process, I booted my Mac back up using the SSD. However, I noticed something was wrong when the login screen, apps, and nearly everything else on my desktop had slowed to crawl. I decided to check my Activity Monitor to see what the problem might be. Activity Monitor told me that the task "kernel_task" was taking up anywhere from 200-600% of my CPU, which explained the slowdown in performance. I looked around to see if there were others with the same problem as me, and I found that Spotlight Indexing might be an issue, with a potential remedy being move my Bootcamp Partition into the Privacy section of Spotlight under System Preferences. After doing that, I experienced no increase in performance and everything was still going very slowly.
The next step I took was to see if booting into Safe Mode would help the issue. After booting into Safe Mode on my SSD, I noticed that things were back to their normal speeds, with applications opening at the speed they should be and keystrokes being registered instantaneously. However, the fans were still going and had not shut off once booting into Safe Mode. In addition, I checked Activity Monitor and the "kernel_task" in question was no longer taking up massive amounts of the CPU.
At this point, I don't know what to do and I need help in restoring my Mac to original speeds. I may end up deleting my Boot Camp partition as a last measure if all else fails, seeing as I installed Windows in the first place for running a few programs and games that I can live without. However, I'd prefer to not have things come to that and fix things before deleting the Boot Camp Partition. I've heard that if everything runs normally in Safe Mode, then the issue is third-party software. Is this true?
Any help would be greatly appreciated as I am writing this from the MacBook in question in Safe Mode because it's essentially useless in normal SSD operation.1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
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.
4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
5. 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.
6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
Triple-click anywhere in the line of text below on this page to select it:
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' \*AutoCad \*dropbox \*GoogleDr\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */ /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/ { next;} /(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -depth 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 4 3 32 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
Copy the selected text to the Clipboard by pressing the key combination command-C.
7. Launch the built-in Terminal application in any of the following ways:
Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
8. 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.
9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
[Process completed]
to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
At the top of the results, there will be a line that begins with the words "Start Time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed. -
InDesign CC slows down significantly upon placing a Microsoft Word for Mac 2011 file
I'm running the latest Mavericks OS on a brand new iMac 27" 3.5 GHz Intel Core i7 computer with 32 GB RAM. The slowdown occurs even if ID is the only app running.
The Word files consist mainly of text which are typically book maunscripts. It doesn't seem to matter whether the files are large or small. They all cause ID to slow down. We want to import the Word files so as to preserve mainly any italics.
Once the ID document contains a placed MS Word file, the slows are apparent mainly in:
Selecting a text box: 20-30 sec lag waiting for the beachball until it selects
Clicking to place the insertion mark: an additional 20-30 sec
Placing an image file: 20-30 sec for the import dialog to appear, 20-30 sec after the open button is clicked for the selected image to appear on the page
We've tried uninstalling ID CC via the script in the app folder.
We've also completely uninstalled MS Word follow MS's instructions, and reinstalling Word.
We've cleaned up our fonts with Extensis' Font Doctor.
We've deleted fonts we don't use.
One of the main reasons for buying the new iMac was to hopefully benefit from the enhanced processing power, additional RAM, and clean installs of the software.
What else can we try?
Page layout for books using ID CC with Word is the bulk of our work and we need to resolve this matter ASAP.Thanks for the info, Bob. We've been Adobe pro customers since '87 and have been through a number of such hardware/software "leapfrogs." We basically love the CC products and the new Macs and Mavericks, so we're looking forward to the updates.
-
Last section of audio is being slowed down and distorted in Captivate 5
I have recorded a series of mini software demos in Captivate 5 (all saved as separate files) and then imported audio on top of the demos split over several slides.
I have then created a master demo and copied all of the slides from the mini demos in to the one master. It seems that in copying the slides from the original files to the master something is happening to the audio..
The audio on the individual slides plays correctly, however when played from the master, the last part of the audio on the last section of the slide copied over is slowed right down.
This has happened on a number of the individual demos copied over, and I have no idea why this is happening.
I have tried deleting the audio out of the master and re-copying the individual components but each time exactly the same occursMy apologies! I should have read your post more carefully. My bad.
This is a wierd issue.
What happens if you export the audio files out of the original demos, then import that audio into the master as individual files, and then insert these imported clips into their relevant slides? Is the audio still slowing down near the end? -
I made eight radio buttons exclusive by each other. But It made the
original program slow down. I insert them parallel to the original
program, ie, they are excuted at the same time, I think. But I found
that the speed before I insert it is faster than after. I think If I
use the exclusive radio buttons made by ni , the program will execute
faster. but there aren't eight radio buttons I can choose. How can I
do ? Or How can I make some changes to the slide that I will get the
result like NI does?You'll have to give the processor some time. In the parallel loop, put a
'Wait (ms)' from the Time & Diaglog pallete. Wire e.g. 10 to it, and the
computer has some time to do other processes (like the other loop, and
updating the user interface).
When you have something like this, you can open the task manager (win nt,
win 2000). If it it this problem, the processor uses 100% processor time.
Regards,
Wiebe.
"Rosa" wrote in message
news:[email protected]..
> I made eight radio buttons exclusive by each other. But It made the
> original program slow down. I insert them parallel to the original
> program, ie, they are excuted at the same time, I think. But I found
> that the speed before I insert it is fa
ster than after. I think If I
> use the exclusive radio buttons made by ni , the program will execute
> faster. but there aren't eight radio buttons I can choose. How can I
> do ? Or How can I make some changes to the slide that I will get the
> result like NI does? -
Mac Mini 2011 slow down after updating to Yosemite
Hi all!
After updating my Mac Mini (half 2011) from Mavericks to Yosemite, it became extremely slow and unresponsive. I have to wait a lot of time for apps to open and commands, like clicking a button, to be executed executed. File Vault, that I read is a common cause of slow down, is NOT enabled.
What should I do? In these cases, for my Windows PC, I insert the OS DVD and format: what's the equivalent operation for a Mac?
Thank you in advance for your help!K1kk0z90 wrote:
What should I do?
Buy more RAM - a lot more. -
Automator/Workflow slow downs under Mac OS X 10.6
Hi,
after the update to SL some of my Automator Workflows dont work properly.
I do things like copy some part of sentence from a .rtf document and insert it into a input box of a website in firefox.
In 10.5.8 everything worked like a charm. But in 10.6 the same workflow (also new created) works some times and the other time it slows down and the cursor moves like a stopmotion movie. Pixel for pixel and i cannot stop the workflow. I only can wait until the workflow is finished (takes in "slow-down" mode 30 minutes) or i do a hardreset. I wonder if anyone else such of this problems with automator under 10.6
I tested the same things with my mac mini that i didnt upgraded and it works like expected.
I think you can reproduce the behaviour, if you create a new .rtf document with numbers from one to twelve and make a workflow where you mark 4 letters, cut, bring firefox to front, paste into form, go to .rtf, mark next 4 letters, cut, go to firefox, paste into form, doing that until there are no more letters.
very curious...none of mine work!
irritating.... let me know if you find a fix or if we just have to wait for 10.6.1.... -
My application runs fine for about 1-2 hours and then gradually it slows down. I have a jtable which displays records and which dynamically inserts, updates and deletes rows. There are two columns which display timer value. The problem is in displaying the timer. It slows down gradually and after 5-6 hours, it stops updating. How can I rectify this problem?
Regds,
AjitTry forcing the garbage collector once every so often
-
Scan slows down with each increment of loop
Hi
I am using labview to raster scan a piezo stage and collect fluorescence. To do the scanning, I have an X loop and a Y loop. Each iteration of the loop steps a voltage which is output (using DAQmx assistant) through a PCI 6229. It's very bizarre because the scan rate starts very fast (I monitor by probing the X) but subtly slows down after each iteration. When I stop the application and restart (without exiting labview) it remains slow and even gets slower. When I exit Labview and restart the program, it begins fast again, and then slows down. Any ideas??A very inefficient programming method is your use of "insert into array" to append new data, especially since you insert a column at a time. The way the data is linearly arranged in memory, replacing a column requires rewriting of the entire array every time because the new elements are not consecutive in memory.
(I would think that appending a row at a time would be slightly more efficient, because they would be written consecutively, and at the end of the array in your case. This would be identical to a simple "built array" node).
Still, all these methods cause a resizing operation of the array, always an expensive condition that should be avoided.
Preallocating a fixed size array, then replacing rowns as you go is the most efficient. The array memory is allocated once.
You should update your graph as little as practical, so definitely not a pixel at a time. A row at a time is probably OK but if the loop rate is very fast, you could even put the graph in a case structure and update only every 10th iteration.
LabVIEW Champion . Do more with less code and in less time . -
Troubleshooting slow down on G5 PowerMac (PPC May 05)
My PowerMac is slow to load internet pages and slow to function when moving around in applications. I try to keep only the essentials running and limit the number of windows open, but to no avail. I just tried to burn a DVD, and it didn't burn evenly. The DVD catches and slows down randomly.
I don't know where to begin troubleshooting this issue. I've tried changing the performance in Energy Saver Pane of System Preferences, but that hasn't helped. My OS is up to date. If this is a processor thing or I need more RAM, I really just don't know how to proceed.
Any advice or troubleshooting suggestions would be extremely helpful.Hi appleclaire:
1) Try using Disk Utikity to 'Repair Permissions' and 'Verify/Repair' Disk. You may need to start from you system DVD ie:
"To use the Install Mac OS X disc, insert the disc and restart your computer holding down the"C" Key OR (Option key and then select the Install Mac OS X disc and click the arrow).
Open Disk Utility.
In the Mac OS X Installer, choose Utilities > Open Disk Utility.
Select the startup disk you want to repair in the list of disks and volumes, then click First Aid.
Click the button to verify or repair the disk or disk permissions.
Check the S.M.A.R.T. status of your hard disk at the bottom of the window. If it shows "Verified," the disk has nothing wrong at this time. If you see "About to Fail" in red letters, back up your files on the disk as soon as possible and replace the disk."
2) Get the free program ONYX and use it to perform 'optimize system- complete' and run ALL the cron scrips - Daily/Weekly/Monthly.
3) You may need to defrag you disk with programs like iDefrag, Techtool Pro 4, Drive Genius, or Speed Tools.
-Robert -
HTMLEditorKit triggers lookupAllHostAddr and slow down the app
Hi,
When I want to dynamically insert HTML code in my HTML Editor kit :
HTMLEditorKit kit = new HTMLEditorKit();
kit.insertHTML(doc, doc.getLength(), chatContent , 0, 0, null);
It always trigger a :
java.net.Inet6AddressImpl.lookupAllHostAddr(String) : java.net.InetAddress 2.114023 2568 ms (2.1%) 2568 ms 1
and it slows down my application a lot.
Would you have any idea to avoid that ?
Thank you very much.
Regards.COuld you post what's the chatContent ?
Would be great if you can post SSCCE to illustrate the problem. -
DT files dropped into Finder and whole Mac slowing down
Hi, I don't really know where to start my thread, so apologies if this is not the right place. My problem is that my Mac has slowed right down suddenly and my various DT files will not reappear (except for a few) when I restart. In fact, the DT is empty until I click at random, after which some of them appear. This all started when I did something that was probably unwise. I wanted to make a copy of my Photo Library for my external drive, so I created a file on the DT to put them in but this operation (about 5000 pictures) never really finished and I can see that these photos are stuck in some kind of DT limbo. What I may have done is drop them into the HD by mistake while I was dragging them to the external disk (?). I think that is what has bunged everything up but I have no idea what to do. I am trying to delete them within Finder but each time I do this I get a message for each individual file saying that the file is being used in another application and that deleting it might damage the other application. I can delete them, except for a few. In any case, this means clicking another 4500 times to delete each one individually, which is a bit beyond me. If anyone can help or direct me to another post, I'll re-post there.
Good! Available 194GB You are nowhere near the 10% mark.
Ok.. since things are slowing down... try booting from your install disk and run the Disk Utility app to check the startup disk for errors. You will need your install disk to do this.
Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
Go to Installer menu (Panther and earlier) or Utilities menu (Tiger and later) and launch Disk Utility.
Select your HDD (manufacturer ID) in the left panel.
Select First Aid in the Main panel.
(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
Click Repair Disk on the bottom right.
If DU reports disk does not need repairs quit DU and restart.
If DU reports errors Repair again and again until DU reports disk is repaired.
When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
Select your start up disk and click Restart
*"like when I first turn it on, it takes forever to go to the users box."*
Open System Preferences/Accounts and select the Login Items tab.
If there are any applications listed there, delete them.
And go to ~/Library/Startup Items. If there are any files in the Startup Items folder, delete those also.
And see if deleting this file helps.
com.apple.loginwindow.plist
/Users/YourName/Library/Preferences. Drag that file to the Preferences folder to the Trash, empty the Trash and restart your Mac.
Carolyn
Message was edited by: Carolyn Samit -
Slowing down or expanding a video clip in iMovie for iPhone 4
Is there a way to expand a short video clip in iMovie for iPhone 4? I can expand a still image, but not a video clip. I would like to take a video clip that lasts 2 seconds and expand it to 15 seconds or longer. The video clip could be slowed down.
I can do this with still images, so I would think I would be able to do this with video clips. For example, when I insert a still image it defaults to 2 seconds with the ken burns effect. I can then expand or shorten the still image to last as long as I want (from 2 seconds to 10 seconds, for example). However, when I insert a short video clip I am not given that option. When I grab the crop button and try to expand the video clip it stops at the end of the clip.
Any suggestions?Thanks Joe, hopefully Apple adds this feature to iMovie soon.
-
Database slow down happeing for aperticular window
Hi,
For last few days we are having a issue with database slow down for a perticular window .We took the awr and ash report for that window and it shows the db file sequential read takes more time for aperticular query.But the same query works fine for rest of the day, so how we find the issue happend at that perticular window?
ThanksHi ,
there is not a single query running for that window, multiple sessions are running which are exceuting various queries.
Here is the AWR report for that window( due to size i could past only first half of thw awr report)
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst num Release RAC Host
GNVPRD 1315880728 GNVPRD 1 10.2.0.4.0 NO tpora02
Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 22711 07-Jul-10 12:00:31 491 15.1
End Snap: 22712 07-Jul-10 13:00:29 550 16.2
Elapsed: 59.97 (mins)
DB Time: 376.21 (mins)
Report Summary
Cache Sizes
Begin End
Buffer Cache: 6,144M 6,144M Std Block Size: 8K
Shared Pool Size: 2,048M 2,048M Log Buffer: 5,200K
Load Profile
Per Second Per Transaction
Redo size: 572,299.00 9,239.63
Logical reads: 129,738.24 2,094.59
Block changes: 3,534.49 57.06
Physical reads: 990.77 16.00
Physical writes: 350.18 5.65
User calls: 3,806.67 61.46
Parses: 438.64 7.08
Hard parses: 2.31 0.04
Sorts: 1,112.23 17.96
Logons: 5.56 0.09
Executes: 4,926.11 79.53
Transactions: 61.94
% Blocks changed per Read: 2.72 Recursive Call %: 63.19
Rollback per transaction %: 0.21 Rows per Sort: 9.73
Instance Efficiency Percentages (Target 100%)
Buffer Nowait %: 99.99 Redo NoWait %: 100.00
Buffer Hit %: 99.25 In-memory Sort %: 100.00
Library Hit %: 99.70 Soft Parse %: 99.47
Execute to Parse %: 91.10 Latch Hit %: 99.89
Parse CPU to Parse Elapsd %: 95.41 % Non-Parse CPU: 98.92
Shared Pool Statistics
Begin End
Memory Usage %: 87.11 87.32
% SQL with executions>1: 71.59 67.41
% Memory for SQL w/exec>1: 78.66 77.94
Top 5 Timed Events
Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
db file sequential read 2,120,397 9,932 5 44.0 User I/O
CPU time 9,284 41.1
db file parallel write 25,213 6,943 275 30.8 System I/O
enq: RO - fast object reuse 553 1,388 2,510 6.1 Application
log file parallel write 200,039 685 3 3.0 System I/O
Main Report
• Report Summary
• Wait Events Statistics
• SQL Statistics
• Instance Activity Statistics
• IO Stats
• Buffer Pool Statistics
• Advisory Statistics
• Wait Statistics
• Undo Statistics
• Latch Statistics
• Segment Statistics
• Dictionary Cache Statistics
• Library Cache Statistics
• Memory Statistics
• Streams Statistics
• Resource Limit Statistics
• init.ora Parameters
Back to Top
Wait Events Statistics
• Time Model Statistics
• Wait Class
• Wait Events
• Background Wait Events
• Operating System Statistics
• Service Statistics
• Service Wait Class Stats
Back to Top
Time Model Statistics
• Total time in database user-calls (DB Time): 22572.5s
• Statistics including the word "background" measure background process time, and so do not contribute to the DB time statistic
• Ordered by % or DB time desc, Statistic name
Statistic Name Time (s) % of DB Time
sql execute elapsed time 21,791.55 96.54
DB CPU 9,283.91 41.13
PL/SQL execution elapsed time 835.47 3.70
connection management call elapsed time 217.19 0.96
parse time elapsed 108.39 0.48
hard parse elapsed time 65.36 0.29
RMAN cpu time (backup/restore) 6.94 0.03
repeated bind elapsed time 1.67 0.01
sequence load elapsed time 1.35 0.01
PL/SQL compilation elapsed time 1.13 0.01
inbound PL/SQL rpc elapsed time 0.46 0.00
hard parse (sharing criteria) elapsed time 0.13 0.00
failed parse elapsed time 0.11 0.00
DB time 22,572.52
background elapsed time 8,108.80
background cpu time 239.28
Back to Wait Events Statistics
Back to Top
Wait Class
• s - second
• cs - centisecond - 100th of a second
• ms - millisecond - 1000th of a second
• us - microsecond - 1000000th of a second
• ordered by wait time desc, waits desc
Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
User I/O 2,252,192 0.00 10,358 5 10.11
System I/O 290,991 0.00 7,754 27 1.31
Application 989 52.88 1,713 1732 0.00
Other 9,008 4.32 862 96 0.04
Commit 123,032 0.01 663 5 0.55
Network 8,045,193 0.00 322 0 36.10
Administrative 8,083 0.00 222 28 0.04
Concurrency 14,492 1.19 21 1 0.07
Configuration 1,039 31.18 3 3 0.00
Back to Wait Events Statistics
Back to Top
Wait Events
• s - second
• cs - centisecond - 100th of a second
• ms - millisecond - 1000th of a second
• us - microsecond - 1000000th of a second
• ordered by wait time desc, waits desc (idle events last)
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
db file sequential read 2,120,397 0.00 9,932 5 9.51
db file parallel write 25,213 0.00 6,943 275 0.11
enq: RO - fast object reuse 553 82.46 1,388 2510 0.00
log file parallel write 200,039 0.00 685 3 0.90
log file sync 123,032 0.01 663 5 0.55
rdbms ipc reply 417 57.31 486 1166 0.00
db file scattered read 58,713 0.00 334 6 0.26
enq: TX - row lock contention 212 31.60 325 1535 0.00
enq: CI - contention 203 32.02 230 1132 0.00
SQL*Net more data from dblink 697 0.00 197 283 0.00
enq: TX - contention 50 92.00 142 2840 0.00
Backup: sbtwrite2 8,070 0.00 92 11 0.04
read by other session 26,250 0.00 87 3 0.12
SQL*Net more data from client 111,270 0.00 79 1 0.50
Backup: sbtbackup 2 0.00 61 30738 0.00
Backup: sbtremove2 1 0.00 58 57528 0.00
log file sequential read 2,031 0.00 50 25 0.01
Log archive I/O 2,012 0.00 46 23 0.01
SQL*Net more data to client 525,719 0.00 42 0 2.36
RMAN backup & recovery I/O 3,995 0.00 17 4 0.02
control file parallel write 2,081 0.00 11 5 0.01
row cache lock 13 15.38 7 517 0.00
Backup: sbtclose2 2 0.00 6 3210 0.00
latch: cache buffers chains 9,632 0.00 6 1 0.04
Backup: sbtinfo2 2 0.00 4 2249 0.00
SQL*Net message to client 7,407,395 0.00 4 0 33.24
Data file init write 130 0.00 3 26 0.00
latch: library cache 2,556 0.00 3 1 0.01
db file single write 666 0.00 2 3 0.00
control file sequential read 55,562 0.00 2 0 0.25
cursor: pin S wait on X 175 97.14 2 10 0.00
latch free 952 0.21 1 1 0.00
log file switch completion 46 0.00 1 26 0.00
latch: cache buffers lru chain 1,025 0.00 1 1 0.00
os thread startup 12 0.00 1 88 0.00
control file single write 48 0.00 1 21 0.00
write complete waits 1 100.00 1 977 0.00
latch: library cache pin 706 0.00 1 1 0.00
log buffer space 126 0.79 1 5 0.00
LGWR wait for redo copy 3,688 0.41 1 0 0.02
latch: row cache objects 460 0.00 1 1 0.00
switch logfile command 3 0.00 0 162 0.00
enq: TX - index contention 22 0.00 0 18 0.00
library cache lock 1 0.00 0 341 0.00
latch: shared pool 137 0.00 0 2 0.00
latch: enqueue hash chains 103 0.00 0 3 0.00
wait list latch free 9 0.00 0 21 0.00
latch: object queue header operation 137 0.00 0 1 0.00
library cache load lock 6 0.00 0 25 0.00
kksfbc child completion 4 75.00 0 37 0.00
latch: messages 493 0.00 0 0 0.00
SQL*Net break/reset to client 224 0.00 0 1 0.00
latch: session allocation 258 0.00 0 1 0.00
latch: cache buffer handles 125 0.00 0 1 0.00
db file parallel read 12 0.00 0 10 0.00
reliable message 85 0.00 0 1 0.00
buffer busy waits 543 0.00 0 0 0.00
latch: redo writing 543 0.00 0 0 0.00
latch: redo allocation 65 0.00 0 1 0.00
Backup: sbtinit 1 0.00 0 66 0.00
log file single write 10 0.00 0 6 0.00
latch: In memory undo latch 171 0.00 0 0 0.00
direct path read temp 45,810 0.00 0 0 0.21
cursor: pin S 1,325 0.00 0 0 0.01
Backup: sbtend 1 0.00 0 29 0.00
latch: library cache lock 56 0.00 0 0 0.00
log file switch (private strand flush incomplete) 1 0.00 0 21 0.00
latch: checkpoint queue latch 45 0.00 0 0 0.00
ktfbtgex 1 100.00 0 10 0.00
buffer deadlock 18 100.00 0 0 0.00
undo segment extension 322 100.00 0 0 0.00
latch: undo global data 4 0.00 0 1 0.00
direct path write temp 208 0.00 0 0 0.00
SQL*Net message to dblink 112 0.00 0 0 0.00
cursor: mutex S 2 0.00 0 0 0.00
Backup: sbtinit2 1 0.00 0 0 0.00
direct path read 2 0.00 0 0 0.00
direct path write 4 0.00 0 0 0.00
enq: CF - contention 1 0.00 0 0 0.00
SQL*Net message from client 7,407,362 0.00 499,728 67 33.24
wait for unread message on broadcast channel 5,829 100.00 5,696 977 0.03
Streams AQ: waiting for messages in the queue 739 100.00 3,512 4752 0.00
jobq slave wait 538 96.65 1,563 2905 0.00
SQL*Net message from dblink 113 0.00 188 1663 0.00
single-task message 6 0.00 1 91 0.00
class slave wait 2 0.00 0 1 0.00
Back to Wait Events Statistics
Back to Top
Background Wait Events
• ordered by wait time desc, waits desc (idle events last)
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
db file parallel write 25,213 0.00 6,943 275 0.11
log file parallel write 200,053 0.00 685 3 0.90
log file sequential read 2,003 0.00 50 25 0.01
Log archive I/O 1,985 0.00 46 23 0.01
events in waitclass Other 5,075 0.35 36 7 0.02
control file parallel write 1,926 0.00 11 5 0.01
db file single write 665 0.00 2 3 0.00
db file scattered read 70 0.00 2 21 0.00
os thread startup 12 0.00 1 88 0.00
log buffer space 121 0.83 0 3 0.00
control file sequential read 3,436 0.00 0 0 0.02
latch: redo writing 543 0.00 0 0 0.00
log file single write 10 0.00 0 6 0.00
latch: cache buffers chains 9 0.00 0 1 0.00
buffer busy waits 4 0.00 0 0 0.00
latch: In memory undo latch 5 0.00 0 0 0.00
latch: shared pool 1 0.00 0 0 0.00
db file sequential read 2,486 0.00 -0 -0 0.01
rdbms ipc message 270,474 6.59 53,843 199 1.21
pmon timer 1,199 99.92 3,506 2924 0.01
smon timer 5,152 0.00 3,477 675 0.02
class slave wait 1 0.00 0 1 0.00
Back to Wait Events Statistics
Back to Top
Operating System Statistics
Statistic Total
AVG_BUSY_TIME 97,613
AVG_IDLE_TIME 250,683
AVG_IOWAIT_TIME 50,858
AVG_SYS_TIME 40,172
AVG_USER_TIME 57,332
BUSY_TIME 1,563,616
IDLE_TIME 4,012,607
IOWAIT_TIME 815,513
SYS_TIME 644,464
USER_TIME 919,152
LOAD 1
OS_CPU_WAIT_TIME ###############
RSRC_MGR_CPU_WAIT_TIME 0
VM_IN_BYTES 8,159,232
VM_OUT_BYTES 0
PHYSICAL_MEMORY_BYTES ###############
NUM_CPUS 16
NUM_CPU_SOCKETS 16
Back to Wait Events Statistics
Back to Top
Service Statistics
• ordered by DB Time
Service Name DB Time (s) DB CPU (s) Physical Reads Logical Reads
GNVPRD 19,725.00 6,820.70 2,875,582 406,809,618
SYS$USERS 2,809.60 2,432.80 689,519 59,435,406
SYS$BACKGROUND 0.00 0.00 5,952 50,964
Back to Wait Events Statistics
Back to Top
Service Wait Class Stats
• Wait Class info for services in the Service Statistics section.
• Total Waits and Time Waited displayed for the following wait classes: User I/O, Concurrency, Administrative, Network
• Time Waited (Wt Time) in centisecond (100th of a second)
Service Name User I/O Total Wts User I/O Wt Time Concurcy Total Wts Concurcy Wt Time Admin Total Wts Admin Wt Time Network Total Wts Network Wt Time
GNVPRD 2174758 999257 13651 1341 8083 22246 7947374 32088
SYS$USERS 73011 35601 774 692 0 0 37787 71
SYS$BACKGROUND 4214 913 31 107 0 0 0 0
Back to Wait Events Statistics
Back to Top
SQL Statistics
• SQL ordered by Elapsed Time
• SQL ordered by CPU Time
• SQL ordered by Gets
• SQL ordered by Reads
• SQL ordered by Executions
• SQL ordered by Parse Calls
• SQL ordered by Sharable Memory
• SQL ordered by Version Count
• Complete List of SQL Text
Back to Top
SQL ordered by Elapsed Time
• Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
• % Total DB Time is the Elapsed Time of the SQL statement divided into the Total Database Time multiplied by 100
Elapsed Time (s) CPU Time (s) Executions Elap per Exec (s) % Total DB Time SQL Id SQL Module SQL Text
1,646 200 3,382 0.49 7.29 gj4cun71t2tdz
RATE@tpora02 (TNS V1-V3) select cprd.event_num, cp...
1,476 71 1,724 0.86 6.54 90rxahqy9rntt
RATE@tpora02 (TNS V1-V3) SELECT CUSTEVENTSOURCE.EVENT_S...
1,323 47 1,897 0.70 5.86 bj2k1at7aa2jr
RATE@tpora02 (TNS V1-V3) INSERT INTO COSTEDEVENT (ACCOU...
1,219 220 68,594 0.02 5.40 0s3n1qq8m9qvj
DEBTage@tpora02 (TNS V1-V3) SELECT BILLSUMMARY.ACCOUNT_NUM...
1,112 718 6 185.27 4.92 4rz598nkvfmq6
SQL*Plus begin TPP_REFILLS; end;
989 139 133,363 0.01 4.38 azck89hzzsxzs
JDBC Connect Client SELECT NVL(A.OVERDUE, 0), TO_N...
855 530 1,121 0.76 3.79 ata582x7aa4m7
custaccmaintenance.exe SELECT CPD2.START_DAT "START_D...
788 736 1,006 0.78 3.49 dx0tmr2qk5gtc
JDBC Connect Client BEGIN GENEVA_ADMIN.GNV_BE_PROD...
703 700 345 2.04 3.12 ctfptvsjzpk91
JDBC Connect Client SELECT 1 FROM PVCUSTHASPRODUCT...
676 441 1,121 0.60 3.00 3tb8v001ab9us
custaccmaintenance.exe SELECT DISTINCT C.START_DAT "S...
630 596 4 157.57 2.79 gbrschujps752
oracle@tpora04 (TNS V1-V3) SELECT "A1"."ACCOUNT_NUM"||'|'...
554 544 169 3.28 2.46 gzyxsfa4x9jc9
JDBC Connect Client BEGIN GENEVA_ADMIN.GNV_BE_PAYM...
512 238 2,059,483 0.00 2.27 4nt4x1ty34034
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
475 113 133,143 0.00 2.11 70gcpfy5mud9z
JDBC Connect Client SELECT COUNT(*) FROM PVDEBTESC...
451 152 6 75.23 2.00 9c0hw716bqzra
SQL*Plus begin TPP_COLLECTION...
437 148 6 72.81 1.94 0d4axgbm13s4q
SQL*Plus begin TPP_COLLECTION...
422 131 5 84.44 1.87 axun401xz5b9n
SQL*Plus begin TPP_COLLECTION...
413 99 7 58.98 1.83 0d6b7w315bm45
SQL*Plus DECLARE l_stream nu...
392 80 6 65.26 1.73 bxhccjz09f6gr
SQL*Plus (SELECT DISTINCT AC.ACCOUNT_NU...
385 146 6 64.20 1.71 3abjdvpx6d1km
SQL*Plus begin TPP_COLLECTION...
368 129 5 73.69 1.63 brqj2987r5qug
SQL*Plus begin TPP_COLLECTION...
339 128 5 67.89 1.50 2t3dbft8xna14
SQL*Plus begin TPP_COLLECTION...
335 10 165,568 0.00 1.48 fkp4mg3g9pxhj
RATE@tpora02 (TNS V1-V3) SELECT ACCOUNTRATING.ACCOUNT_N...
299 143 6 49.85 1.33 7zybhxkwuwsz5
SQL*Plus begin TPP_COLLECTION...
290 150 2,087,640 0.00 1.29 4wbvga5zfrw8j
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
279 103 132,265 0.00 1.24 3r6cw5a8hkm0m
SQL*Plus SELECT NVL2(SUPPLIER_ORDER_NUM...
273 272 1,057 0.26 1.21 f5rca5d6by0mz
JDBC Connect Client SELECT MAX(PROCESS_START) FROM...
260 258 966 0.27 1.15 1k5g1um0u2ty9
JDBC Connect Client SELECT COUNT(*) FROM TPP_COLLE...
226 225 169 1.34 1.00 7tz06amad7rhh
JDBC Connect Client UPDATE GNV_TR_ADDPAYMENT SET P...
Back to SQL Statistics
Back to Top
SQL ordered by CPU Time
• Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
• % Total DB Time is the Elapsed Time of the SQL statement divided into the Total Database Time multiplied by 100
CPU Time (s) Elapsed Time (s) Executions CPU per Exec (s) % Total DB Time SQL Id SQL Module SQL Text
736 788 1,006 0.73 3.49 dx0tmr2qk5gtc
JDBC Connect Client BEGIN GENEVA_ADMIN.GNV_BE_PROD...
718 1,112 6 119.66 4.92 4rz598nkvfmq6
SQL*Plus begin TPP_REFILLS; end;
700 703 345 2.03 3.12 ctfptvsjzpk91
JDBC Connect Client SELECT 1 FROM PVCUSTHASPRODUCT...
596 630 4 148.95 2.79 gbrschujps752
oracle@tpora04 (TNS V1-V3) SELECT "A1"."ACCOUNT_NUM"||'|'...
544 554 169 3.22 2.46 gzyxsfa4x9jc9
JDBC Connect Client BEGIN GENEVA_ADMIN.GNV_BE_PAYM...
530 855 1,121 0.47 3.79 ata582x7aa4m7
custaccmaintenance.exe SELECT CPD2.START_DAT "START_D...
441 676 1,121 0.39 3.00 3tb8v001ab9us
custaccmaintenance.exe SELECT DISTINCT C.START_DAT "S...
272 273 1,057 0.26 1.21 f5rca5d6by0mz
JDBC Connect Client SELECT MAX(PROCESS_START) FROM...
258 260 966 0.27 1.15 1k5g1um0u2ty9
JDBC Connect Client SELECT COUNT(*) FROM TPP_COLLE...
238 512 2,059,483 0.00 2.27 4nt4x1ty34034
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
225 226 169 1.33 1.00 7tz06amad7rhh
JDBC Connect Client UPDATE GNV_TR_ADDPAYMENT SET P...
220 1,219 68,594 0.00 5.40 0s3n1qq8m9qvj
DEBTage@tpora02 (TNS V1-V3) SELECT BILLSUMMARY.ACCOUNT_NUM...
200 1,646 3,382 0.06 7.29 gj4cun71t2tdz
RATE@tpora02 (TNS V1-V3) select cprd.event_num, cp...
152 451 6 25.38 2.00 9c0hw716bqzra
SQL*Plus begin TPP_COLLECTION...
150 290 2,087,640 0.00 1.29 4wbvga5zfrw8j
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
148 437 6 24.62 1.94 0d4axgbm13s4q
SQL*Plus begin TPP_COLLECTION...
146 385 6 24.34 1.71 3abjdvpx6d1km
SQL*Plus begin TPP_COLLECTION...
143 299 6 23.82 1.33 7zybhxkwuwsz5
SQL*Plus begin TPP_COLLECTION...
139 989 133,363 0.00 4.38 azck89hzzsxzs
JDBC Connect Client SELECT NVL(A.OVERDUE, 0), TO_N...
131 422 5 26.21 1.87 axun401xz5b9n
SQL*Plus begin TPP_COLLECTION...
129 368 5 25.82 1.63 brqj2987r5qug
SQL*Plus begin TPP_COLLECTION...
128 339 5 25.61 1.50 2t3dbft8xna14
SQL*Plus begin TPP_COLLECTION...
113 475 133,143 0.00 2.11 70gcpfy5mud9z
JDBC Connect Client SELECT COUNT(*) FROM PVDEBTESC...
103 279 132,265 0.00 1.24 3r6cw5a8hkm0m
SQL*Plus SELECT NVL2(SUPPLIER_ORDER_NUM...
99 413 7 14.11 1.83 0d6b7w315bm45
SQL*Plus DECLARE l_stream nu...
80 392 6 13.38 1.73 bxhccjz09f6gr
SQL*Plus (SELECT DISTINCT AC.ACCOUNT_NU...
71 1,476 1,724 0.04 6.54 90rxahqy9rntt
RATE@tpora02 (TNS V1-V3) SELECT CUSTEVENTSOURCE.EVENT_S...
47 1,323 1,897 0.02 5.86 bj2k1at7aa2jr
RATE@tpora02 (TNS V1-V3) INSERT INTO COSTEDEVENT (ACCOU...
10 335 165,568 0.00 1.48 fkp4mg3g9pxhj
RATE@tpora02 (TNS V1-V3) SELECT ACCOUNTRATING.ACCOUNT_N...
Back to SQL Statistics
Back to Top
SQL ordered by Gets
• Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
• Total Buffer Gets: 466,834,523
• Captured SQL account for 66.1% of Total
Buffer Gets Executions Gets per Exec %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
97,138,090 1,121 86,653.07 20.81 530.19 855.23 ata582x7aa4m7
custaccmaintenance.exe SELECT CPD2.START_DAT "START_D...
88,649,958 1,121 79,081.14 18.99 441.39 676.20 3tb8v001ab9us
custaccmaintenance.exe SELECT DISTINCT C.START_DAT "S...
21,778,221 1,006 21,648.33 4.67 735.64 787.60 dx0tmr2qk5gtc
JDBC Connect Client BEGIN GENEVA_ADMIN.GNV_BE_PROD...
21,179,373 3,382 6,262.38 4.54 199.85 1646.41 gj4cun71t2tdz
RATE@tpora02 (TNS V1-V3) select cprd.event_num, cp...
20,355,429 345 59,001.24 4.36 699.56 703.43 ctfptvsjzpk91
JDBC Connect Client SELECT 1 FROM PVCUSTHASPRODUCT...
18,462,542 6 3,077,090.33 3.95 717.94 1111.60 4rz598nkvfmq6
SQL*Plus begin TPP_REFILLS; end;
13,979,364 169 82,718.13 2.99 544.48 554.28 gzyxsfa4x9jc9
JDBC Connect Client BEGIN GENEVA_ADMIN.GNV_BE_PAYM...
9,484,600 2,087,640 4.54 2.03 150.20 290.38 4wbvga5zfrw8j
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
8,370,348 2,059,483 4.06 1.79 237.85 512.20 4nt4x1ty34034
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
8,208,700 6 1,368,116.67 1.76 152.29 451.37 9c0hw716bqzra
SQL*Plus begin TPP_COLLECTION...
7,928,935 6 1,321,489.17 1.70 147.70 436.85 0d4axgbm13s4q
SQL*Plus begin TPP_COLLECTION...
7,864,331 6 1,310,721.83 1.68 142.91 299.11 7zybhxkwuwsz5
SQL*Plus begin TPP_COLLECTION...
7,821,595 6 1,303,599.17 1.68 146.06 385.22 3abjdvpx6d1km
SQL*Plus begin TPP_COLLECTION...
7,774,307 1,057 7,355.07 1.67 271.82 273.33 f5rca5d6by0mz
JDBC Connect Client SELECT MAX(PROCESS_START) FROM...
7,073,493 784 9,022.31 1.52 222.56 224.41 dvhuu9xxtth12
SQL*Plus SELECT ACCOUNTATTRIBUTE3, ACCO...
7,003,054 169 41,438.19 1.50 225.02 225.81 7tz06amad7rhh
JDBC Connect Client UPDATE GNV_TR_ADDPAYMENT SET P...
6,824,695 68,594 99.49 1.46 219.66 1218.68 0s3n1qq8m9qvj
DEBTage@tpora02 (TNS V1-V3) SELECT BILLSUMMARY.ACCOUNT_NUM...
6,805,514 5 1,361,102.80 1.46 131.07 422.18 axun401xz5b9n
SQL*Plus begin TPP_COLLECTION...
6,692,517 5 1,338,503.40 1.43 129.11 368.47 brqj2987r5qug
SQL*Plus begin TPP_COLLECTION...
6,615,712 5 1,323,142.40 1.42 128.05 339.44 2t3dbft8xna14
SQL*Plus begin TPP_COLLECTION...
5,860,474 132,265 44.31 1.26 103.31 279.47 3r6cw5a8hkm0m
SQL*Plus SELECT NVL2(SUPPLIER_ORDER_NUM...
5,128,762 5 1,025,752.40 1.10 103.33 177.17 8c6vmvbwp9ja4
SQL*Plus begin TPP_COLLECTION...
Back to SQL Statistics
Back to Top
SQL ordered by Reads
• Total Disk Reads: 3,565,074
• Captured SQL account for 66.6% of Total
Physical Reads Executions Reads per Exec %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
581,050 2 290,525.00 16.30 152.66 195.17 d15cdr0zt3vtp
Oracle Enterprise Manager.Metric Engine SELECT TO_CHAR(current_timesta...
278,588 1,724 161.59 7.81 70.51 1475.54 90rxahqy9rntt
RATE@tpora02 (TNS V1-V3) SELECT CUSTEVENTSOURCE.EVENT_S...
263,588 1,897 138.95 7.39 46.73 1322.83 bj2k1at7aa2jr
RATE@tpora02 (TNS V1-V3) INSERT INTO COSTEDEVENT (ACCOU...
260,337 68,594 3.80 7.30 219.66 1218.68 0s3n1qq8m9qvj
DEBTage@tpora02 (TNS V1-V3) SELECT BILLSUMMARY.ACCOUNT_NUM...
256,696 3,382 75.90 7.20 199.85 1646.41 gj4cun71t2tdz
RATE@tpora02 (TNS V1-V3) select cprd.event_num, cp...
232,825 133,363 1.75 6.53 138.65 988.53 azck89hzzsxzs
JDBC Connect Client SELECT NVL(A.OVERDUE, 0), TO_N...
166,786 7 23,826.57 4.68 98.78 412.88 0d6b7w315bm45
SQL*Plus DECLARE l_stream nu...
152,293 6 25,382.17 4.27 80.25 391.58 bxhccjz09f6gr
SQL*Plus (SELECT DISTINCT AC.ACCOUNT_NU...
91,086 133,143 0.68 2.55 113.14 475.35 70gcpfy5mud9z
JDBC Connect Client SELECT COUNT(*) FROM PVDEBTESC...
75,392 6 12,565.33 2.11 152.29 451.37 9c0hw716bqzra
SQL*Plus begin TPP_COLLECTION...
71,522 6 11,920.33 2.01 147.70 436.85 0d4axgbm13s4q
SQL*Plus begin TPP_COLLECTION...
67,724 132,265 0.51 1.90 103.31 279.47 3r6cw5a8hkm0m
SQL*Plus SELECT NVL2(SUPPLIER_ORDER_NUM...
64,148 2,059,483 0.03 1.80 237.85 512.20 4nt4x1ty34034
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
63,710 5 12,742.00 1.79 131.07 422.18 axun401xz5b9n
SQL*Plus begin TPP_COLLECTION...
56,512 6 9,418.67 1.59 146.06 385.22 3abjdvpx6d1km
SQL*Plus begin TPP_COLLECTION...
52,123 6 8,687.17 1.46 717.94 1111.60 4rz598nkvfmq6
SQL*Plus begin TPP_REFILLS; end;
51,966 5 10,393.20 1.46 129.11 368.47 brqj2987r5qug
SQL*Plus begin TPP_COLLECTION...
47,043 5 9,408.60 1.32 128.05 339.44 2t3dbft8xna14
SQL*Plus begin TPP_COLLECTION...
46,992 1,121 41.92 1.32 530.19 855.23 ata582x7aa4m7
custaccmaintenance.exe SELECT CPD2.START_DAT "START_D...
42,104 6 7,017.33 1.18 142.91 299.11 7zybhxkwuwsz5
SQL*Plus begin TPP_COLLECTION...
40,144 1,121 35.81 1.13 441.39 676.20 3tb8v001ab9us
custaccmaintenance.exe SELECT DISTINCT C.START_DAT "S...
Back to SQL Statistics
Back to Top
SQL ordered by Executions
• Total Executions: 17,725,519
• Captured SQL account for 38.5% of Total
Executions Rows Processed Rows per Exec CPU per Exec (s) Elap per Exec (s) SQL Id SQL Module SQL Text
2,087,640 919,180 0.44 0.00 0.00 4wbvga5zfrw8j
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
2,059,483 2,159,051 1.05 0.00 0.00 4nt4x1ty34034
DEBTage@tpora02 (TNS V1-V3) SELECT DEBTESCALATIONREQUEST.A...
596,449 0 0.00 0.00 0.00 9zstg7a7j4mk6
custaccmaintenance.exe SELECT STRING_VALUE FROM GPARA...
267,468 267,431 1.00 0.00 0.00 8bgyqd22xu56f
JDBC Connect Client SELECT STRING_VALUE FROM TPP_G...
203,642 157,264 0.77 0.00 0.00 0h6b2sajwb74n
select privilege#, level from ...
165,568 165,565 1.00 0.00 0.00 fkp4mg3g9pxhj
RATE@tpora02 (TNS V1-V3) SELECT ACCOUNTRATING.ACCOUNT_N...
133,424 133,406 1.00 0.00 0.00 5aspmjf2vrnq5
JDBC Connect Client update accountattributes set D...
133,422 133,416 1.00 0.00 0.00 82xjvtb8p8qzw
JDBC Connect Client update accountattributes set A...
133,414 133,416 1.00 0.00 0.00 3cwuq4f267u2p
JDBC Connect Client update accountattributes set P...
133,363 133,340 1.00 0.00 0.01 azck89hzzsxzs
JDBC Connect Client SELECT NVL(A.OVERDUE, 0), TO_N...
Back to SQL Statistics
Back to Top
SQL ordered by Parse Calls
• Total Parse Calls: 1,578,365
• Captured SQL account for 68.8% of Total
Parse Calls Executions % Total Parses SQL Id SQL Module SQL Text
203,641 203,642 12.90 0h6b2sajwb74n
select privilege#, level from ...
133,417 133,422 8.45 82xjvtb8p8qzw
JDBC Connect Client update accountattributes set A...
133,399 133,424 8.45 5aspmjf2vrnq5
JDBC Connect Client update accountattributes set D...
133,373 133,414 8.45 3cwuq4f267u2p
JDBC Connect Client update accountattributes set P...
133,294 133,305 8.45 f2cwgjkfgrd34
JDBC Connect Client update accountattributes set A...
22,476 22,476 1.42 9babjv8yq8ru3
SQL*Plus BEGIN DBMS_OUTPUT.GET_LINES(:L...
20,013 20,013 1.27 0k8522rmdzg4k
select privilege# from sysauth...
19,963 20,102 1.26 15zytu14qzw6p
oracle@tpora04 (TNS V1-V3) insert into sys.aud$( sessioni...
19,902 19,902 1.26 1rd8um1taq1fn
update sys.aud$ set action#=:2...
19,412 19,412 1.23 459f3z9u4fb3u
select value$ from props$ wher...
19,408 19,407 1.23 0ws7ahf1d78qa
select SYS_CONTEXT('USERENV', ...
19,388 19,388 1.23 5ur69atw3vfhj
select decode(failover_method,...
18,432 18,432 1.17 1uzhrfn574t12
sqlplus@tpora02 (TNS V1-V3) SELECT ATTRIBUTE, SCOPE, NUMER...
18,432 18,432 1.17 c4pc3jhzjcmc7
sqlplus@tpora02 (TNS V1-V3) SELECT CHAR_VALUE FROM SYSTEM....
18,432 18,432 1.17 d6vwqbw6r2ffk
sqlplus@tpora02 (TNS V1-V3) SELECT USER FROM DUAL
18,432 18,432 1.17 dyk4dprp70d74
SQL*Plus SELECT DECODE('A', 'A', '1', '...
18,431 18,431 1.17 g4y6nw3tts7cc
sqlplus@tpora02 (TNS V1-V3) BEGIN DBMS_APPLICATION_INFO.SE...
18,420 18,420 1.17 5qgz1p0cut7mx
sqlplus@tpora02 (TNS V1-V3) BEGIN DBMS_OUTPUT.DISABLE; END...
18,149 18,149 1.15 cb21bacyh3c7d
select metadata from kopm$ wh...
18,028 18,028 1.14 b3s1x9zqrvzvc
SQL*Plus BEGIN DBMS_OUTPUT.ENABLE(10000...
Back to SQL Statistics
Back to Top
SQL ordered by Sharable Memory
No data exists for this section of the report.
Back to SQL Statistics
Back to Top
SQL ordered by Version Count
• Only Statements with Version Count greater than 20 are displayed
Version Count Executions SQL Id SQL Module SQL Text
37 1 5m21u4xgy81pa
SQL*Plus select ord.status_cd Status, ...
35 1 26hm5bmbzq9sy
SQL*Plus select ord.status_cd Status, ...
23 1 gtn080r95gfr9
SQL*Plus insert into connect_pp_monitor...
Back to SQL Statistics
Back to Top
Maybe you are looking for
-
Missing "7-Zip File" Hello, I haven't been able to update Firefox since 10.01 or 10.02 because every time I try I get the same message the "7-ZIP File" is missing. Then the update fails. I've submitted this problem to Mozilla Firefox and, got an imme
-
After having some progressive troubles with my Powerbook laptop I went and decided to erase the data and start fresh. After going through the seven pass erase and waiting for close to four hours I just got a message stating that "Disk Erase Failed wi
-
Okay I began as an intern at an agency, but all the designers are gone and I'm the only one left. I have a problem with a flash Page-flip component that we are using on our website. I used flash for the first time ever last week. I've got the pages s
-
Hi , Can anybody give me how to go about detailed workload analysis using ST03. Till now i only look for average response times. Also, I am not aware about the meaning of the fields like ' STEPS' and 'TRIPS' in the screen of ST03. In general what
-
No refund of money owed yet from final bill
Hi, I recieved a final bill and am owed money. The billing department over the phone was of no help. All equipment has been returned and accounted for. Can someone please work with me to process the money owed.