checking computer uptime

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gimp
    Registered User
    • Jan 2001
    • 2368

    #1

    checking computer uptime

    Is there a way to check the uptime of your computer built into windows 2k? My server hasn't been shut off for a long time, and I'm curious how long.
  • petefol
    Registered User
    • Mar 2002
    • 780

    #2
    i know there is a way, cause in my mirc client there is an option to display it, i dont know of a dos command or anything like that though.

    Comment

    • synreal
      code monkey
      • Oct 2001
      • 1051

      #3
      ctrl+alt+delete >> task manager >> processes >> system idle process: cpu time

      that'll give you a pretty good idea of how long your server has been up and sitting around. or just run samurize.


      AO Drops for sale

      Comment

      • cheetah256
        I am root!
        • Oct 2001
        • 627

        #4
        yeah, its not quite as easy as linux. just open a terminal and type "uptime" : )

        Comment

        • gimp
          Registered User
          • Jan 2001
          • 2368

          #5
          In windows xp you can use the command 'systeminfo', but that doesn't work with windows 2k. I can't use the ctrl-alt-delete because I access the computer with RealVNC, so it's a remote desktop, and it won't let me do it. It should, it has a built in command that says 'send ctrl-alt-delete', but it won't work. I'll mess with it more later.

          Comment

          • lopxtc
            Unix Geek
            • Oct 2001
            • 2706

            #6
            Download pstat (This link is linked directly to the install executable) from Micro$haft and install it onto the server box.

            Then simply run the pstat.exe file and pipe it into a more command or simply use;

            pstat | find "Idle"

            This will return the Idle Process and its stats. The second column shows kernel time which I believe should give you a rough estimate of how long the system has been up.

            Example from my workstation at work;

            C:\Program Files\Resource Kit>pstat | find "Idle"
            0:00:00.000 11:49:20.549 16 1 0 0 0 1 0 Idle Process pid: 0 pri: 0 Hnd: 0 Pf: 1 Ws: 16K Idle Process

            C:\Program Files\Resource Kit>



            Aaron
            Team Managed Aggression, Missouri Paintball

            Pround owner of a 2003 Shocker, and AO.org user ... an almost unheard of combo.

            "Love, Peace, and Shonen Knife!"
            AOLIM - lopxtc

            Comment

            • warpfeedmod
              I came, I saw, I painted.
              • Jun 2001
              • 1265

              #7
              you can also download and run statbar.

              StatBar is a freeware system status bar which provides a handy, orderly overview of your system's condition. StatBar comes with 6 different color schemes and 19 information modules, allowing you to monitor and control various aspects of your system.



              great little freeware proggy..and it's customizable too with skins and what you show on it.
              My Trader Feedback
              It was the only tournament I've been to where they have more cases of beer than paint. - gimp

              Comment

              • alkafluence
                Slave to the Traffic Light
                • Jun 2002
                • 543

                #8
                There's also a way to do it, without installing any goodies etc.

                Since you are on a VNC type connection, you can always click on the little network connection icon in the system tray.

                Provided you haven't unplugged the network cable at any time. There should be a "Duration" field which will tell you almost exactly how long the machine has been up.

                [This makes the assumption however that your network connection comes up when your machine boots into windows, and that it has remained connected during that time period.]


                I'm not under the alkafluence of inkahol that some thinkle peep I am. It's just the drunker I sit here the longer I get...

                Comment

                • gimp
                  Registered User
                  • Jan 2001
                  • 2368

                  #9
                  I tried that pstat, but it doesn't show how many days, it just goes to hours. I dont know if it goes to 99 hours or 24. That starbar looks like it would take up to much resources. I'll skip that. I tried what alkafluence mentioned. According to that I've been up for about 55 days. Now, is that just how long I've been plugged into the network, weather the network is up or not? Cause sometimes the network would go down, like if they're repairing it or something.

                  Comment

                  • petefol
                    Registered User
                    • Mar 2002
                    • 780

                    #10
                    well if you still want it, get a mirc client that has something called moo.dll, clients with that usually have an option to display uptime, at least mine does. try invision or excursion.

                    Comment

                    • alkafluence
                      Slave to the Traffic Light
                      • Jun 2002
                      • 543

                      #11
                      Originally posted by gimp
                      I tried that pstat, but it doesn't show how many days, it just goes to hours. I dont know if it goes to 99 hours or 24. That starbar looks like it would take up to much resources. I'll skip that. I tried what alkafluence mentioned. According to that I've been up for about 55 days. Now, is that just how long I've been plugged into the network, weather the network is up or not? Cause sometimes the network would go down, like if they're repairing it or something.
                      It doesn't matter if the network is up or down. The only thing that matters is whether or not you are still plugged into your respective hub, switch, or router.

                      If the physical cable has never been unplugged and you've never disabled the connection, it tells the truth.


                      I'm not under the alkafluence of inkahol that some thinkle peep I am. It's just the drunker I sit here the longer I get...

                      Comment

                      Working...