How long a system is currently up for. There is also a command called `uptime`.

learn more… | top users | synonyms

22
votes
3answers
5k 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 ...
3
votes
1answer
69 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.
3
votes
1answer
45 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 ...
2
votes
4answers
384 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 ...
2
votes
0answers
119 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.
1
vote
1answer
289 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
1answer
333 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
1answer
185 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
2answers
978 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.
0
votes
2answers
76 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 (!) ...
0
votes
1answer
26 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
0answers
33 views

Internet Connection Uptime

is there a command I can use to see how long the internet has been up on our linux server? i've tried netstat but its not the one that i'm looking for. i was hoping there was a command where it will ...
0
votes
1answer
28 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?
0
votes
1answer
2k 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.