How can I work out the Total Uptime between two points?

I need to find the TOTAL uptime between a certain date and now (need to separate for an electricity bill). Can someone help me with a script or something?
Thanks

I'm confused as to what you are looking for if uptime is not it. 
I need to find out how long it has been powered on from the 6th August 2014 to now. Any ideas?
If the system has been rebooted in that time then you might be able to go back into the log files and as Mark Jalbert wrote look for the times the system was shutdown and then booted and get a rough figure that way. But of course this requires that the log files since August are still available.
Of course what the system was booted there is no guarantee all external peripherals were also on and when the system was shutdown there is no guarantee that all the peripherals were turned off so at best you are getting a rough estimate.

Similar Messages

  • How can I find out the total number of gigabytes of all my photos in Iphoto?

    How can I find out the total number of gigabytes of all my photos in Iphoto?

    In the Event mode open the Info window at the bottom left  (Command+i or click on the blue i button).  Then select all of the Events.  The number of photos and size will be shown in the Info window at the right.
    OT

  • How can i work out the GMT time wherever i am ?

    Hi, i'm going crazy with the date/time classes, just can't seem to work it out.
    I need to know the current time as a GMT time.
    I need to know wherever the program is running, i myself am in Amsterdam GMT+02:00 , my server is located in Canada GMT-04:00 (?)
    I parse dates from websites all over the world so i get times in the form of strings of which i know the timezone. I need to store everything in a mysql database and i want the database to contain GMT times only.
    I've worked out how to get a string from its timezone into GMT but,
    how can i get the current time as GMT ?
    somehow i keep getting timeshifts i cannot explain.
    this is where i got to:
    TimeZone tz_gmt;
    tz_gmt = TimeZone.getTimeZone("GMT");
    SimpleDateFormat sdformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    sdformat.setTimeZone(tz_gmt);
    Timestamp tsGmtnow;
    tsGmtnow = Timestamp.valueOf(sdformat.format(new Date()));
    Which is fine if i run it in Amsterdam, it gives me the current date/time in GMT, but on the server in Canada it gives me GMT+4 hours. What am i missing ?

    found a workaround,
         TimeZone tz_gmt;
         tz_gmt = TimeZone.getTimeZone("GMT");
         TimeZone tz_can;
         tz_can = TimeZone.getTimeZone("GMT-04:00");
         TimeZone tz = TimeZone.getDefault();
         String Stz = tz.getID();
         SimpleDateFormat sdformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
         Timestamp tsGmtnow;
    if ( "Europe/Berlin".compareTo(Stz) == 0) {
         // i'm in Europe, go from local time to GMT
         sdformat.setTimeZone(tz_gmt);
         tsGmtnow = Timestamp.valueOf(sdformat.format(new Date()));
    } else {
         // i'm in Canada, local time IS gmt
         sdformat.setTimeZone(tz_can);
         tsGmtnow = Timestamp.valueOf(sdformat.format(new Date()));
    out.println(tsGmtnow.toString());
    the default timezone returns either:
    Europe/Canada
    GMT-04:00
    somehow the GMT-04:00 get ignored by the formatter

  • How can I work out the I cloud

    How can I download the music
    How can I get the I cloud started
    Need to increase the speed of my cell the fastest processing unit required

    Music and other content from the store will only show if you are in a country where they can be redownloaded (and if they remain in the store). If you are in a country where you can redownload music purchases then you will have a Music category in the Purchased tab in the iTunes store app on your phone, and under the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage on your computer's iTunes
    There is some info on the cloud here : http://www.apple.com/icloud
    How to set up : http://www.apple.com/icloud/setup/
    Creating an iCloud account : http://support.apple.com/kb/HT4436

  • How can I close out the page I am working on in safari when error boxes keep popping up?

    How can I close out the page I am working on in safari when error boxes keep popping up?

    What do the error messages say ?

  • How can i find out the file size of a Keynote on an iPad please?

    How can i find out the file size of a Keynote on an iPad please?

    I think a rule of thumb is what you're looking for.
    Full bandwidth CD audio (AIFF): about 10 MB/min
    Apple Lossless: about 5 MB/min
    MP3 @ 256k: about 2 MB/min
    MP3 @ 128k: about 1 MB/min
    Of course the MP3 file size is exactly linear with bit rate.
    As for sound quality:
    Apple Lossless is, as the name says, lossless.
    MP3 @128k: fine for listening in the car or the kitchen etc. If you have an audiophile sound system, this will remind you why you spent all that money.
    MP3 @256K: barely distinguishable from CD on very good equipment.
    MP3 @320K: probably not distinguishable from CD.
    I presume that since you're talking about importing classical CDs these are ones you own. Remember you can always do it again if you need higher fidelity or if better technology comes out. I import most CDs at 128k, since most of my MP3 listening is in the car, or walking, or as background. And I can always play the CD if I want to sit and listen.
    The logic for purchased music is totally different -- you probably won't get to upgrade that without buying it some different way. So buying 128k MP3s (or AACs) is something you'll probably regret later. Buying 256k MP3s is a lot less problematic.

  • Help! How can I take out the mini-disc stuck in mac?

    Help! How can I take out the mini-disc stuck in mac?
    I insert it into the mac, but the OS cannot load the disc and the disc cannot be ejected even i pressed the "eject" button.

    This happened to a family members macbookpro. A mini-cd inserted, couldn't be mounted or ejected by the drive.
    I cut a rectangle from a cereal box about two inches wide and 6 inches long. Abour an inch and half from one end in the middle I cut a notch and bent it down a little.
    I................I
    I................I
    I....I__I....I
    I................I
    I................I
    I................I
    I................I
    I................I
    I................I
    I................I
    I................I
    I................I
    I________I
    I then inserted it slowly into the drive notch down and slowly pulled out. I did this few times and caught the mimi-cd and removed it. The drive has worked flawlessly for several years
    A few days after this happened I was in BestBuy and an Apple rep was there displaying new Apple products. I asked him about it and he said they have a tool that ***** it out.

  • How can I move out the char Θ

    hello.
    How can I move out the char Θ (unicode U+0398) оn Jspx-page used af:outputlabel.
    When I write <af:outputLabel value="27. char(Θ)" />, application auto replace on char "?".
    thx, Dema.

    Hello
    Probably an encoding problem.
    try changing your charset into your JSP:
    ex: <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    I tried it and it works for me
    Jack

  • How can i print out the waveform chart?

      hello everybody,
    how can i print out the "waveform chart". can i do it just push the button. ( example; stop button is stop the program etc..)
    i checked the NI examples but i can't understand. i'm new to the Labview.
    pls help me.
    i added the my program
    look forward your reply
    regards from turkey...
    Message Edited by hknmkt on 05-29-2008 04:15 AM
    Attachments:
    29.05.2008_11.vi ‏37 KB

        hi jim,
    i tried the program but it's not running. When i run the program, it's print out without run the program
    i added the printed file.
    look forward your reply
    hakan
    Attachments:
    error8.JPG ‏8 KB

  • How can I find out the dpi of an image in Acrobat.

    How can I find out the dpi of an image in Acrobat. I have tried the pre-flight option but I really don't understand the pixels width x depth information that I get. I basically just want to know at dpi of a single image. Is there other program that will read my pdf file and tell me this information.

    Thank you, tylerdurdain! That was ridiculously difficult to find. Not sure what version of Acrobat you're using in your image, but for those using Acrobat Pro 11 (in Mavericks), it's buried under View > Tools > Print Production.
    That opens a panel on the right.
    To keep from having to chase it down this way each time, right click on "Output Preview" and choose "Add to Quick Tools Toolbar". That adds a button to the top right of the toolbar.
    Now you can call up the inspector with one click. Choose Object Inspector as tylerdurdain shows above, then click on the item displayed to get its properties.

  • How can you find out if another VI running on the same computer and how can you find out the name of that VI?

    Suppose that several VIs running simultaneously on the same computer. How can I find out the names of the running VIs, from another VI?
    If the already running VIs are clones of the same basic VI, open and run with the option "Prepare to call and forget", how can I find out the names and index of each clone? 

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

  • How can I find out the mail server from email address?

    Hi:
    How can I find out the mail server from email address?
    for example: If I know the email address is [email protected],
    how to find the pop3 and smtp mail server?
    THANK YOU

    You can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
    The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
    Sean

  • HT4356 I don't have wireless printer. How can I print out the document?

    I don't have a wireless printer. How can I print out the document from regular printer?

    iOS AirPrint Printers  http://support.apple.com/kb/HT4356
    How to Print from Your iPad: Summary of Printer and Printing Options
    http://ipadacademy.com/2012/03/how-to-print-from-your-ipad-summary-of-printer-an d-printing-options
    Print from iPad / iPhone without AirPrint
    http://ipadhelp.com/ipad-help/print-from-ipad-iphone-without-airprint/
    How to Enable AirPrint on a Mac and Use Any Printer
    http://ipadhelp.com/ipad-help/how-to-use-airprint-with-any-printer/
    iPad Power: How to Print
    http://www.macworld.com/article/1160312/ipad_printing.html
    Check out these print apps for the iPad.
    Print Utility for iPad  ($3.99) http://itunes.apple.com/us/app/print-utility-for-ipad/id422858586?mt=8
    Print Agent Pro for iPad ($5.99)  http://itunes.apple.com/us/app/print-agent-pro-for-ipad/id421782942?mt=8   Print Agent Pro can print to many non-AirPrint and non-wireless printers on your network, even if they are only connected to a Mac or PC via USB.
    FingerPrint turns any printer into an AirPrint printer
    http://reviews.cnet.com/8301-19512_7-57368414-233/fingerprint-turns-any-printer- into-an-airprint-printer/
     Cheers, Tom

  • How can I find out the screen size of the users moniter using the Acrobat SDK?

    How can I find out the screen size of the users moniter using the Acrobat SDK? I need to know how much sreen real estate that is available on the users moniter. Is there some call that I can make from the SDK to discover the maximun X and Y coordinates?
    Thanks,
    Gregory

    Currently, I am testing on multiple moniters and it is defaulting to the moniter designated as the #1 moniter. For our purposes, this is acceptable. Once the two documents have loaded, the user can move and re-size at will.
    Gregory

  • How can i find out the more than one times occurance of integer in a array?

    How can i find out the more than one occurance of integer in a array. Assume i have 2,2,3,4,2,5,4,5 in a Array and i need to find out the how many times of 2, 5 and 4 is exists in that array. Please some one help me as sson as possible. thanks in advance....

    Kumar_Mohan wrote:
    How can i find out the more than one occurance of integer in a array. Assume i have 2,2,3,4,2,5,4,5 in a Array and i need to find out the how many times of 2, 5 and 4 is exists in that array. Sort the array. Then loop through it and compare each i-th element with the (i+1)-th element.
    Please some one help me as sson as possible. thanks in advance....In future postings, please refrain from telling that it is urgent, or you need help ASAP. It is rather rude to do so.

Maybe you are looking for

  • Physical standby using rman

    Step By Step Guide To Create Physical Standby Database Using RMAN      Doc ID:     Note:469493.1 says: Step 2: Move the backups to the standby server I'm a rman novice. What does that move look like? Do I copy the various files mentioned in the backu

  • Tried loading several actions in PSE12, NONE work

    I was previously using PSE6. Outdated, I know. I had downloaded and was using a bunch of actions from CoffeeShopBlog, which I really love. I upgraded to PSE12 today, mostly because not all of the CoffeeShop actions worked in 6. I tried loading action

  • Compiling Media gives a Device ERROR at 99% in PE 11

    I have a 3 hr on my time line and am trying to burn a Blue Ray. It is compiling and at 99% it gives a Device ERROR. The original video was shot on a Canon DSLR camera. My burner is a LG and is external USB 3.0. My OS is Win7 64 Bit and have nVidia ca

  • ADF UIX: How to narrow the value range of a MessageChoice?

    I have 3 ViewObjects: 1st one is CustomerVO with an attribute called CustomerNo, 2nd one is LinkmanVO with attributes LinkmanName and CustomerNo . And I do not create viewlink between them(for some reasons). 3rd one is JobVO with attributes CustomerN

  • Superposer les calques

    Bonjour, j'ai un problème, à chaque fois que je mets des images sur Adobe photoshop elements 10 ça me l'a met toujours en arrière plan. Se que je cherche c'est que je puisse mettre en premier une image en arrière plan et que les image que je mets à l