The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
urgent help needed!!in copying files to /tmp at boot time,pls help! wrapster UNIX for Advanced & Expert Users 0 04-27-2008 07:00 AM
Reduce boot-time delay on FreeBSD? DownSouthMoe BSD 1 03-27-2004 11:07 PM
start a process at boot up time vtran4270 UNIX for Advanced & Expert Users 1 12-08-2002 03:31 PM
Disable routed daemon at boot time???? rrivas UNIX for Dummies Questions & Answers 2 04-09-2002 08:53 AM
Defining variables at boot time ianf UNIX for Dummies Questions & Answers 7 01-07-2002 09:03 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2006
Registered User
 

Join Date: Oct 2005
Posts: 85
Stumble this Post!
How to get time since last boot?

How do I get the number of tics or seconds since the last boot?
How do I convert tics to seconds?
Thanks,
Siegfried
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-08-2006
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,547
Stumble this Post!
man uptime

first line of w
Reply With Quote
  #3 (permalink)  
Old 08-09-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,812
Stumble this Post!
Maybe he means doing it the way the utility does with utmp and wtmp.

Try man utmp.
Reply With Quote
  #4 (permalink)  
Old 08-17-2006
Registered User
 

Join Date: May 2006
Posts: 95
Stumble this Post!
under linux:
cat /proc/uptime
very handy in scripting
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0