Output of the time command

Hi,
I have simple program, which sends some commands throught TCP/IP and waits for reply. I would like to measure time spent on the other side to reply, so as the first try, I run it using time command. Output surprised me, ratio between real time and ( user time + system time ) was greater then 21. Does it means, that into system time is not counting time for waiting on data to arrive on socket?

Guess I should update my own thread now that I build a i7-3370K.  It runs stable @ 4.5 GHz and compiles the 3.6.5 kernel in just under 9 min.
Related - the i7 chips are attached to their IHS with thermal caulk rather than with solder.  This makes them tough to overclock without modifying.  I wrote up a review detailing how I went about it if anyone in interested.  Not for the faint-of-heart.
http://www.silentpcreview.com/IvyBridge … nd_results

Similar Messages

  • How do I create an excel file that has the volume output and the time at which it occured?

    Hello:
    I am using Labview to control a New Era Pump Systems automatic syringe pump and to record diameter measurements from a LaserMike optical comparator. My program is fully functional, the code is attached with all auxilliary files in the NE-50X folder. I mostly understand my program, I used drivers for the NE-50X pump found on the NI website to build my code and added to it as needed.
    If anyone has ideas about how to do any of these three things, your help is greatly appreciated. I have the output from the syringe pump going into a line graph while I run the test with the time on the x-axis and volume on the y-axis. How would I be able to create an excel file from this information? I would like the excel file to have the time in one column and the volume at that time in the next column. I though that I had wired it correctly, however I feel that the time seems to be a little off and very exact. Attached is the block diagram of what I have done.
    Hello:
    If anyone has ideas about how to do any of these three things, your help is greatly appreciated.
    Attachments:
    RATETEST.vi ‏202 KB

    Let me start by answering the specific question, and then I will provide some suggestions on the code.
    The function you want is the "Write to Spreadsheet File", which you're already using, albeit in a confusing means (more later). I was not able to find any place in your code where you're actually acquiring time information, so I don't understand your comment about the time not being exact. (I'm assuming you mean "not", even though that word was not in your actual sentence.)
    As for the code:
    As I mentioned, you're using the "Write to Spreadsheet File" twice, as well as the "Write to Measurement File" Express VI. All three seem to be logging the same information, though one of the "Write to Spreadsheet File" functions is logging some sort of volume and diameter information. Please pick one.
    You're looping around the path for one of the "Write to Spreadsheet File" functions, but not for the other two functions. Why are you looping the path in the first place?
    You' re continuously accruing data into an array to put onto an XY Graph. Please keep in mind that this means the program will slow down as it progresses as this array gets larger and larger, and LabVIEW needs to shuffle memory around. Depending on how fragmented your memory is, you may find the program will crash since LabVIEW cannot allocate a large enough contiguous block of memory for the array.
    Your wiring really needs to be cleaned up. Tip: Right-click on a wire and select "Clean Up Wire".
    In the middle of the diagram you have a case structure in which the True part has a single iteration loop that's adding 1 to the iteration and updating some local variable, and in the False part you're doing something else with it. I have no idea what you're trying to do, but surely there must be a better way to do it.
    You seem to have two tank indicators on top of each other on the front panel and then flipping the visibility of them based on some value. I would think that it would be easier to simply display both at the same time, no? As a user, I would find it somewhat perturbing to see the tanks appear and disappear.

  • Why did Solaris 10 X86 change the output of the format command?

    Solaris 8,9, & 10 for Sparc all display disk manufacturer information on the format command output:
    0. c1t0d0 <SUN36G cyl 24620 ... >
    1. c1t1d0 <SEAGATE-ST3360704FSUN36G-0826 cyl 24620 ... >
    But for X86 this information is not displayed:
    0. c1t0d0 <DEFAULT cyl 17846 ... >
    1. c1t1d0 <DEFAULT cyl 17846 ... >
    We need to read this programatically to distinguish certain physical drives. What happened to this information? Is this a bug?

    Solaris 8,9, & 10 for Sparc all display disk
    manufacturer information on the format command
    output:
    0. c1t0d0 <SUN36G cyl 24620 ... >
    1. c1t1d0 <SEAGATE-ST3360704FSUN36G-0826 cyl 24620
    ... > I believe this information is in the disk label. I think on first label some of that information can be queried, but it doesn't always reflect the actual disk.
    But for X86 this information is not displayed:
    0. c1t0d0 <DEFAULT cyl 17846 ... >
    1. c1t1d0 <DEFAULT cyl 17846 ... >'format' on x86 is only looking at one fdisk-style slice, not the physical disk.
    We need to read this programatically to distinguish
    certain physical drives. What happened to this
    information? Is this a bug?More information does appear in some situations, but I'm not sure where it's querying the information. Again, the label is not a good indicator of what the physical disk is, because that data can be copied.
    You might try 'iostat -En' and see if that has sufficient information.
    Darren

  • Print Output at the time of rescheduling

    Hi Friends,
    When i reshedule the Orders in V_V2,I am getting printout puts for all the orders rescheduled,In Out put type Multiple Isuing is not ticked.When i normally change the sales order i am not getting output triggered,But when i reschedule i am getting prined outputs.
    Can you please explain how to control outputs get printed at the time of rescheduling.
    Thanks,
    Sree.Manam

    Have you maintained a program+routine for Change output on the output condition type?  This is like a requirement routine that issues a change output when the code in the routine sets SY-SUBRC to 0. The Change output paramters are maintained in the General data tab of the output condition.

  • Settings to trigger output at the time of PGI in shipment

    Dear Friends,
    I have a requirement where an output has to be triggered from the shipment document (VT02N), when the post goods issue is completed.i.e when the user completes the "shipment start" stage in the shipment document.
    The output document has to be sent by email to a couple of users when PGI is completed in the shipment.
    Since,here we are not manually triggering the output, instead the output is triggerred automatically when PGI is done.
    Please let me know the settings to trigger a particular output when PGI is done.
    Waiting for valubale feedback.
    Regards,
    Sampath

    Hello,
    You can do this through Configuration.
    LE>Transportation> Shipments >Define and assign activity profile
    With reference to shipment type you have 7 status available. In your case Shipment begin stage you can Set PGI and Output trigger by creating variant.
    All you have to do is put the mouse on the "at shipment begin" and select maintain and you can see the PGI option and output fields where you can call the output type there.
    try it will work....
    tkreddy
    Edited by: Tkreddy on Nov 10, 2009 3:00 AM

  • Create an output without the sql commands

    Hi,
    i have the following procedure:
    CREATE OR REPLACE PROCEDURE test IS
    BEGIN
    DBMS_OUTPUT.PUT_LINE('HI EVERYONE');
    END test;
    SET serveroutput ON;
    SET pagesize 500 ;
    SET linesize 200 ;
    SET heading off ;
    SET echo off;
    spool test.html;
    exec test;
    spool off;
    But i only want to output the 'HI EVERYONE' sentence in my html document.
    Desired result: HI EVERY ONE.
    Actual result :
    SQL> exec test;
    SALUT TOUT LE MONDE
    SQL> spool off;
    Thanks

    >
    DBMS_OUTPUT.PUT_LINE('HI EVERYONE');
    Actual result :
    SALUT TOUT LE MONDEMy GOD!!!!!*, or should I say Mon DIEU!!!!*
    You have implemented a French translator in a mere 3 lines of
    software!!!
    Vous avez reussi a faire un logiciel de traduction en 3 lignes de code!!!
    This is really good news - forget about Babelfish or actually learning*
    the language, now all I have to do is use your
    DBMS_OUTPUT.PUT_LINE("______text from Le Monde here________") and
    I get the article.
    Sacre bleu!!
    Paul...

  • Problem in print output at the time of taking print

    Hi
    I have one problem with my login ID, I create PO from my ID after complete all process I take print out. At that time the system automatically first take print SAP ....... ..... then the PO. In this case how I can set the print outputin my login id. Please guide me.
    Thanks

    HI,
    At that time the system automatically first take print SAP ....... ..... then the PO. In this case how I can set the print outputin my login id. Please guide me
    i.e you are getting SAP page print or ??
    could you elaborate pls .
    regards

  • [Solved] Where is the gnu time command?

    The manpage for the time command mentions a gnu version in /usr/bin/time, which has more options than the built-in shell version does.  To use it, just specify the complete path, but I can't seem to find where the gnu time is installed in Arch.  Is it missing, or do I need to install another package?  Locate time doesn't list anything close, unless it has a different name.
    Last edited by jimbok (2010-03-25 03:06:34)

    It does not appear to be packaged for Arch, or even actually developed upstream: http://ftp.gnu.org/pub/gnu/time/

  • Problem at the time of ABAP Import

    Hi Gurus,
    I am installing SAP ERP 6.0 EHP4 IDES version on AIX 5.3 and Oracle 10.0.2.0.4 version.Here I am getting an error at the time of ABAP Import it shows testing database connection failed due to the following R3load procedure.I am sending the massege with this mail.
    /usr/sap/JTB/SYS/exe/run/R3load -testconnect
    exec(): 0509-036 Cannot load program /usr/sap/JTB/SYS/exe/run/R3load because of the following errors:
            0509-150   Dependent module libclntsh.so could not be loaded.
            0509-022 Cannot load module libclntsh.so.
            0509-026 System error: A file or directory in the path name does not exist.
    Please guide me to overcome this problem and provide me some solution.
    Regards
    Nirmal

    Hi Nirmal,
    Just compare the output of the below command in your system...(Permission and ownership)
    # ls -l /oracle/client/10x_64/
    total 4
    -rwxrwxr-x   1 <sid>adm     sapsys         100 Mar 27  2006 dbclient.lst
    lrwxr-x---   1 <sid>adm     sapsys          41 Oct 28  2009 instantclient -> /oracle/client/10x_64/instantclient_10201
    drwxrwx---   2 <sid>adm     sapsys        1024 Mar 27  2006 instantclient_10201
    Regards.
    Rajesh Narkhede

  • Why is the purge command running every hour, and freezing my system?

    I noticed over the past several days that my mac pro will freeze for several seconds (clock stops, mouse/keyboard don't work. completely frozen) every hour, to the minute.
    I've tracked it down to the "purge" command, which is causing the problem.  But, I can't find where it's being called.  Any hints where I might look to find the cause?
    I don't believe this was happening a few days ago. I have installed all software updates.
    I'm running 10.7.5 on a 2x2.66Ghz 6-core mac pro.
    Thanks!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the 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. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). Post the lines of output (if any) that appear below what you just entered. You can do that by copying and pasting as well. Omit the final line ending in “$”. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}' 
    This time you'll be prompted for your login password, which you do have to type. It won't be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}' 
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Redirecting output after a "cat" command

    I first encountered this with "do shell script" in AS, and the issue also occurs in Terminal.
    Basically, I want to get contents from a file, make some changes via "sed ," and return the changed version to the same file -- but the file always winds up empty. Without the redirect, the commands work as expected.
    For example, in Terminal:
    cat --path to some file-- | sed 's/this/that/g'
    results in the expected changes (returned to Terminal)
    but
    cat --path to some file-- | sed 's/this/that/g' > path to some (same) file
    results in a blank file
    (The "sed" command isn't even necessary for this to happen; just trying to return the output of the "cat" command to the file results in a blank file.)
    I've certainly been able to accomplish this sort of thing with commands other than "cat." Is this something that's not possible with "cat" or do I have the syntax wrong?
    (Of course, I can get around this by following up with an "echo" command but, in "do shell script," that requires more code.)
    Thanks in advance for your comments.

    HI osimp,
       I've always thought that the "sed 's/this/that/g' < input > output" syntax looked cool because you can sort of see the flow of information. However, the end of the command is simply a pair of redirect directives. The first tells the shell to open the file and pipe the contents into the standard input stream of sed. Then the output of sed is piped into the output file.
       The command I was proposing, "sed 's/this/that/g' input > output", is simpler in that it tells sed to read the file directly rather than asking the shell to read it.
       You said above that you were interested in storing the result in a variable. That could be done simply with a command like:
    OUTPUT=$( sed 's/this/that/g' input )
    For many types of content this would work nicely but the shell will try to expand the output so plenty of things can cause errors. I was going to wait to post the above until I discovered a way around that expansion but I haven't had enough time to do that so I'm posting it and I'll see if I can improve it later.
       I know some about AppleScript and have written several scripts that combine capabilities of the shell with those of AppleScript. There are probably more people here that know AppleScript here than there are shell scripters on the AppleScript Discussion. You should try posting the whole question over here as well as over there. However, try and see if you can get the help of Deivy over there. He knows a lot about interactions between AppleScript and the shell.
    Gary
    ~~~~
       A memorandum is written not to inform the reader,
       but to protect the writer.
             -- Dean Acheson

  • An exception event is caught by the trace command, but not by java command

    I am having a strange exception in the output of the trace command. The exception is only happening if I instantiate a new object in test class (I have included the code below).
    This is the exception is the output of trace:
    ThreadName: ====== main ======
    methodEntryEvent: main -- simplestTest location:simplestTest:13
    | Exception event found: instance of java.lang.ClassNotFoundException(id=39) catch: java.lang.ClassLoader:303 exception details: class com.sun.tools.jdi.ObjectReferenceImpl
    | Exception event found: instance of java.lang.ClassNotFoundException(id=40) catch: java.lang.ClassLoader:303 exception details: class com.sun.tools.jdi.ObjectReferenceImpl
    | Exception event found: instance of java.lang.ClassNotFoundException(id=40) catch: java.lang.ClassLoader:303 exception details: class com.sun.tools.jdi.ObjectReferenceImpl
    | methodEntryEvent: <init> -- Tutti location:Tutti:22
    | | methodExitEvent: <init> -- Tutti
    | methodEntryEvent: <init> -- Tutti location:Tutti:22
    | | methodExitEvent: <init> -- Tutti
    | methodExitEvent: main -- simplestTest
    Death of ThreadName:====== main end ======
    -- The application exited --
    This is the very simple test class:
    public class simplestTest {
        public static void main(String[] args) {
            int x = 10;
            System.out.println("hello test");
            Tutti tuttike;
            tuttike = new Tutti();
            Tutti tuttike2;
            tuttike2 = new Tutti();
    class Tutti {   
    }If I do not have any instantiations, I do not have the exception in the trace output. Also, if I run the above test application normally (with the java command), I do not have these exceptions.
    Anybody have an idea?

    Indeed, in jdb I do not get these exceptions. I was also about to say that running the trace tool from the command line (not from within Netbeans as before) yielded a slightly more detailed result:
    -- VM Started --
    ThreadName: ====== main ======
    methodEntryEvent: main  --  simplestTest location:simplestTest:13
    | Exception event found: instance of java.lang.ClassNotFoundException(id=39) cat
    ch: java.lang.ClassLoader.loadClass(java.lang.String, boolean)+39 exception deta
    ils: class com.sun.tools.jdi.ObjectReferenceImpl
    | Exception event found: instance of java.lang.ClassNotFoundException(id=40) cat
    ch: java.lang.ClassLoader.loadClass(java.lang.String, boolean)+39 exception deta
    ils: class com.sun.tools.jdi.ObjectReferenceImpl
    | Exception event found: instance of java.lang.ClassNotFoundException(id=40) cat
    ch: java.lang.ClassLoader.loadClass(java.lang.String, boolean)+39 exception deta
    ils: class com.sun.tools.jdi.ObjectReferenceImpl
    | methodEntryEvent: <init>  --  Tutti location:Tutti:22
    | | methodExitEvent: <init>  --  Tutti
    | methodEntryEvent: <init>  --  Tutti location:Tutti:22
    | | methodExitEvent: <init>  --  Tutti
    | methodExitEvent: main  --  simplestTest
    Death of ThreadName:====== main end ======
    -- The application exited --But I now understand this is completely normal behavior. What a strange way to signal class loading... In my own, much more elaborate debugging application, I have now signaled through JDI not to report these exceptions anymore.
    A question, is there a reason for this behavior?

  • The auditreduce command

    Hi guy,
    I got the following output from the auditreduce command:
    # auditreduce -d 20081107 -u oracle |praudit
    file,1969-12-31 19:00:00.000 -05:00,
    file,2008-11-12 15:32:50.000 -05:00,
    Anybody can tell me what it means?
    Thanks in advance.
    Alex

    Don't forget the '-o' as in
    -o file=pathname

  • How can I select the time values of a signal and connect them to the y-input of a divide command?

    Hi,
    I have an analog signal connected with a threshold peak detector. The counted peaks shall be divided by the total time of the recorded signal. My problem is, I don't know how to connect just the the x-values, i.e. the time component of the signal, to the divide command. I have no idea how to "split" the signal so that I don't have the whole signal but just the time in seconds as an output of the measured or filtered signal sub-VI, respectively.
    Does anyone have a hint?
    Thanks for your help,
    Philipp

    Hi Phillipp,
    do you mean you have a waveform and you want to get the components? In this case "Get Waveform Components" should work.
    Mike

  • How to remove truncation in the output of ps -ef command in solaris

    Hi,
    One silly question but i m unable to find solution.
    In solaris-10 when i executed the command ps -ef some datas in the output in the command column is truncated as below
    UID PID PPID C STIME TTY TIME CMD
    root 6811 1 0 19:33:36 pts/3 0:00 sh /export/home/bti/bti/Revathi/BTI/EMS/bin/startemsserver.sh
    root 6827 6819 0 19:33:37 pts/3 2:33 /export/home/bti/bti/Revathi/BTI/EMS/jre/bin/java -DJBOSS_HOME=/export/home/bti
    Where in the CMD column the path */export/home/bti/bti/Revathi/BTI/EMS/jre/bin/java -DJBOSS_HOME=/export/home/bti* continues. Only half of the path is shown. I need the entire path how to achieve it
    Regards
    Revathi

    Just to make things a little more complex...
    /usr/ucb/ps (actually /usr/ucb/sparcv9/ps) used to be SUID root so that it could read the full args directly out of the address space of the process (/proc/<pid>/as).
    Sun removed this behavior in Solaris 8 with patch 109023-05 and in Solaris 9 with patch 120240-01 (it's been removed from Solaris 10 since FCS)

Maybe you are looking for

  • My Skype Number is busy continuously

    I am trying to call up the skype number from my mobile number however it is coming busy continously. Please help. Thanks, [Removed for privacy] Team Post transferred to create its own new thread (topic); Subject/title edited accordingly.

  • Where clause as variable string

    I'm building a where clause as a string based on submited form variables. As long as the form variable is an INTEGER the query works fine. If it is a charcter or character string I get the error: "Incorrect syntax near 'n' " where "n" was the content

  • How can i move on my phone contacts to yahoo

    how can i move my on 'my phone contacts' to yahoo?

  • SAP ERP EHP6 Upgrade cancel with no SUM Directory

    hi At last week on wednesday, we started to upgrade ERP EHP5 to EHP6 case. On Friday evening over 7:00PM we started the preprocessing step. When phase MAIN_SHDIMP/SUBMOD_SHD2_RUN/XPRAS_SHD_AIMMERGE step has being processing, system VM disk has got fu

  • Finding the charset of a string

    Is it possible to determine the charset in wich a String was created? UTF-8, UTF-16, ISO 8859-1????