Can someone expland this select ?

Hello gurus,
Could someone check if I'm right about this query ?
select to_char(last_time,'dd-mon-yyyy hh24:mi') as "startup",
to_char(start_time,'dd-mon-yyyy hh24:mi') as "shutdown",
round((start_time-last_time)*24*60,2) as "minuts down",
round((last_time-lag(start_time) over (order by r)),2) as "days up",
case when (lead(r) over (order by r) is null )
then round((sysdate-start_time),2)
end as "Days still up"
from (
select r,
to_date(last_time, 'Dy Mon DD HH24:MI:SS YYYY') last_time,
to_date(start_time,'Dy Mon DD HH24:MI:SS YYYY') start_time
from (
select r,
line,
lag(line,1) over (order by r) start_time,
lag(line,2) over (order by r) last_time
from (
select rownum r, line
from alert_log
where line like '___ ___ __ __:__:__ 20__'
or line like 'Starting ORACLE instance %'
where line like 'Starting ORACLE instance %'
here is an output
SHUTDOWN STARTUP MINS_DOWN DAYS_UP DAYS_STILL_UP
line 1 21-may-2007 23:01 21-may-2007 23:01 0
line 2 21-may-2007 23:02 21-may-2007 23:02 .05 0
line 3 21-may-2007 23:04 21-may-2007 23:04 .07 0
line 4 21-may-2007 23:09 21-may-2007 23:09 0 0
line 5 22-may-2007 11:02 22-may-2007 11:02 0 .5
line 6 22-may-2007 19:42 22-may-2007 19:42 0 .36
line 7 22-may-2007 19:47 22-may-2007 19:47 .1 0
line 8 22-may-2007 19:50 22-may-2007 19:50 .38 0
line 9 22-may-2007 19:52 22-may-2007 19:53 1.23 0
line 10 22-may-2007 19:54 22-may-2007 19:54 .07 0
line 11 22-may-2007 19:56 22-may-2007 19:56 .05 0
line 12 28-may-2007 15:30 28-may-2007 15:30 .1 5.81 182.81
12 rows selected.
according to the select,
the shutdown column represents the time the instance was shutdown
the startup column represents the time the instance has started
the mins_down column represents the time the instance was unavailable, ex: on the line 9 the instance has been down for 1.23 minuts rigth ?
the days up I cannot uderstand. look at the last line that shows 5.81 days up but the shutdown and the startup was on the same time. Is this columns referencing the previous line ?
the days still up columns i guess is the time that the instance had the last startup, correct ?
I cannot figure out the mins down and days up column
Can someone help me ?
Regards
Message was edited by:
KeenOnOracle

Hello gurus,
Could someone check if I'm right about this query ?
select to_char(last_time,'dd-mon-yyyy hh24:mi') as "startup",
to_char(start_time,'dd-mon-yyyy hh24:mi') as "shutdown",
round((start_time-last_time)*24*60,2) as "minuts down",
round((last_time-lag(start_time) over (order by r)),2) as "days up",
case when (lead(r) over (order by r) is null )
then round((sysdate-start_time),2)
end as "Days still up"
from (
select r,
to_date(last_time, 'Dy Mon DD HH24:MI:SS YYYY') last_time,
to_date(start_time,'Dy Mon DD HH24:MI:SS YYYY') start_time
from (
select r,
line,
lag(line,1) over (order by r) start_time,
lag(line,2) over (order by r) last_time
from (
select rownum r, line
from alert_log
where line like '___ ___ __ __:__:__ 20__'
or line like 'Starting ORACLE instance %'
where line like 'Starting ORACLE instance %'
here is an output
SHUTDOWN STARTUP MINS_DOWN DAYS_UP DAYS_STILL_UP
line 1 21-may-2007 23:01 21-may-2007 23:01 0
line 2 21-may-2007 23:02 21-may-2007 23:02 .05 0
line 3 21-may-2007 23:04 21-may-2007 23:04 .07 0
line 4 21-may-2007 23:09 21-may-2007 23:09 0 0
line 5 22-may-2007 11:02 22-may-2007 11:02 0 .5
line 6 22-may-2007 19:42 22-may-2007 19:42 0 .36
line 7 22-may-2007 19:47 22-may-2007 19:47 .1 0
line 8 22-may-2007 19:50 22-may-2007 19:50 .38 0
line 9 22-may-2007 19:52 22-may-2007 19:53 1.23 0
line 10 22-may-2007 19:54 22-may-2007 19:54 .07 0
line 11 22-may-2007 19:56 22-may-2007 19:56 .05 0
line 12 28-may-2007 15:30 28-may-2007 15:30 .1 5.81 182.81
12 rows selected.
according to the select,
the shutdown column represents the time the instance was shutdown
the startup column represents the time the instance has started
the mins_down column represents the time the instance was unavailable, ex: on the line 9 the instance has been down for 1.23 minuts rigth ?
the days up I cannot uderstand. look at the last line that shows 5.81 days up but the shutdown and the startup was on the same time. Is this columns referencing the previous line ?
the days still up columns i guess is the time that the instance had the last startup, correct ?
I cannot figure out the mins down and days up column
Can someone help me ?
Regards
Message was edited by:
KeenOnOracle

Similar Messages

  • I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. Can someone resolve this problem.

    I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.

    Contact App Store support. They're the folks who can help with Account issues.
    Regards
    TD

  • Hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

    hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

                     Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Can we replace this SELECT query by more efficient code

    can we replace this SELECT query by more efficient code ?:-
    SELECT * FROM zv7_custord
         INTO TABLE G_T_ZV7_CUSTORD
         WHERE ( SENDER in S_SENDER and
                 ORDNUM in S_ORDER  and
                 ZDATE   in S_DATE ) OR
               ( SENDER in S_SENDER AND
                 STATUS = SPACE )
         ORDER BY IDOCNUM.

    Hi
    U can leave ORDER BY option and sort the table by yourself and try to split the query:
    SELECT * FROM zv7_custord
         INTO TABLE G_T_ZV7_CUSTORD
         WHERE  SENDER in S_SENDER and
                       ORDNUM in S_ORDER  and
                       ZDATE   in S_DATE .
    SELECT * FROM zv7_custord
         APPENDING TABLE G_T_ZV7_CUSTORD
         WHERE  SENDER in S_SENDER        and
                       NOT ORDNUM in S_ORDER  and
                       NOT ZDATE   in S_DATE       and
                       STATUS = SPACE
    or
    SELECT * FROM zv7_custord
         INTO TABLE G_T_ZV7_CUSTORD
         WHERE  SENDER in S_SENDER and
                       ORDNUM in S_ORDER  and
                       ZDATE   in S_DATE .
    SELECT * FROM zv7_custord
         APPENDING TABLE G_T_ZV7_CUSTORD
         WHERE  SENDER in S_SENDER        and
                       STATUS = SPACE.
    * Sort the table key fields
    SORT G_T_ZV7_CUSTORD BY <KEY1> <KEY2> .....
    DELETE ADJACENT DUPLICATES FROM G_T_ZV7_CUSTORD COMPARING <KEY1> .....
    Max

  • Can someone perform this speaker test for me please

    Hi can someone perform this test for please, play some ipod music through your phone and and cover 1 speaker at a time with you finger, does 1 block out the music as if one speaker is much louder than the other ? just I have tried this on my new iphone 4 as thought it might be a problem but my 3GS is doing it to ??, is it fault or meant to be like that

    There's only one speaker.
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • Multithreading - Can someone explain this ...

    Hi Java Gurus:
    Can someone explain this to me why my multithreading worked in once case and not in the other.
    First a little background:
    My application lets the user create multiple JInternalFrames. Each frame has an OK button. When the user presses the OK button, the frame goes about it's business in a new thread, thus returning control to the use, so he/she can press the OK button on the second frame .. and so on.
    Following is the event handler for the OK button that creates the new thread:
    case1 - doesn't work:
          btnTranslate.addActionListener(
             new ActionListener() {
                public void actionPerformed( ActionEvent e ) {
                             txtOutput.setText("");
                             txtBadParts.setText("");
                   Translation trans = new Translation(inst);
                   trans.run();
          );case2 - works:
          btnTranslate.addActionListener(
             new ActionListener() {
                public void actionPerformed( ActionEvent e ) {
                             txtOutput.setText("");
                             txtBadParts.setText("");
                       new Translation(inst).start();
          );Thanks,
    Kamran

    Calling the run method makes the run method run in the current thread. You need to call the start method to get the thread to start its own thread.

  • Can someone execute this program?

    Can someone execute this program for me and tell me if it works correctly? My DOS is acting funny.
    look for these things:
    - accepts input from keyboard and places them into an array
    - continues to accept names until a blank name is entered
    - array can contain up to 15 names
    - after all names are entered, it displays the contents of the array
    and writes them to a file
    - output should be in 2 columns
    if you see a problem, please tell me how to fix it.
    import java.io.*;
    * the purpose of this program is to read data from the keyboard
    * and put it into a sequential file for processing by ReadFile
    * @author Maya Crawford
    public class Lab0
    * this function will prompt and receive data from the keyboard
    * @return String containing the data read from the keyboard
    * @param BufferedReader that is connected to System.in
    */ (keyboard)
    public static String getData(BufferedReader infile)
    throws IOException
    System.out.println("enter a name");
    return infile.readLine();
    * this is the main program which will read from the keyboard and
    * display the given input onto the screen and also write the data
    * to a file
    * @param Array of Strings (not used in this program)
    public static void main(String[] args)
    throws IOException
    int i;
    String[] outString = new String[16];
    DataOutputStream output=null;
    // this code assigns the standard input to a datastream
    BufferedReader input= new BufferedReader(new InputStreamReader(System.in));
    // this code opens the output file...
    try
    output= new DataOutputStream(new FileOutputStream("javaapp.dat"));
    // handle any open errors
    catch (IOException e)
    System.err.println("Error in opening output file\n"
    + e.toString());
    System.exit(1);
    // priming read......
    for(i=0;i<outString.length;i++)
    outString=getData(input);
    // this is the loop to continue while nnonblank data is entered
    while (!outString.equals(""))
    for(i=0;i<outString.length;i++)
    outString[i]=getData(input);
    outString[i] = input.readLine();
    System.out.println("Name entered was:"+ outString[i]);
    output.writeBytes(outString[i]+"\r\n");
    int rcol=(outString.length+1)/2;
    for(i=0;i<(outString.length)/2;i++)
    System.out.println(outString[i]+"\t"+outString[rcol++]);
    // flush buffers and close file...
    try
    output.flush();
    output.close();
    catch (IOException e)
    System.err.println("Error in closing output file\n"
    + e.toString());
    // say goodnight Gracie...
    System.out.println("all done");

    Ok, here is what I came up with. I commented most of what I changed and gave a reason for changing it. My changes aren't perfect and it still needs to be tweeked. When you run the program you have to hit the enter key every time once before you type a name. When you are done typing names hit the enter key twice and it will output the names entered into the array. Like I said, it isn't perfect, and that part you will need to fix.
    import java.io.*;
    * the purpose of this program is to read data from the keyboard
    * and put it into a sequential file for processing by ReadFile
    * @author Maya Crawford
    public class Lab0
         * this function will prompt and receive data from the keyboard
         * @return String containing the data read from the keyboard
         * @param BufferedReader that is connected to System.in
         */ //(keyboard)
         //On the above line where you have (keyboard), it wasn't commented out in your
         //program and it was throwing a error.
         public static String getData(BufferedReader infile)
         throws IOException
              System.out.println("enter a name");
              return infile.readLine();
         * this is the main program which will read from the keyboard and
         * display the given input onto the screen and also write the data
         * to a file
         * @param Array of Strings (not used in this program)
         public static void main(String[] args)
         throws IOException
              int i;
              String testString; // Created to hold the string entered by the user, because your
                                 // outString array wasn't working for that.
              String[] outString = new String[16];
              DataOutputStream output=null;
              // this code assigns the standard input to a datastream
              BufferedReader input= new BufferedReader(new InputStreamReader(System.in));
              // this code opens the output file...
              try
                   output= new DataOutputStream(new FileOutputStream("javaapp.dat"));
              // handle any open errors
              catch (IOException e)
                   System.err.println("Error in opening output file\n"
                   + e.toString());
                   System.exit(1);
              // priming read......
              testString = " ";  // Initialize testString
              int placeMark = 0; // to input the String entered by the user into the outString
                                 // array, it needs to know which position to enter it into.
              while (!testString.equals(""))
                   testString=getData(input);
                   testString = input.readLine();
                   System.out.println("Name entered was:"+ testString);
                   // Put the testString into the outString[] array.
                   // A lot of the time when you used outString you forgot to use the [x] to indicate
                   // which position you wanted to access.
                   outString[placeMark] = testString;
                   output.writeBytes(testString+"\r\n");
                   placeMark++;
            // Created a do/while loop to display the list of outString.
              int nextEntry = 0;
              do
                   System.out.println(outString[nextEntry]);
                   nextEntry++;
              }while(!outString[nextEntry].equals(""));
              // flush buffers and close file...
              try
                   output.flush();
                   output.close();
              catch (IOException e)
                   System.err.println("Error in closing output file\n"
                   + e.toString());
              // say goodnight Gracie...
              System.out.println("all done");
    }

  • Can someone translate this vi to LV 5.0?

    Can someone translate this vi to LV 5.0?
    Thanks
    Gorka
    Attachments:
    Write_Table_and_Chart_to_XL.llb ‏240 KB

    Try this one.
    Hope it works!
    Brian
    Attachments:
    Write_Table_and_Chart_to_XL50.llb ‏163 KB

  • Can someone awnser this question please

    '\ my sound card and my tv is digital but my stereo surround system is analogue but my question is.
    how well to the analogue to digital converts work which i can buy for 40 quid.
    will it give me the same quality digital to digital if im using analogue to digital.
    any help will be much apreciated

    +Re: can someone awnser this question pleased
    deebs986 wrote:
    my sound card and my tv is digital but my stereo surround system is analogue but my question is.
    how well to the analogue to digital converts work which i can buy for 40 quid.
    will it give me the same quality digital to digital if im using analogue to digital.
    any help will be much apreciated
    Depends on
    the analog part of A/D Converter and the converter as well ... there are cheap ones which (if you're audiophile)? may give weak results but normally, those are suitable even being that cheap ... you name ones you have in mind to get more exact answers<
    the source ... D to D is : (lossless (theory))? , A to D (lossy (why, ... read above))<
    jutapa
    @9.56.77.37

  • CAN SOMEONE FIX THIS????

    Hello, I can't get my program to work at all, I keep getting errors. Can someone please see if they can fix these Exception errors. I've posted tons of topics but I still can't get this program to run.
    I use these text files in the program.
    EVENT.txt
    1 C++ Programmer
    2 Business Management
    STCLASS.txt
    1 Tech Apps
    2 Computer Programming
    3 AP Computer Science
    4 AB Computer Science
    5 AP Biology
    6 AP US History
    STINFO.txt
    34865-Joe Peace-2003-01-02-1-2-3-4-5-6
    89398-John Carr-2003-04-05-1-2-3-4-5-6
    Here is The Actual Program, Can anyone get rid of the Exception Errors:
    //Program Starts Here
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class TrivialApplet extends Applet implements ItemListener, ActionListener
         TextField text1;
         CheckboxGroup checkboxgroup1;
         Checkbox checkbox1, checkbox2, checkbox3;
         Button adder;               //Button in addperson()
         Button cpsubmit;          //Button in clienpart()
         Button quit;               //Button in addperson() and search() - Returns to clientpart() when pressed
         Button ssubmit;               //Button in search()
         int where;                    //'Where' is the current position the user is in the program
         int what;                    //'What' is current checkbox that the user has selected
         int searcher;               //What User Is Searching for (ID, Event, Or Class)
         String line;               //'line' is used when a line is taken from a text file
         PrintWriter fileOut;     //Output to textfile Variables
         BufferedReader fileIn1,fileIn2,fileIn3;     //Inputting from textfile variables
         ******************************************** init() *******************************************************************
         public void init()
              what = 0;
              where = 0;
              searcher = 0;
              quit = new Button("Return To Menu");
              clientpart();
         ******************************************** clientpart() *************************************************************
         public void clientpart()
         removeAll();                                             
         setSize(300,200);
         where = 1;
         setLayout(new GridLayout(4,1));                                        //Sets Layout of Screen
         checkboxgroup1 = new CheckboxGroup();                         
         checkbox1 = new Checkbox("Search For A Person",false,checkboxgroup1);                    //Check Box
         checkbox2 = new Checkbox("Enter New Person Into Database",false,checkboxgroup1);
         cpsubmit = new Button("Submit");
         Label info;
         info = new Label("Select An Option And Press Submit", Label.CENTER);
         add(info);
         add(checkbox1);
         add(checkbox2);
         add(cpsubmit);
         checkbox1.addItemListener(this);
         checkbox2.addItemListener(this);
         cpsubmit.addActionListener(this);
         ******************************************** addperson() **************************************************************
         public void addperson() throws IOException
         setSize(400,300);
         PrintWriter fileOut = new PrintWriter(new FileOutputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STINFO.TXT", true));
         where = 2;
         removeAll();                                                            //Remove everything from applet
         Label stat;
         stat = new Label("Select A Field, Enter Info, And Click Submit", Label.CENTER);
         setLayout(new GridLayout(5,1));
         add(stat);
         text1 = new TextField("ID-Name-Graduating Year-Event 1-Event 2-Class 1-Class 2-Class 3-Class 4-Class 5-Class 6");//New TextField
         checkboxgroup1 = new CheckboxGroup();                              //A group of checkboxes, allows only ONE click
         adder = new Button("Submit");                                        //Submit button
         add(text1);                                        
         add(adder);
         add(quit);
         adder.addActionListener(this);                                        //Checks for button actions
         quit.addActionListener(this);
         ************************************************** search() ***********************************************************
         public void search() throws IOException
         setSize(400,300);
         /********************************************** Variables to get info from text files *******************************/
         fileIn1 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STINFO.TXT")));
         fileIn2 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/EVENTS.TXT")));
         fileIn3 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STCLASS.TXT")));
         where = 3;                                                                 //User Is At Position '3'.....or search()
         searcher = 0;
         removeAll();                                                            //Remove everything from applet
         /************************************* Creates a label that cannot be edited ***************************************/
         Label stats;
         stats = new Label("Click Field You Wish To Search By, And Click Submit", Label.CENTER);
         setLayout(new GridLayout(6,1));                                        //Makes applet a 6x1 Array for objects
         add(stats);
         checkboxgroup1 = new CheckboxGroup();                              //A group of checkboxes, allows only ONE click
         ssubmit = new Button("Submit");                                        //Submit button
         checkbox1 = new Checkbox("ID",false,checkboxgroup1);          //Sets The First Checkbox into checkboxgroup1
         add(checkbox1);                                                            //Add this to window
         checkbox2 = new Checkbox("Event",false,checkboxgroup1);               
         add(checkbox2);
         checkbox3 = new Checkbox("Class",false,checkboxgroup1);
         add(checkbox3);
         add(ssubmit);
         add(quit);
         /*********************************************** Calls itemStateChanged() when clicked ***************************/
         checkbox1.addItemListener(this);                                   
         checkbox2.addItemListener(this);
         checkbox3.addItemListener(this);
         ************************************************ Cals actionPerformed() when clicked *****************************/
         ssubmit.addActionListener(this);
         quit.addActionListener(this);
         ******************************************** actionPerformed() ********************************************************
         public void actionPerformed(ActionEvent e)
              /************************ clientpart() buttons **********************************************************/
              if (e.getSource() == cpsubmit && what == 1)               //If User wants to search for a person then search()
                   search();
              if (e.getSource() == cpsubmit && what == 2)               //If User wants to Add A New Person then addperson()
                   addperson();               
              /************************ quit button returns to clientpart() *******************************************/
              if (e.getSource() == quit)                                   //If User wants to return to main menu then clientpart()
                   clientpart();
              /************************ addperson() buttons ***********************************************************/
              if (e.getSource() == adder)                                   //Prints New Person To STINFO.txt
                   fileOut.println(text1.getText());
              /************************* search() buttons *************************************************************/
              if (e.getSource() == ssubmit && searcher == 1)          //Shows Everyone In School     
                   while((line=fileIn1.readLine()) != null)
                        System.out.println(line);
              if (e.getSource() == ssubmit && searcher == 2)          //Shows Events With Numbers
                   while((line=fileIn1.readLine()) != null)
                        System.out.println(line);
              if (e.getSource() == ssubmit && searcher == 3)          //Shows Classes With Numbers
                   while((line=fileIn3.readLine()) != null)
                        System.out.println(line);
         ******************************************** itemStateChanged() *******************************************************
         public void itemStateChanged(ItemEvent e)
              /*************************************** Checkboxes in clientpart() *****************************************/
              if (e.getItemSelectable() == checkbox1 && where == 1)               
                   what = 1;
              if (e.getItemSelectable() == checkbox2 && where == 1)
                   what = 2;
              /*************************************** Checkboxes in search() *********************************************/
              if (e.getItemSelectable() == checkbox1 && where == 3)
                   searcher = 1;
              if (e.getItemSelectable() == checkbox2 && where == 3)
                   searcher = 2;
              if (e.getItemSelectable() == checkbox3 && where == 3)
                   searcher = 3;

    An error
    1> exception not caught
    public void actionPerformed(ActionEvent e)
    try{
    <your code>
    catch(Exception ex)
    ex.printStackTrace();
    Explaination: your methods like search() and etc are throwing excpetion but it is not caught so you will have to catch it. The example up here is catching for all but you should tune it a bit to specific exceptions
    A suggestion
    1> your removeall() method is not very nice. Why don't u use card layout and hide the panel instead of removing and adding all again

  • I am not able to download any  app on my ipad mini , it shows its loading, but never getting downloaded , can someone fix this for me ???

    i have a ipad mini , ios version 8.3 .... i am not able to download any app currently on my ipad.... i am not able to figure out the problem , it shows the app is loading in app store , but its never getting downloaded....how do i fix this problem ??? can someone please figure it out ???

    Welcome to the Apple Community.
    When your account becomes disabled, Apple provides the following recommendation:
    "This message means that someone tried and failed to sign in to your account multiple times. The Apple ID system disables the account to prevent unauthorized people from gaining access to your information. You need to reset your password, following the instructions at the Apple ID website".
    Visit iForgot.com and follow the instructions there.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > store, scroll down and tap your ID)
    If that doesn't help you might try contacting Apple through iTunes Store Support

  • Trying to understand RSTP - Please can someone explain this?

    Hi Group
    I am still confused about how RSTP is implemented. From what i understand the major difference is that STP
    used Timers for Loop prevention whereas RSTP coordinates between neighbors via messages (proposal/aggreement) to turn on links
    more quickly after topology changes and is "timer free".
    However, I have not noticed any difference in the configuration from the legacy STP
    configurations and the RSTP configuration on cisco devices. Or are there any differences??
    I have read in documentation that RSTP natively includes features like UplinkFast, BackboneFast and PortFast. So are these features now obsolete
    and not needed to be configured if you are running RSTP. (Although i have seen Portfast still configured along with RSTP on many switches)
    Also can someone explain the below Points from Cisco Documentation
    1) should STP be disabled on edge ports all together as suggested below?
    "STP edge ports are bridge ports that do not need STP enabled, where loop protection is not needed out
    of that port or an STP neighbor does not exist out of that port. For RSTP, it is important to disable STP
    on edge ports, which are typically front-side Ethernet ports, using the command bridge
    bridge-group-number spanning-disabled on the appropriate interface. If RSTP is not disabled on edge
    ports, convergence times will be excessive for packets traversing those ports."
    2) It seems RSTP relies on duplex setting to determine inter-switch links. What is the configuration to explicitly
    configure RSTP link types? (I couldnt find this in the documentation)
    "RSTP can only achieve rapid transition to the forwarding state on edge ports and on point-to-point links.
    The link type is automatically derived from the duplex mode of a port. A port that operates in fullduplex
    is assumed to be point-to-point, while a half-duplex port is considered as a shared port by
    default. This automatic link type setting can be overridden by explicit configuration. In switched
    networks today, most links operate in full-duplex mode and are treated as point-to-point links by RSTP.
    This makes them candidates for rapid transition to the forwarding state."
    Also i am a bit rough on my RSTP knowledge even after skimming a few Cisco documents. Can someone please explain this in simple way.
    Thanks in advance

    to configure it on a device:-
    spanning-tree mode rapid-pvst
    PortFast/UplinkFast & BackboneFast were cisco "Enhancements" to 802.1d STP. RSTP just incorperates them. If you want to configure portfast, the command is still "spanning-tree portfast"
    OK
    1) That is your choice - I have bitter experiance of users/IT admins just plugging hubs/switches in when ever they can. Also cabling the switch back to itself creating a cabled loop. So my advice to you is to leave STP enabled on all switch ports, BUT enable BPDUGuard - this is a life saver, if you have configured portfast.
    2) duplex auto! or duplex full (overiding)
    I really suggest that you read the 802.1d standard, once you understand normal spanning-tree - RSTP will come to you.
    http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html
    http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol
    HTH>

  • Can someone explain this flashmo sample?

    Hi,
    I'm a newbie in flash and looking at this sample project.
    http://www.flashmo.com/preview/flashmo_169_intro
    I opened it with flash cs3, and can see actionscript on the actions layer, and can see symbols in the library. However, I cannot figure out what makes the symbols swoosh in/out in sequence. The actionscript on the actions layer does not have that, or so I figured.
    Can someone explain where I need to look at?
    Thanks.
    Ben

    This is another good reason for never using scenes in Flash designs--they put things where they cannot be easily found.  There is no actionscript for the animations, but there is a second scene that contains all of the animation.  If you open the secnes panel you will find a second scene that includes all of what you are wondering about.
    Ooops, sorry Rob.  ....bad timing.

  • Can someone decipher this??

    When I powered on my machine this morning, I had an error report.  Can someone decipher it??  Any input will be greatly appreciated. Thanks in advance.
    Interval Since Last Panic Report:  2525935 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    22AB1570-526E-8E4D-1DF3-1EE5BB0D65BE
    Sat Aug 24 07:40:31 2013
    panic(cpu 10 caller 0xffffff80188b8655): Kernel trap at 0xffffff80188b02e0, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0xffffff80495a2000, CR3: 0x000000001b167000, CR4: 0x0000000000000660
    RAX: 0xffffff80495a1fff, RBX: 0xffffff80495a1ff0, RCX: 0xffffff8048837640, RDX: 0xffffff8047dbe880
    RSP: 0xffffff82c81dbd40, RBP: 0xffffff82c81dbd40, RSI: 0x000000000000000d, RDI: 0xffffff80495a1ff0
    R8:  0x0000000000000000, R9:  0x0000000000000003, R10: 0xffffff8048af1e40, R11: 0xffffff8018c286d0
    R12: 0x0000000000000000, R13: 0x000000000000000e, R14: 0xffffff80488409c0, R15: 0xffffff8048837640
    RFL: 0x0000000000010202, RIP: 0xffffff80188b02e0, CS:  0x0000000000000008, SS:  0x0000000000000000
    Fault CR2: 0xffffff80495a2000, Error code: 0x0000000000000000, Fault CPU: 0xa
    Backtrace (CPU 10), Frame : Return Address
    0xffffff82c81db9e0 : 0xffffff801881d626
    0xffffff82c81dba50 : 0xffffff80188b8655
    0xffffff82c81dbc20 : 0xffffff80188ce17d
    0xffffff82c81dbc40 : 0xffffff80188b02e0
    0xffffff82c81dbd40 : 0xffffff8018c2603a
    0xffffff82c81dbd90 : 0xffffff8018c25eea
    0xffffff82c81dbdc0 : 0xffffff7f98d799b6
    0xffffff82c81dbdd0 : 0xffffff7f98d7d220
    0xffffff82c81dbde0 : 0xffffff8018c28d08
    0xffffff82c81dbe20 : 0xffffff8018c3258f
    0xffffff82c81dbe90 : 0xffffff8018c31771
    0xffffff82c81dbef0 : 0xffffff8018c2f4ce
    0xffffff82c81dbf30 : 0xffffff8018c2d48d
    0xffffff82c81dbf70 : 0xffffff8018c31fc9
    0xffffff82c81dbfb0 : 0xffffff80188b3137
          Kernel Extensions in backtrace:
             com.apple.iokit.IOPCIFamily(2.7.3)[1D668879-BEF8-3C58-ABFE-FAC6B3E9A292]@0xffff ff7f98d72000->0xffffff7f98d96fff
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    12E55
    Kernel version:
    Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64
    Kernel UUID: 896CB1E3-AB79-3DF1-B595-549DFFDF3D36
    Kernel slide:     0x0000000018600000
    Kernel text base: 0xffffff8018800000
    System model name: MacPro4,1 (Mac-F221BEC8)
    System uptime in nanoseconds: 13043814499
    last loaded kext at 1282032717: com.apple.driver.AppleUSBHIDKeyboard    170.2 (addr 0xffffff7f9a78a000, size 16384)
    loaded kexts:
    com.firmtek.driver.FirmTek_SI_SATA_II    5.4.1
    com.apple.iokit.SCSITaskUserClient    3.5.5
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCIBlockStorage    2.3.1
    com.apple.driver.AppleFileSystemDriver    3.0.1
    com.apple.driver.AppleUSBHub    5.5.5
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.driver.AppleFWOHCI    4.9.6
    com.apple.BootCache    34
    com.apple.driver.AirPort.Brcm4331    615.20.17
    com.apple.driver.AppleIntel8254XEthernet    3.1.1b1
    com.apple.driver.Intel82574L    2.3.0b5
    com.apple.driver.AppleAHCIPort    2.5.2
    com.apple.driver.AppleUSBEHCI    5.5.0
    com.apple.driver.AppleUSBUHCI    5.2.5
    com.apple.driver.AppleEFINVRAM    1.7
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleHPET    1.8
    com.apple.driver.AppleACPIButtons    1.7
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.7
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    196.0.0
    com.apple.nke.applicationfirewall    4.0.39
    com.apple.security.quarantine    2.1
    com.apple.driver.AppleIntelCPUPowerManagement    196.0.0
    com.apple.driver.AppleUSBHIDKeyboard    170.2
    com.apple.driver.AppleHIDKeyboard    170.2
    com.apple.iokit.IOUSBHIDDriver    5.2.5
    com.apple.driver.AppleUSBMergeNub    5.5.5
    com.apple.driver.AppleUSBComposite    5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.5.5
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.iokit.IOAHCISerialATAPI    2.5.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.5.5
    com.apple.iokit.IOFireWireFamily    4.5.5
    com.apple.iokit.IOUSBUserClient    5.5.5
    com.apple.iokit.IO80211Family    530.4
    com.apple.iokit.IONetworkingFamily    3.0
    com.apple.iokit.IOATAFamily    2.5.1
    com.apple.iokit.IOAHCIFamily    2.3.1
    com.apple.iokit.IOUSBFamily    5.6.0
    com.apple.driver.AppleEFIRuntime    1.7
    com.apple.iokit.IOHIDFamily    1.8.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    220.3
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    345
    com.apple.iokit.IOStorageFamily    1.8
    com.apple.driver.AppleKeyStore    28.21
    com.apple.driver.AppleACPIPlatform    1.7
    com.apple.iokit.IOPCIFamily    2.7.3
    com.apple.iokit.IOACPIFamily    1.4
    com.apple.kec.corecrypto    1.0
    Model: MacPro4,1, BootROM MP41.0081.B08, 8 processors, Quad-Core Intel Xeon, 2.26 GHz, 24 GB, SMC 1.39f5
    Graphics: ATI Radeon HD 4870, ATI Radeon HD 4870, PCIe, 512 MB
    Memory Module: DIMM 1, 4 GB, DDR3 ECC, 1066 MHz, 0x0198, 0x393936353532352D3033322E4130304C4620
    Memory Module: DIMM 2, 4 GB, DDR3 ECC, 1066 MHz, 0x0198, 0x393936353532352D3033322E4130304C4620
    Memory Module: DIMM 3, 2 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463235363732415A2D3147314631
    Memory Module: DIMM 4, 2 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463235363732415A2D3147314631
    Memory Module: DIMM 5, 4 GB, DDR3 ECC, 1066 MHz, 0x0198, 0x393936353532352D3033322E4130304C4620
    Memory Module: DIMM 6, 4 GB, DDR3 ECC, 1066 MHz, 0x0198, 0x393936353532352D3033322E4130304C4620
    Memory Module: DIMM 7, 2 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463235363732415A2D3147314631
    Memory Module: DIMM 8, 2 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463235363732415A2D3147314631
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.17)
    Bluetooth: Version 4.1.4f2 12041, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Ethernet 2, Ethernet, en1
    PCI Card: ATI Radeon HD 4870, sppci_displaycontroller, Slot-1
    PCI Card: SeriTek/2SE2-E v. 5.4.1,  09/14/09, 12:30:53, ata, Slot-4
    Serial ATA Device: HL-DT-ST BD-RE  WH12LS39
    Serial ATA Device: HL-DT-ST DVDRAM GH24NS90
    Serial ATA Device: SAMSUNG HD103SJ, 1 TB
    Serial ATA Device: SAMSUNG HD103SJ, 1 TB
    Serial ATA Device: SAMSUNG HD103SJ, 1 TB
    Serial ATA Device: WDC WD5001AALS-00LWTA0, 500.11 GB
    USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfa200000 / 2
    USB Device: Apple Keyboard, apple_vendor_id, 0x0220, 0xfa220000 / 3
    USB Device: USB 2.0 Hub [MTT], 0x050d  (Belkin Corporation), 0x0237, 0xfd300000 / 2
    USB Device: Kensington 2.4G Laser Product, 0x047d  (Kensington), 0x2030, 0xfd350000 / 3
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x5a100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x5a110000 / 4
    USB Device: Wireless Stereo Headset, 0x12ba  (Sony Computer Entertainment America), 0x0032, 0x5d100000 / 2
    FireWire Device: built-in_hub, 800mbit_speed
    FireWire Device: iSight, Apple Computer, Inc., 200mbit_speed
    FireWire Device: unknown_device, unknown_speed

    Does this happen every time you startup?
    Does this happen when starting up in Safe Mode?
    You might need to update your FirmTek driver.

  • CAN SOMEONE EXPLAIN THIS CODE

    HI,
    CAN SOMEONE EXPLAIN TO ME THIS CODE:
    FUNCTION DISP_QATD return VARCHAR2 is
    BEGIN
         SRW.REFERENCE(:P_CURRENCY_CODE);
         SRW.REFERENCE(:P_QATD1);
         SRW.USER_EXIT('FND FORMAT_CURRENCY
              CODE     = ":P_CURRENCY_CODE"
         DISPLAY_WIDTH     = "19"
              AMOUNT     = ":P_QATD1"
              DISPLAY     = ":DISP_QATD"
         PRECISION     = "STANDARD"');
         RETURN(:DISP_QATD);
    END;

    Hello,
    For details about SRW.REFERENCE :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/plsql/builtins/srw/srw_reference.htm?tp=true
    Regards

Maybe you are looking for