Server :: Init Uptime Longer Than System Uptime?

Sep 15, 2010

How can init process uptime be longer than the uptime of whole system?

martin@server:~> ps -p 1 -o pid,cmd,bsdtime,start
1 init [3] 20:50 Mar 05
martin@server:~> uptime
2:23pm up 559 days 1:42, 10 users, load average: 0.18, 0.28, 0.34

View 1 Replies


Programming :: Get System Uptime In YYMMDD Format?

Feb 22, 2010

language: cOs: ubuntu 9.10 want a c or c++ program that gives the system uptime in YYYY: MM: DD HH : MM: SS format.eally it is head ditching..This is not home work or assisgnment..

View 10 Replies View Related

General :: Uptime - Getting Date & Time Of System Startup?

Mar 28, 2011

I know that uptime prints the time a machine has been up and running, but is there an easier (reliable) way to get the date of the start up than counting down from this output?I tried looking around /proc, but didn't find anything of relevance. There's also a line like this on my dmesg: [ 0.673492] rtc_cmos rtc_cmos: setting system clock to 2011-03-14 14:26:52 UTC (1300112812), but I'm wondering if this method is distribution and kernel version agnostic.

View 5 Replies View Related

General :: Difference Between System Uptime And Last Boot Time?

May 11, 2011

My Linux system was last rebooted few hours ago. But it seems little confusing for me to figure out the exact reason behind it. I guess following command should justify what i meant to say.

# date
Wed May 11 13:22:49 IST 2011
# last | grep "May 10"
reboot system boot 2.6.18-194.el5 Tue May 10 17:35 (19:46)
root pts/1 XXXX Tue May 10 17:24 - 18:18 (00:53)


My question is Why the uptime is saying that the system is up since last 47 min.It should be more than 1 day if i m not wrong.

View 2 Replies View Related

General :: Calculation Of Working Time Based On System Uptime

Jul 28, 2010

I know several tools that allow tracking time spend on different tasks / projects.Is there any existing tool for very very simplified work-time-tracking.I am an employee, come to the office, switch on my laptop directly. I have mostly around 1 hr lunchtime, but sometimes less, sometimes more.At around 18:00 I want to type one command in the console (or simple GUI would also be okay of course) that tells me:"1 hour overworked. Go home now! (came at 8:00, 1 hour standard lunch-break)."

View 1 Replies View Related

Ubuntu Servers :: Server With Planned Short Uptime?

Jul 27, 2010

I've installed Ubuntu server on a small box with a couple of large hard drives to use as a remote backup server. Since my backups will run nightly in the wee hours, I'm configuring this to use Wake-on-LAN to start the server and run the backup. Once the backup completes - probably on the order of an hour later - another script shuts the server down. Once in a while I'll remote in to update packages and check on the status of the system, though I can check backup logs to insure that is still running.

Need I be concerned about the various cron jobs that periodically run to tidy things up? Should I periodically - say once/month - leave the system up for a full day to make sure that everything that needs to happen will run?

View 9 Replies View Related

Ubuntu Servers :: Server Ram Usage Increases Dramatically After A Few Days Of Uptime?

Jan 31, 2010

I was wondering why after a couple of days of my ubuntu server running, that it goes from starting off at 94mb of ram usage all the way up to 498mb of ram usage?

View 2 Replies View Related

Ubuntu Servers :: Mail Server Will Not Receive Emails After Uptime Over One Hour?

Jan 12, 2011

It is the strangest thing. I can not receive emails on this server after it has been up for an hour. I noticed that everytime and email is received that a sshd opens but never closes. Causeing a memory issue that I dont know how to fix. Also the mailq grows and grows. Mostly with email stating the recipient and send are both [URL].. also shows mail system configuration error. I have to restart the server every 30 minutes so users can get and send emails. This is horrible because for every 5 minutes out of the hour emails are bouncing.i have looked through them but I know not what I am looking at.

PS. I was thrown into the position and have limited knowledge. I am used to a GUI.

View 4 Replies View Related

General :: Last Uptime After Reboot?

Dec 3, 2010

I want to know if there is a way to know the uptime for a server after a reboot process, I need that information for a statistic, but I forgot to take the uptime before reboot the server, so I am looking for that information after the server is power on.

View 1 Replies View Related

Debian :: GNU - Resets It's Uptime Every 497 - 498 - Days

Sep 10, 2010

I've read from some Web-page that GNU/Linux resets it's uptime every 497 (498) days... So even if GNU system works 1000 days, uptime never will be more then 497 (498) days. Is it true?

View 2 Replies View Related

Debian :: Silent Lenny After 1-3day Uptime?

Apr 14, 2010

This seems like a nicely populated forum so I hope some knowledgeable people happen to see this thread.

I've been encountering this issue where the system will not respond to seemingly anything after being on for generally no shorter than a day but sometimes as long as three days. This has been going on for few months since I only have physical access to the machine for about a day or two once every two weeks. So I'll come to the machine, reboot it, it will be fine for a day; then about a day after I'm away from it, it will not respond in any way. When I am away from it I only have ssh access, but when I'm with it, I have access to anything and everything.

