Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [uptime]

The tag has no usage guidance.

66
votes
4answers
60k views

What does load average mean on Unix/Linux?

If I run uptime, I get something like this: 10:50:30 up 366 days, 23:27, 1 user, load average: 1.27, 2.06, 1.54 What do those numbers on the end mean? The man page tells me it's "the load average ...
64
votes
6answers
87k views

How to find uptime of a linux process

How do I find the uptime of a given linux process. ps aux | grep gedit | grep -v grep gives me a whole lot of information which includes the time at which the process was started. I am specifically ...
42
votes
11answers
44k views

Linux: Getting date & time of system startup

I know that uptime prints the time a machine has been up and running, but is there an easier (reliable) way to get the date of the start up than counting down from this output? I tried looking around ...
42
votes
8answers
236k views

How to find out uptime on Windows?

What is the simplest way to find out how long a computer is turned on Windows?
33
votes
1answer
21k views

Why there are two users showing in uptime command results?

When I ran the uptime on my MacBookPro machine I got the following result: Last login: Thu Jun 3 14:43:40 on ttys000 Osama-Gamal-MBP-2:~ iOsama$ uptime 14:49 up 7 days, 20:10, 2 users, load ...
26
votes
11answers
11k views

How to find the uptime since last wake from standby

I want to know the uptime since the last wake from standby. The command uptime only shows the difference between current time minus the last startup time.
16
votes
3answers
40k views

Windows 8 uptime not resetting after restart or shut down

Memory continuously rises, probably because of various applications that I run including Chrome, and it starts to choke out windows so I try to reboot it after 3-4 days at the most. When I am in the ...
10
votes
4answers
6k views

Windows 8 reports WRONG uptime (possibly total Hybrid-Boot uptime)

The up time shown in the picture is 6 Days, 1 hour, 34 Minutes, 22 seconds. I turned on this Laptop just about 7 min ago. I actually think it like, Windows 8 reports the total up time while in Hybrid-...
5
votes
6answers
984 views

Server uptime checker? [closed]

I want to monitor my server's uptime. Is there some free application or a really good paid service that offers this? Obviously, I can't write something that is hosted on the server whose uptime I am ...
4
votes
1answer
19k views

Why is the system uptime too long despite shutdown?

I'm noticing something strange in my PC. The Task Manager in my system displays my system uptime is around 3days and 1hr. I can honestly tell you that I have used the machine for just 10hrs this week. ...
4
votes
1answer
314 views

Found a Windows 3.1 machine. How do I get the uptime?

I have found a very old machine at a company storage room. It seems to have been running forever. It is not connected to the Internet and only has a 3.5" floppy drive. Is it possible to look up the ...
4
votes
1answer
849 views

“Load average” stuck on 7.0

I'm using gentoo and anytime I do uptime, my "Load average" is stuck at 7.0 across the board. When using top or htop or dstat the CPU usage is always idle. The computer is used to run a Java program ...
3
votes
1answer
3k views

Check when computer was turned on for Windows

On a Windows computer, is there a way to see the date and time when the computer was booted/turned on/powered on? Something like the Linux uptime command. But I'd rather it display the exact time ...
3
votes
1answer
281 views

Identifying when a Windows Xp Machine Crashed/Rebooted

I have a Windows Xp SP3 box (doing the duty of a server) that is having uptime problems due to either power outages in the office, or some unexplained crashing. How can I find out the last time ...
3
votes
3answers
348 views

Windows 8.1: How to ascertain 'true' uptime?

Please read carefully; this is not the usual uptime question. I tend not to shut down my computer per se but instead put it to sleep. It makes boot times quicker and allows me to use WOL. The various ...
2
votes
4answers
5k views

Uptime program compatible with Windows 7?

I'd like to get the uptime of my computer, and also power events, like when the computer goes to sleep and when it's waking up. Bonus points if it tells why it's waking up: scheduled task, user ...
2
votes
3answers
3k views

Parsing the output of “uptime” with bash

I would like to save the output of the uptime command into a csv file in a Bash script. Since the uptime command has different output formats based on the time since the last reboot I came up with a ...
2
votes
1answer
9k views

average load and total %CPU in top

I thought the average load by uptime and the summation of %CPU of all running processes in top (#9 column) should agree. But it seems not true. Here is my little experiments: On one server: $ top -b ...
2
votes
2answers
2k views

How to get system uptime in milliseconds in command line?

How I can get the system uptime in milliseconds from the Windows command line? I want something like the result of this function: gettickcount(), e.g. 24233241231. Is there a command, utility or ...
2
votes
1answer
2k views

How to view Windows' physical uptime?

How can I determine how long my Windows 8.1 PC has been up and running? Checking in task manager or using systeminfo command does not work, because they do not reset when you hibernate. I need to know ...
2
votes
1answer
2k views

Is it possible to fake a Linux machine's uptime?

I would like to set an old Linux server's uptime output, so that it continues to count from my set timepoint, rather than its actual last reboot. Is that possible? Can I somehow edit the timestamp ...
2
votes
1answer
255 views

What are the 'uptime' load averages out of? [duplicate]

Possible Duplicate: What does load average mean in unix/linux? I'm confused by the load averages produced by the 'uptime' command. I know it might be a stupid question but what are they out of? ...
1
vote
6answers
4k views

How to track computer's uptime

I have Linux desktop. I don't leave it 24/7 turned on. I would like to gather statistics on how much time computer was turned on each day, f.e.: 2012-08-21: 7:52 2012-08-22: 8:43 2012-08-23: 7:36 If ...
1
vote
2answers
159 views

How can I get an alert if my application is down?

Is there a WinXP application/service that will monitor other applications for runtime? I've seen the MS uptime monitor, but that just seems to be for server uptime, not for individual apps. Haven't ...
1
vote
1answer
748 views

Echo uptime in linux

I need to determine the number of users on the system, and if the value, is above or equal to a user count variable set in the script, print out how long the system has been up and what the system ...
1
vote
1answer
160 views

Generate daily system load / uptime stats

In order to study my Mac system activities I want to visualize uptime, sleeptime and cpu average during each day. My first guess would be looking at the system logs, but I would like to know which ...
1
vote
1answer
1k views

What Windows log should I use to monitor service uptime?

I need to write a script that takes data about reliability of Windows services (default and custom) and forwards them to a central server for processing. My problem is that I am not sure what log ...
1
vote
0answers
33 views

How do I prepare a Windows 10 computer for a long-running time-critical measurement?

For the company I work for, I have to set up a computer which is supposed to do a long-term measurement on one of our products. The following parameters apply: Measurement duration: ~2 weeks ...
0
votes
1answer
213 views

Turn off pc after tot. daily uptime

I need to turn off my system after it reach a certain amount of daily uptime. I was planning nof writing a batch or a simple program, schedule his boot only for a specific user, that checks the daily ...
0
votes
1answer
63 views

CPU LOAD Average + when to set when threshold

We have a cluster with physical machines HW Each machine contains 32 CPU # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): ...
0
votes
1answer
1k views

How to find out the time Linux machine have spent in sleep [duplicate]

Everyone knows that command uptime shows running time of Linux machine. Is there a similar command for sleep and/or hibernate mode? To be clear: I want to know wake up time of my system.
0
votes
1answer
86 views

dose tune of the kernel parameters can help to decrease the queue of CPU ( low cpu load average )

We have a machine with 32 CPU. For now the results from uptime ( load average ) for 1 min - 23 for 5 min - 21 for 15 min - 20 We notice when the values are small, like ~3-8, the application ...
0
votes
0answers
8 views

Command line (tool) to show last resume from Sleep/Hibernation, not Total Uptime or Last Reboot? [on hold]

Windows 10. Do you know a small command line tool to show last resume from Sleep/Hibernation? I've found only tools showing Total Uptime or Last Full Reboot (e.g. https://neosmart.net/blog/2017/...
0
votes
0answers
19 views

How to disable mail about a password is required for command uptime

I received lots of local mail about security information: ** SECURITY information for localhost Jan 20 13:58:51 : chepseskaf : a password is required ; TTY=pts/0 ; PWD=/home/chepseskaf ; USER=root ; ...
0
votes
0answers
64 views

free -m and uptime commands sometimes not returning result

I have http://trafikito.com agent running on several servers and what it does - it takes commands to execute, executes and sends outputs to Trafikito dashboard to display stuff on charts. I have 10 ...
0
votes
1answer
24 views

How to find process status at a older time

The command 'ps' gives current status of the processes. Is there any way to find the status of a particular process in the past: say I would like to know the status of a particular process 48 hours ...
0
votes
1answer
168 views

I am not receiving the email when I try to send using Perl (MIME::Lite)

#!/usr/bin/perl use MIME::Lite; my $to = 'mkumar@birdserver.com'; my $from = 'pkumar@birdserver.com'; my $subject = "Eventful"; my $message = " Hi - Test email"; $msg = MIME::Lite->new( ...
0
votes
1answer
562 views

Find out how long ago the windows computer woke up

I have a backup server which gets waken up by a wake-on-lan packet, then pulls the files from the clients and then goes back to sleep again. Sometimes I wake it up via WOL and want to keep it on for ...
0
votes
0answers
61 views

Log of computer uptime and main CPU consuming threads

Is it possible, with a built-in Windows 7 tool, to get something like this for the past 3 months : DATE COMPUTER ON TIME COMPUTER OFF TIME DURATION MAIN CPU-CONSUMING PROCESSES 2016-06-...
0
votes
2answers
134 views

Will load average from uptime effectively explain the system load in Linux?

I have a cron which is scheduled to record the system load using uptime for every five minutes. At times the load average for 5 and 15 min cross 8 (max seen is 10). So is the system under heavy load? ...
0
votes
1answer
140 views

Why does a system hang after it has been running for over 12 hours?

After my SSD failed, the only other option was to revert to a standard hard drive. Since then, I've noticed that the system cannot endure more than 12 hours before experiencing intermittent lockups ...
0
votes
1answer
471 views

Daily “computer on” time from Windows logfiles

I'd like to know how long our computer is on, i.e. not in standby mode, for any given calendar day. Is there a (free) program that extracts this information from the Windows System event log into, ...
0
votes
1answer
443 views

What are the benefits / downsides of a high uptime? [closed]

Today I noticed that htop added a bang after the uptime of my server, because my server's uptime is now greater than 100 days. I don't know if this is a warning, or a congratulation : What are the ...
-1
votes
2answers
5k views

Batch file to obtain system info of remote servers list with unique login credentials

I'm not familiar with scripting. I have a task at hand which requires to check server uptimes to make sure if they were actually re-booted when they suppose to. I was going through Google Search and ...