uptime Questions
10
Solved
I'm using uptime in bash in order to get the current runtime of the machine. I need to grab the time and display a format like 2 days, 12 hours, 23 minutes.
7
Solved
How to retrieve the process start time (or uptime) in python in Linux?
I only know, I can call "ps -p my_process_id -f" and then parse the output. But it is not cool.
8
Solved
Something similar to linux
cat /proc/uptime
which returns the uptime in seconds, and preferably not parsing uptime(1).
5
From the documentation for GNU make: http://www.gnu.org/software/make/manual/make.html#Parallel
When the system is heavily loaded, you will probably want to run fewer
jobs than when it is light...
5
Solved
I'm trying to retrieve the current uptime of my Go application.
I've seen there's a package syscall which provides a type Sysinfo_t and a method Sysinfo(*Sysinfo_t) which apparently allows you to ...
Hectoliter asked 23/6, 2016 at 13:10
10
Solved
Is there a simple way to get a system's uptime using C#?
5
Solved
Can someone explain to me how high-availability ("HA") works for a web application ... because I assume HA means that there exist no single-point-of-failure.
However, even if a load balancer is us...
Freehold asked 30/10, 2011 at 3:52
4
Solved
I need the EXACT same output as Linux's "cat /proc/uptime".
For example, with /proc/uptime, you'd get
1884371.64 38646169.12
but with any Mac alternative, like "uptime", you'd get
20:25 up...
10
Solved
I'd like to trim the output from uptime
20:10 up 23 days, 3:28, 3 users, load averages: 3.84 1.06 0.64
so that it just shows:
23 days
I've tried using sed, but I'm not sure it's the right too...
7
A bad side of pushing to Heroku is that I must push the code (and the server restarts automatically) before running my db migrations.
This can obviously cause some 500 errors on users navigating t...
Veliz asked 1/4, 2010 at 13:56
1
Solved
I need a command to get a output of the load average of linux system to use on a script.
I know the command uptime, but using that command I get all that stuff i don't want, like: 12:09:31 u...
6
Solved
I'm looking for a way to get an absolute, always-incrementing system uptime on iOS.
It should return the time since the device was last rebooted, and not be affected by changes to the system date....
9
How do I determine the uptime on a SunOS UNIX box in seconds only?
On Linux, I could simply cat /proc/uptime & take the first argument:
cat /proc/uptime | awk '{print $1}'
I'm trying to do ...
5
Solved
I would like to get the system uptime from within a C application running on a linux-based system. I don't want to call uptime(1) and parse the output, I'd like to call the underlying C API I suspe...
5
Solved
Is there an API to obtain the NSDate or NSTimeInterval representing the time the system booted? Some APIs such as [NSProcessInfo systemUptime] and Core Motion return time since boot. I need to prec...
Heterochromosome asked 1/7, 2012 at 14:46
1
Solved
I want to map the time taken through ktime_get() at kernel space to something of the same unit from user space.
Is there any proc entry or any other source(at user level) which can be compared wit...
Siret asked 1/12, 2014 at 8:24
2
Solved
Here is the screenshot
What does the (!) means next to the uptime ?
4
Solved
Erlang was reported to have been used in production systems for over 20 years with an uptime percentage of 99.9999999%.
I did the math as the following:
20*365.25*24*60*60*(1 - 0.999999999) == 0....
Edlin asked 8/12, 2011 at 6:6
3
Solved
Just curious, Can you fake an uptime, for instance increase it to 10 years?
I have tried changing system time, and it won't do this trick.
2
Is there is a way to get the start time of a windows service by code in C#?
Is there is a way to get the number of re-starts of the windows service in last 72 hours?
4
I am writing a script that powers on a system via network. And then i need to run a few commands on the other host. How do I know whether the system has powered on?
My programming language is Perl...
Sulfate asked 11/10, 2008 at 14:11
1
© 2022 - 2024 — McMap. All rights reserved.