After it locks up into the silent issue I have tried: ssh either remotely or locally, where it will time outPinging from the local network, where I get "ping: sendto: Host is down" a lot and occasionally a "ping: sendto: Host is down"Plugging in a monitor and keyboard, where the monitor never gets a signal no matter what I do on the keyboard. When it isn't locked up into the silent issue and I plug in the keyboard and monitor, the monitor gets a signal right after I hit the spacebar for sure. After the silent issue triggers it's fans still whir, the power light is on and light on the Ethernet port is on (and turns off if I unplug the Ethernet cable, and back on if I plug it back in) like everything was normal but there is no hard drive or network activity (even after unplugging/replugging the Ethernet cable).

After a reboot, all log files have nothing past a certain time and date, which I assume is the time when the silent issue got triggered. My setup is the following: Debian 5.0 "lenny" on an HP ProLiant ML110 G6Using full disk encryption with ext3 which was all set up by the installerIIRC "core" and "minimal" were selected in tasksel during install. I'm sure about "core", not about "minimal". The programs I have running are apticron, ddclient, sshd, fail2ban, screen, php-cgi (php5-cgi), cherokee (from unstable) and rtorrent (from unstable). I can provide a "ps aux" if necessary. The packages from unstable, that I have all set to Pin-Priority 990 in /etc/apt/preferences, are:


I'm pretty sure I don't have ECC memory so I don't think a lockup from a flipped bit is an issue. I'm thinking one thing to test would be to set up some kind of daemon that sends log info over the network to a logging server and compare the latest timestamps of what the daemon sent versus what the latest info on the disk is, and that would show that the issue is with the encrypted disk since things are still functioning in memory but not able to write to disk. If that's the case then I guess it locks up eventually from not being able to read or write something. Does anyone know of something out there like this? Or perhaps a way to do something similar?

Is there something I could do to determine whether this is caused by maybe some kind of kernel panic or by something like the motherboard having issues?

View 7 Replies View Related

Ubuntu :: Write A Script To Gather The Uptime Of A Box?

Jun 23, 2011

trying to write a script to gather the uptime of a box and send an email out if the box has died. Problem being that this is hard when `uptime` changed from the format 23:59 to 1 day. Is there a method to just see the uptime in hours or minutes or even seconds?

View 4 Replies View Related

Red Hat :: Uptime Dropped Dramatically But No Reboot Logged Anywhere?

Apr 22, 2010

This is an observation of something that I can't explain. Its not a problem in itself.


View 2 Replies View Related

Ubuntu :: Applet Which Shows The Total Data Usage (In+out) (of The Current Session Or Since The Uptime) On The Panel?

Jul 7, 2011

I need applet which shows the total data usage (In+out) (of the current session or since the uptime) on the panel.I searched a lot, but everytime I had to click somewhere to see my data usage. I don't want that. I want my data usage displayed regularly on the panel.

View 9 Replies View Related

General :: How To Change "uptime"

Apr 13, 2010

Being a newbie, I did check for similar threads before posting this message. There is an existing thread that contains a very similar question to mine, but since the existing thread is approx. 7 years old, I thought I would go ahead and post my question.I am wondering how I can change "uptime" on a Linux 2.6 box. I want to do this to test a complex wireless system that contains multiple Linux boxes.I am able to change "uptime" on a Solaris or VxWorks box with "lbolt" and "tickSet" commands respectively. But these commands do not work on Linux boxes (no surprise there).

View 9 Replies View Related

Red Hat / Fedora :: Difference Between "uptime" And "date" Command?

Sep 9, 2010

what is diff between "uptime" and "date" command. where we can use these command

View 3 Replies View Related

Ubuntu :: Mount Command No Longer Runs At Boot From /etc/init.d/rc.local

Jul 6, 2010

I run XBMC media center software which is built on a minimal Ubuntu install. I was running a version built on Karmic and I had the following line in my /etc/init.d/rc.local and it always ran without a hitch:


mount -t cifs -o file_mode=0777,dir_mode=0777 // /home/kevin/.xbmc/userdata/Thumbnails

Recently, I upgraded to a version built on Lucid and now that fails to create the mount on boot up. Here is the entire contents of the file:


#! /bin/sh
# Provides: rc.local
# Required-Start: $remote_fs $syslog $all


View 1 Replies View Related

Server :: Diffrence /etc/init.d And /etc/init.d/rc.d Scripts?

Jul 29, 2010

me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.

View 3 Replies View Related

Debian :: System Mixed With Init?

Aug 28, 2015

ow Debian init system is organized actually (btw i am using stretch) ? I see systemd installed, with some services run from it (systemctl shows a small list), but at the same, i still see /etc/init.d full of traditional init scripts.

View 3 Replies View Related

Fedora :: Can't Boot System Even Into Init Mode 3?

Jun 24, 2011

