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.

Code:
# 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)

[Code]...

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


ADVERTISEMENT

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 :: 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

Server :: Init Uptime Longer Than System Uptime?

Sep 15, 2010

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

Code:
martin@server:~> ps -p 1 -o pid,cmd,bsdtime,start
PID CMD TIME STARTED
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
martin@server:~>

View 1 Replies View Related

General :: Computer Time Difference At Windows / Make The Time The Same?

Apr 13, 2011

My computer has different time when booting to linux or Windows.How to make the time the same?My computer time is 10:57pm Apr 14 when booting to linux.My computer time is 2:57am Apr 14 when booting to Windows Vista Home Premimum SP2.Both OS are set to the same time zone (GMT-5. Eastern Time US & Canada).

View 5 Replies View Related

Fedora :: 11 Boot Time / System Hangs For A Very Long Time On Starting Udev?

Sep 25, 2009

When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.

View 7 Replies View Related

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

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

CentOS 5 :: How's System V Ids Intialized At System Boot Time

Aug 31, 2009

We have 2 applications set as S96 and S98 at rc3.d and rc5.d simultaneously. Both applications create a system V shared memory segment by calling shmget.If the system boot at runlevel 5, both applications can obtain their shared memory segment id correctly, i.e. 98305 and 131074 individually. While there is a root owned segment id 32768 takes first seat on the list. This is the id list:

root, 32768
S96_app, 98305
S98_app, 131074

[code]....

View 1 Replies View Related

Fedora :: Increase The Boot Selection Time In Dual Boot System?

Mar 4, 2010

I am having dual boot system(windows 7 and Fedora 12).When i switch on my system.It show the the timer 3 sec in order to get boot selection window(means window which asks that what to start fedora 12 or windows 7).I want to increase this time from 3 to 10 sec.

[URL]

View 3 Replies View Related

Ubuntu Installation :: Newer Kernel Updates AFTER 2.6.32-17 Has A Randomness At Boot Time Whether The System Will Completely Boot Or Not?

Jul 26, 2010

I've been having a problem on my AMD based machine, 4cpu, gigabyte ga-ma78gm-s2h Mobo, 8GB mem, two 2 terabyte Sata HDs.One thing I've found is that any kernel after 2.6.32-17 has a randomness at boot time whether the system will completely boot or not.

For instance just today I downloaded and installed 2.6.32-24

It fails to boot (I've tried cold boot, warm boot).Running its repair also fails to completely boot.My experience is that if I keep trying it "may" eventually boot but I believe there was some change after 2.6.32-17-generic that's causing the problem.Because as with 2.6.32.23... which also fails to complete bootup many times... eventually my guess is that 2.6.32.24 will also boot "sometimes".But why does 2.6.32.17 always boot for me? Something changed and its not my setup.

View 1 Replies View Related

General :: Short A Time Can Time (system Program) Measure?

Apr 15, 2010

I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.

View 3 Replies View Related

General :: Get The Values For The User Time And System Time For A Process?

Aug 4, 2009

get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct

View 3 Replies View Related

General :: Difference Between System And Unix?

Dec 26, 2010

Whats the drifference between unix and linux senior?..

View 7 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

General :: Difference Between Redhat Enterprise System 5 And 9?

Jan 10, 2011

I would like to know the difference between redhat enterprise linux 5.4 and redhat linux 9.0. Also, if redhat linux 9.0 could be used as a server os.

View 2 Replies View Related

General :: User Permissions Vs Rights In System / Difference Between Them?

Aug 9, 2010

What's the difference between user permissions & users rights in linux.

View 1 Replies View Related

Fedora :: System Time Discrepancy On Dual-boot XP / F12?

Jan 24, 2010

why, after booting to windows for any length of time that upon rebooting to Fedora the system time is 3 or 4 or 6 hours off? Sure, it is easily fixed with ntpdate but is there a more permanent fix?

View 11 Replies View Related

OpenSUSE Install :: System Time Advancing With Each Boot?

Aug 15, 2010

For some reason, every time I shut down and reboot my machine, the system time advances four hours. The local time here is EDT (-4hrs UTC). I have it set correctly in Yast and have the 'hardware clock is set to UTC' checked. However, for some reason, the next time I boot, the system time will be ahead four hours.

View 7 Replies View Related

Ubuntu :: System Time Out Of Sync Between Lin And Win On Dual-boot?

Nov 9, 2010

I'm running a dual-boot; Lucid and Win XP on a HP Pavillion.My time settings are about 8 hrs off between the two operating systems. If I correct the time in Linux, it will be wrong when I boot in Windows. If I correct it in Windows, it will be wrong again next time I boot into Linux.Besides the obvious solution of removing Windows from my machine (which I'm not ready for), what should I do to fix this?

