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
0
votes
1 answer

Stock Uptime value as MySQL timestamp

I'm here for a conversion issue. I have a perl program that gets the uptime of a router, and the output is like : "0000/8/17 1:50:0" where : - 0000 --> Year of uptime - 8 --> Month of uptime - 17 --> Days of uptime and so on... (hh:mm:ss) I made…
Gui O
  • 363
  • 4
  • 8
  • 22
0
votes
1 answer

PHP APC uptime problem

I am on LAMP with Alternative PHP Cache (APC). It worked fine until yesterday when I updated the website and changed a few MySQL queries (I don't see how it would affect the APC opcode cache.) Today I see that the load has increased on the server…
hamlet
  • 65
  • 4
0
votes
0 answers

Running a PHP Server Status Script

I have a PHP script which checks whether a site is down using CURL. I want to know how to run it. My problem. I have 500 sites in my list. I was thinking of setting up a Cron job which will run in a regular interval. I have a shared hosting server…
UVray90
  • 13
  • 4
0
votes
1 answer

UPTIME sorting of arrays in BASH

I have a simple script to count / grab every uptime of each VM on xen (using: xm uptime) xm uptime |grep vm |awk '{print $1}' > /uptime.txt IPS="/uptime.txt" VMDB=$(grep -Ev "^#" $IPS) for i in $VMDB do days=$(xm uptime |grep $i |awk '{print…
moengoet
  • 1
  • 1
  • 4
0
votes
1 answer

How to get a millisecond precision uptime from user-space in Linux?

I'm working on a Raspberry Pi based project that has a GPS module which my boss wants me to get the time from for the system clock. However we also need to take readings on different sensors whilst the GPS may not have a fix, and we need to know to…
PeterBelm
  • 798
  • 1
  • 8
  • 22
0
votes
1 answer

How to get uptime / creation time for a network interface on linux

Could you please help in getting , how to get uptime or creation time for a network interface on linux? Thanks S Sarath
sarath azad
  • 31
  • 2
  • 7
0
votes
1 answer

Monitoring uptime and health of several services (web service, oracle, web app)

I have several services growing in activity. I'm looking for a simple service that can monitor them (web service, oracle, web app), and send an email when one is down. Thanks a lot :)
BenoitParis
  • 3,166
  • 4
  • 29
  • 56
0
votes
1 answer

OS X Uptime History

How to find os x uptime history? There is "last reboot" command on termina which reports last reboot history. How do I write a program with objective C that gets all uptime history ? Thanks in advance!
James C
  • 41
  • 6
0
votes
2 answers

Solr deployment strategies for 100% Up Time while creating whole index

I'm working on a Solr 3.6 with ASP.net MVC3 e-commerce project. I've an index of appx. 1 lac products in Solr. There is some changes in requirements, and we need to rebuild the whole index. Whole indexing is taking almost 1 & half hour during which…
Krunal
  • 2,967
  • 8
  • 45
  • 101
0
votes
2 answers

How to count up time in javascript (maybe with jquery)

On my app, I have a command: @uptime = 'uprecords -s | awk '{ print $5 }' that returns the current uptime from computer (using uptimed). it returns something like 01:00:00 (hours, minutes, seconds) and I want to count up this time. How do I do…
Luiz E.
  • 6,769
  • 10
  • 58
  • 98
0
votes
2 answers

uptime remote counter php

What I want is a little beyond of my basic knowledge on webdev. Im looking for a way to develop a php counter to show me how much time there is an online computer on a network (as he ought to be settled by a ping to that machine i…
user1148875
  • 449
  • 4
  • 11
  • 24
-1
votes
1 answer

Concatenate "date" and "uptime" command in linux/adb

I need to create a script which I need to concatenate the result of "date" with "uptime" for example Date: date '+%a, %b %d %T %z %Y' Mon Feb 13 15:04:05 GMT 2023 And when I run uptime into a terminal emulator appears the following: 15:04:34 up 2…
javier
  • 11
  • 5
-1
votes
1 answer

Linux print uptime in short format

When uptime normally prints out like this ubuntu@ubuntu:~$ uptime -p up 4 days, 1 hour, 43 minutes How could I get it to print out in a shorter format, something like: up 4d, 1h, 43m I need to keep it short to display it on a 1602 lcd screen. I…
Ledi
  • 51
  • 7
-1
votes
2 answers

Finding out the days, hours, minutes and seconds the bot has been up for?

with proc.oneshot(): uptime = timedelta(seconds=time() - proc.create_time()) uptime_minutes, uptime_seconds = divmod(uptime.seconds, 60) uptime_hours, uptime_minutes = divmod(uptime_minutes, 60) uptime_days, uptime_hours =…
-1
votes
1 answer

Is"always" a workable term to describe the uptime of a server?

since me and my colleagues had a discussion about this, I wanted to ask, if you would use the term "always" to describe the uptime of a server in a requirement. Example: The server should be always reachable. Since, in my opinion, alsways can't be…
hxog
  • 13
  • 3
1 2 3
11
12