I upgraded to Fedora 15 using preupgrade after I failed to upgrade or install it clean through DVD. But, after the preupgrade process finished, I can't boot my system even into init mode 3. I am able to boot into the init mode 1 and can see that many of the packages have been upgraded to fc15. I tried to start the x server from init mode 1. My nVidia screen even popped up. But after that the screen went totally blanked.

View 6 Replies View Related

General :: Informaton On Systemd Init System?

Jun 4, 2011

I've just upgraded to Fedora 15 and have been fiddling with the new systemd which replaces sysvinit. I googled quite a bit, but was really unable to find any real information about how it works and why it's better.

View 1 Replies View Related

Slackware :: When Does Login Get Called During System Init

May 11, 2010

I'm trying to find that line in the init files, but I don't see anything blatantly referring to login yet.

View 4 Replies View Related

Red Hat :: 5.3 Hang At INIT - Unable To Boot System Anymore

May 23, 2010

After a kernel update action, it seems that I'm unable to boot a system anymore. First off, after installing the kernel, and trying to shutdown to boot to the new kernel, the system replied with INIT: no more processes left in this runlevel. Kernel update was performed from to the following versions 2.6.18-128.el5.img -> 2.6.18-164.11.1.el5.img . The system is a VMWare virtual machine. When trying to reboot, the system passes GRUB, starts initializing and after loading the dm it stops for a few seconds at the message Waiting for new devices, show the following message:

Setting up new root fs no fstab.sys, mounting internal defaults. After this and a few other messages, it displays : INIT: version 2.85 booting INIT - No more processes left in this runlevel INIT: Id "x" respawning too fast : disabled for 5 minutes And then it just hangs. This is the output of my inittab:


The system boots into failsafe, but still shows the errors mentioned.

View 5 Replies View Related

CentOS 5 :: Ctrl S During Init Script Can Cause System Hang?

Sep 6, 2010

I am running Centos 5.5 with all the GUI stuff, including nx server and webmin.Sometimes while watching the bootup messages because my eyesight is very poor.I hit <ctrl s> to pause the output so I can read some details. If I do this late in the init sequence - it often briefly stops the output then the screen disappears under a blue wash (presumably something to do with the GUI login screen ot screensaver??)but the login screen never appears. Also it seems that the script never completes because the imap, webmin and http servers don't appear to have started.

I haven't found any satisfactory way out of it. I can't get back to a console terminal (I've tried ctrl c, d, z, etc.). As luck would have it the nx server has started so I can open an nx session. If I open a terminal in an nx session as root.I can't do a normal restart (shutdown -r now). Nothing happens presumably it can't run the init script because it is still running.The only way I have found to get the system back to life is to run "shutdown -r -n now" in the nx terminal session.There are probably better ways out of this predicament that I am unaware of. Otherwise it is probably somewhere between an annoyance and a bug. I would be interested in any advice the centos "board" may have as to whether this is worth raising as a redhat bug.

View 3 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory


I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

General :: Gentoo - INIT Process Necessary For An Ultralight System Installation?

Jul 30, 2011

I am working on a light version of linux for no particular reason other than to see how small I could make it. I was wondering if INIT was necessary, or if I could perform all of the INIT-related tasks (fsck, unmounting, etc) by hand/bash scripts?

I do not need multi-user functionality (Or much of anything for that matter). I started off with a Gentoo base 2.0.2 Install with kernel 2.6.38.

View 2 Replies View Related

Ubuntu :: Targe File System Doesn't Have /sbin/init?

May 26, 2010

I have a Lenovo X60 with Intel Centrino Duo Core @ 1.83GHz 1.83GHz, and 0.99 GB of RAM. I am running a dual boot with Windows XP SP3 and the latest version of Ubuntu desktop. My problem is that after I ran the Defrag my C: drive in Windows, I can into my ubuntu.I was greeted with the following error message when i tried to boot into ubuntu {Target file system doesn't have /sbin/init}

View 2 Replies View Related

CentOS 5 Server :: Ventrilo Server Init.d Script?

Oct 3, 2009

I just installed the ventrilo server daemon on CentOS 5.3 and I'm having 2 issues with the init.d script I wrote. Issue 1: the stop command does not work. I suspect due to an issue with where the daemon puts the pid file. Issue 2: chkconfig says that the "service ventrilo does not support chkconfig". The script is below.

# ventrilo server
# Pull in init.d functions
. /etc/rc.d/init.d/functions


View 2 Replies View Related

Ubuntu Installation :: 10.04 And 10.10 Recurringly Crash (target System Does Not Have Requested /sbin/init )?

Jan 16, 2011

After trying most of the solutions I could think of, including reinstalling and upgrading, I'm posting here hoping someone would take me out of this misery now.Laptop:thinkpad t500I was running Ubuntu 10.04 and it froze. I rebooted and it shows the following message and gives me the "initramfs" prompt:Quote:

BUG: unable to handle kernel paging request at 00f44000


View 1 Replies View Related

Copyrights 2005-15, All rights reserved