Questions tagged [uptime]

uptime is a Unix command which tells how long the system has been running.

Note: Please use for questions relating to the remote monitoring tool Uptime.

173 questions
2
votes
2 answers

Reasonable Downtime

I run about 5 different hosted servers, through a variety of hosting providers. In the past two months, one of the servers I work on has been down twice. Both times were unexpected and fairly long (36 hours and 4 hours). The server in question is…
Brian Fisher
  • 23,519
  • 15
  • 78
  • 82
2
votes
2 answers

monitor process uptime on Windows

We want to monitor some processes on windows machine. If process is down for 30 minutes, an alarm will be raised. Is it possible/or necessary to monitor a process downtime precisely, say, a process is down EXACTLY for 30 minutes, then an alarm will…
eric young
  • 53
  • 1
  • 2
  • 7
2
votes
2 answers

Node.js and forever how to get uptime/starttime within the application

I've a nodejs app running with forever forever start service.js -w. Now I want to check the uptime of the specific service.js app (and not the system uptime). Is there a package or a possibility to easy check uptime or time since the latest start…
MemLeak
  • 4,456
  • 4
  • 45
  • 84
2
votes
2 answers

Retrieving Last Boot Time Stamp In C

I've been able to retrieve the uptime value from /proc/uptime (which is in seconds). However, I need to retrieve the last boot time stamp using C. (I cannot use system(...) function to call uptime.) For example, when I run the uptime command, the…
Jake Z
  • 1,113
  • 1
  • 12
  • 22
1
vote
1 answer

How to get the replit link for uptime robot?

I have made a super simple discord bot (for study tracking sessions) and I want it to run 24/7 So from all the google searches, I found that I could do that with the help of uptime robot website and for that purpose I need the URL/link of my repl…
Prathamesh Bhatkar
  • 291
  • 1
  • 4
  • 15
1
vote
1 answer

How do I get Windows uptime via command prompt?

How do I get Windows uptime? systeminfo | find "System Boot Time:" shows the time it has been up since, but not for how long, that would need to be calculated separately. I need something like uptime -p on Linux but for Windows. If it's a shell…
1
vote
1 answer

How would I calculate uptime percentage from my table?

I have a table called server_connections which adds a new record each time a ping is performed every ten minutes, the structure of the table can be found below. I am looking to calculate the uptime percentage of each server as there is a OFFLINE or…
Infinity
  • 13
  • 3
1
vote
3 answers

Terraform Google Uptime check module - how to specify a region

I want to specify a region for uptime check to run . I specified argument selected_regions and assigned value "North America" but getting the below error My terraform code resource "google_monitoring_uptime_check_config" "http1" { project =…
1
vote
1 answer

Invisible Delays between Spark Jobs

There are 4 major actions(jdbc write) with respect to application and few counts which in total takes around 4-5 minutes for completion. But the total uptime of Application is around 12-13minutes. I see there are certain jobs by name run at…
1
vote
1 answer

Uptime in GCP: Measure the % uptime where site is available from _any_ location

Our site is running on Google App Engine, and we've set up monitoring and uptime alerts. We want to be able to report on site uptime as a %, where the site is consider up if it can be accessed from any of the 6 locations: If location A cannot…
Paddy Mann
  • 1,169
  • 12
  • 18
1
vote
1 answer

how to interprete sinfo cpu load %O?

sinfo --format "%O" gives the load of nodes. Is this an average value of a specific time period? And how is this value related with the load averages (1m,5m,15m) of uptime command? Thanks
potant
  • 7
  • 1
1
vote
2 answers

How can an application running in a docker container detect that the docker host rebooted?

I have an application (Django) running in a docker container on a cloud provider. For various reasons it would be useful for me to know when the host itself rebooted, and to save this event somewhere e.g. a database. Obviously it's easy to detect…
eggbert
  • 3,105
  • 5
  • 30
  • 39
1
vote
2 answers

Nagios Tool, total running time for the tool

Is there any way to check for how long the NAGIOS TOOL runs? I mean when the tool started running and the time up till now. Nagios is running in a remote machine, in which I have access (through ssh). I have both credentials for accessing the…
Mary T.
  • 11
  • 2
1
vote
0 answers

How to graph uptime/downtime programatically?

I'm building a PHP app that monitors uptime/downtime of a service. I want to graph it similarly to this (https://codepen.io/spglco/pen/yofBp) using different colored divs to represent up or down. I'm having a hard time wrapping my head around the…
1
vote
1 answer

Powershell reboot console issue

I have a login script that reboots PC if it has been on longer than allowed. I have a PowerShell script that is run during login and executed weekly to check the machine uptime and reboot if it is on > 48 hours. The script allows the user to…
Ryank189
  • 11
  • 1