Questions tagged [uptime]

101 questions
34
votes
7 answers

Determine process uptime

Is there a way to determine the 'uptime' of a process in Windows. Disappointed to find that it is not one of the attributes available when using the Task Manager.
nick
  • 343
  • 1
  • 3
  • 4
17
votes
1 answer

Update Docker container without downtime

Let's say I have a Docker container with a web server (like Apache 2). Now I want to update the OS under it. This SF answer says the best way is to rebuild the base image and my Apache image. But deploying the image means downtime because I have to…
das_j
  • 223
  • 2
  • 7
12
votes
2 answers

uptime command gives weird results in a docker image

If I run a docker image and call uptime, I always get a longer value than the real one. docker run -it 1d2dfb3a35ab root@7efb3e947f73:/# uptime 23:41:57 up 16 min, 0 users, load average: 0.06, 0.02, 0.00 It hasn't been running for 16 minutes,…
cfischer
  • 294
  • 1
  • 4
  • 9
12
votes
2 answers

How can I find out the very first time linux machine start up?

When we use uptime, it only shown us the up-time of ours machine since it started from the last time it turning on/shutdown/reboot. But, what if I want to get the time when our machine started from the very first time when it installed? Do Linux own…
yan
  • 123
  • 5
11
votes
7 answers

Uptime Monitoring Every Second - Bad For the Server?

I'm wondering if there's avantages of checking if a server is UP by doing a "HTTP GET Request" every second? Can any server handle it?
donald
  • 453
  • 1
  • 6
  • 17
9
votes
1 answer

apache httpd restarts every 24 hours

I have an Apache/2.2.22 (Linux/SUSE) and it automatically restarts every day at the same time. I have no cron jobs configured to do that on any user. I started collecting minutelly snapshots of the status page and from that I found out that: Restart…
cherouvim
  • 744
  • 3
  • 18
  • 37
9
votes
8 answers

Simple web server monitoring (alive)

Any tip about software to monitor if a web server is up and running on linux ? It should be able to run with not knowing anything more than the URL. And it must have functionality to send an email alert when the site goes down. Should not be hard to…
Zitrax
  • 784
  • 2
  • 11
  • 21
8
votes
6 answers

Ping Equivalent For Checking If A Port Is Open

How do I check if a port is consistently alive? For example, I could use ping 192.168.1.1 -t > results.txt This will ping 192.168.1.1 continuously so that I could monitor it. Is there an equivalent tool or command that I could use for…
grassbl8d
  • 273
  • 2
  • 3
  • 9
6
votes
2 answers

Is there a locally hosted service (similar to Pingdom) for monitoring uptime/response time?

Possible Duplicate: What tool do you use to monitor your servers? I'm looking for something to monitor intranet apps and internal web services, and provide logs of historical response times, uptime, alerts if the system becomes unavailable... In…
Dylan Beattie
  • 576
  • 2
  • 9
  • 23
6
votes
7 answers

Detecting restart since last run in a shell script on Linux?

What's the best way to tell from a shell script if the host has restarted since the last time the script was run? I can think of storing the uptime in a file on each run, and checking if it has decreased, but that doesn't seem completely robust (a…
kdt
  • 1,360
  • 3
  • 22
  • 34
5
votes
1 answer

Making HAProxy Pass a Host Name in HTTPCHECK

I am trying to perform HTTP Checks in HAProxy with a specific host name. Here is a snippet from my backend configuration: option httpchk HEAD / HTTP/1.1\r\nHost: example.com http-check expect rstatus (2)[0-9][0-9] When I view the IIS logs on the…
Fenton
  • 224
  • 1
  • 4
  • 13
4
votes
1 answer

How is uptime tracked in UNIX?

I'm asking because I recently restored a system from a backup using NetBackup and uptime now reports that the system has only been up since the restore finished, despite the fact that it has been running for several days. Last reboot also reports…
D34DM347
  • 1,461
  • 2
  • 19
  • 32
4
votes
4 answers

How can you tell if a server is down?

Let's say I am getting no connection to a website over http, ie. "Oops! Google Chrome could not connect to x" returns in a browser. What steps can I take to determine if the server is completely offline or whether there are still some services…
Peter
  • 1,450
  • 2
  • 15
  • 26
4
votes
2 answers

Command / Method to find the up-time of SSH server daemon & Nginx

I am looking for a method / Linux command to get the up-time of the open-ssh server and Nginx server running on my Ubuntu system. I want to know the up-time for calculating some internal statistics. I am looking for something similar to mysqladmin…
4
votes
3 answers

How do I handle post-mortems/incident reporting with Nagios?

I just started using Nagios and I like that my team can acknowledge problems, but I haven't yet found a way to log the solutions that are used to correct the problems. Is there a tool that logs Nagios alerts and provides a way to complete…
GregB
  • 1,362
  • 2
  • 13
  • 21
1
2 3 4 5 6 7