View 1 Replies View Related

Red Hat / Fedora :: Internet Every Time When System Is Boot Or Network Is Disconnected?

Sep 29, 2010

I got problem in my internet every time when system is boot or network is disconnected i have to enter the DNS address(number) primary and secondary

View 7 Replies View Related

Ubuntu :: Change Data On Location? System Time Always Wrong On Re-boot

Mar 30, 2011

when I installed Ubuntu 9.10 I put in one time setting but it was wrong, and now I don't know where to change it. I tried to change the time preferences, but on reboot I am back to the wrong time.

I know the data is in there somewhere and I can change if I knew where it was.

View 3 Replies View Related

Ubuntu :: How To Make System Boot Faster By Removing Idle Time

Jun 14, 2011

How to make the system boot faster by removing the idle time between 5s to 10s? bootchart attached. It is Ubuntu10.04LTS by the way. One more hint, the screen black out for ~4s after "Begin: Running /scripts/init-bottom... Done." I don't know what is going on during that 4s, but my best guess is there is a way we can get rid of it.
Bootchart can be found here:

View 9 Replies View Related

Ubuntu :: System Hangs At Boot Time When Loading Hardware Drivers?

Aug 26, 2010

My system hangs at boot time when loading hardware drivers for about a minute. It hangs here:

Code: dmesg
[ 8.196035] udevd version 124 started
[ 8.533233] pci_hotplug: PCI Hot Plug PCI Core version: 0.5

[code]....

View 9 Replies View Related

Slackware :: Fsck Not Checking Non-root File System At Boot Time

Apr 21, 2011

Fsck is not check any file system which are not root file system at boot time.

Normally it run: /sbin/fsck -A -R -C -a

But this command doesn't do anything.

I've tried to strace it, and looks like this:

Code:

View 2 Replies View Related

OpenSUSE Install :: 11.3 - Installed Several Times And Each Time System Freezes/crashes During Boot

Dec 7, 2010

LIVECD of 11.3 Gnome works fine in my old PC. I installed several times and each time system freezes/crashes during boot. I am linux newbie, so, I am trying to figure out my problems. In Livecd I noticed Hardware info list's my SATA disk as IDE. Driver Modules: "ata_piix"Attached to: #24 (IDE interface). Is it right? I have posted Hardware information output in 01: None 00.0: 10105 BIOS [Created at bios.186] - Suse 11.3 install problem My machine specs are: Intel DG31PR motherboard, Intel core2duo, 3 GB DDR2 Ram, 250 GB SATA harddisk

View 3 Replies View Related

Ubuntu :: System Hangs At Boot Time When Loading Hardware Drivers For About A Minute?

Sep 2, 2010

My system hangs at boot time when loading hardware drivers for about a minute. dmesg

Code:
[ 11.865604] iTCO_vendor_support: vendor-support=0
[ 11.888580] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)

[code]....

View 3 Replies View Related

Programming :: Difference In Time Recorded By Clock_gettime() And TSC?

Jan 24, 2011

I want to measure the time it takes to execute a C function. The question is which is the best method to record time. After a lot of searching online, I found two ways [URL]:

a. using clock_gettime(CLOCK_MONOTONIC, &t)
b. using TSC

I call the C function 50 times (recording the time it takes for each call). The average is found only for the last 35 calls.

Using (a), I get:

48345 us
28350 us
28379 us
27716 us

[code]....

Average time for the last 35 loops: 121450.47 microseconds

Using (b), I get:

48130 cycles
28726 cycles
28820 cycles
27421 cycles

[code]....

Average for the last 35 loops: 27236.66 cycles What could be causing the strange value of 3322259 us in method (a)? I could just use method (b) but I would like to know what is going on here... Btw, I am using a desktop - with Linux debian 2.6.26 #1 SMP.

View 7 Replies View Related

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

General :: Change From A Dual Boot System To A Single Boot System?

Jul 20, 2010

I just recently installed ubuntu 9.10 in my upstairs computer. It is a single boot system.Downstairs I have a dual boot system. I have windows vista and ubuntu 9.10 installed. It worked fine. I wanted to make this a single boot system and uninstall ubuntu 9.10. I cannot get rid of the grub bootloade

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved