Questions tagged [uptime]
How long a system is currently up for. There is also a command called `uptime`.
26
questions
44
votes
6
answers
82k
views
How to find which users are currently logged in?
uptime
shows among others 4 users, should I be worried?
According to man uptime
uptime gives a one line display of the following information. The current time, how long the system has been ...
26
votes
4
answers
8k
views
What's the fairest way to monitor total CPU time - per user?
On a multi user system, I want to measure each user's CPU usage in seconds of cpu time. For the purpose of this measurement, I assume that if a PID belongs to a user, this user is causing the CPU time ...
14
votes
10
answers
12k
views
Maximum time for which a Linux PC can be UP? [closed]
Actually I had a linux system ( running Ubuntu 12.04.3 ) for days without reboot.
I ran in to some errors like sleep getting hang and some network mounted file system not getting mount even able to ...
8
votes
2
answers
1k
views
What counts towards uptime?
The question is simple: do time periods when computer is in any of the states below count towards total uptime of a system ?
hibernation
suspending the system
changing runlevel
NOTE:
I am not ...
8
votes
2
answers
2k
views
How to get real uptime?
Is there any easy way to calculate uptime excluding period system is suspended? I would like to count time I've spent in front of computer.
7
votes
1
answer
2k
views
Why is time taken in hibernation included in system uptime?
When i go into hibernation and resume then look at the result of running uptime , i note that the the hibernation duration is also included.
in pm-hibernate man pages. it states that: "During ...
4
votes
3
answers
3k
views
How to generate uptime monthly report in linux?
I wanted to send monthly uptime report to my clients through email. Will any one help me how to generate monthly report.
4
votes
1
answer
484
views
Find out exact time when the Ubuntu machine was rebooted
uptime -s shows when the machine was started:
sample output: 2020-12-31 03:24:00.
Is there a way to know the exact datetime when the machine was rebooted?
3
votes
1
answer
87
views
Is there a way I can get the time since my comptuer last booted? [duplicate]
Is there a log file I can see or command I can issue that will tell me how long my computer has been running since last time I booted or logged in under my account? I'm on Ubuntu 12.10.
2
votes
1
answer
3k
views
how i can know the uptime on battery
is there a way I can know how much time the laptop is up on battery , i know there is the uptime -but it Tell how long the system has been running both on AC and battery
1
vote
2
answers
11k
views
Run command when uptime >= 20 min [closed]
I need run BASH script when uptime >= 20 min(for example). How I can do it?
Please help me create script for check system uptime and check if uptime more 20 min - run another script.
Thanks.
1
vote
2
answers
381
views
What does the call sign of the uptime mean (output of htop)?
I've runnting a ubuntu 12.04 and a 14.04 instance. If I call the uptime, the instance of version 12.04 returns: 65 days and the one of 14.04 returns: 112 days(!). I want to know the meaning of the (!) ...
1
vote
1
answer
2k
views
Is there any way to feed output of a shell script to google sheet?
I wanted to to make some reports on uptime of some a using google sheet. I wanted to update google sheet every day with the reports. I wanted to make report of uptime of at least 100 computers ...
1
vote
2
answers
848
views
Application to show Uptime on Desktop?
i was wondering if there is an application that shows UPTIME on the desktop, something like a desktop widget.
1
vote
2
answers
176
views
How to get all time working hours on Ubuntu Server?
I own a server which is a hardware solution, and I want to see the whole amount of time it has worked. Like sum of all the uptimes.
e. g. if it worked 3 hrs and then stopped and after 3 days worked 5 ...
1
vote
1
answer
7k
views
how to find network active time?
How to know uptime ,downtime with timestamps of all connections of ifconfig. For my case they are three eth0,wlan0 and ppp0.
1
vote
2
answers
273
views
how to retrieve server life uptime?
Is there a command or script that can tell me for how long the server has been up since installation?
(either by checking system installation date (+ removing shutdown-time) or by checking main disk ...
1
vote
0
answers
19
views
Check when was the computer ON? [duplicate]
My server has rebooted a few times in the past week due to electricity cuts. I would like to know when was the server running.
Uptime only gives me information about the last time it's been on.
Last ...
1
vote
1
answer
276
views
Determine how long the server was off, when it off and when it back on
Is there an application i can install on my server so as to know (be notified ) that server has gone off and for how long it was off and also know the time it went on again.
Am trying nagios but cant ...
0
votes
2
answers
1k
views
How to upload sqlite3 database to webserver? [closed]
I am very new to this. There is tuptime.db file which has records of uptime in my computer(local server). How can I upload it to web server and show the database content in a website. I want something ...
0
votes
1
answer
273
views
How to get uptime history?
I can get uptime from uptime but what about time between boot and shutdown historically?
If the last part was the duration (days+hour:minutes), it doesn't make sense that time between reboot is ...
0
votes
0
answers
210
views
distinguish us.archive.ubuntu.com downtime from DNS issue
Between approximately this time:
Fri Jul 3 19:31:00 UTC 2020
and approximately this time:
Fri Jul 3 20:31:00 UTC 2020
I couldn't install any packages from us.archive.ubuntu.com,
but otherwise my ...
0
votes
1
answer
812
views
VMWare slowly freezing whole system
Background:
I'm running Kubuntu 18.04 LTS and running Win 10 as guest for random MS specific apps OS on VMWare Workstation 15 Player. Everything appears to work really smooth and nice... for a while. ...
0
votes
1
answer
256
views
which system command should i use to get the desired output given below
I need to write a system program that imitates who and w.Print the time since login(in the form HH:MM:SS)and the host name. Allow for a command line option -p that also prints the interesting ...
0
votes
1
answer
38
views
High values of cpu load
The system uptime command is returning values above 5... This is a high value right? What could be the reason behind this?
-1
votes
1
answer
80
views
Uptime is not correct
Weird. When I ask the command line for the uptime of my device, today (February 1, 2024) I get the answer that is:
$ uptime -s
2024-01-29 17:56:53
This date is still in the future!