The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 11:00 AM
Reduce boot-time delay on FreeBSD? DownSouthMoe BSD 1 03-28-2004 04:07 AM
start a process at boot up time vtran4270 UNIX for Advanced & Expert Users 1 12-08-2002 07:31 PM
Disable routed daemon at boot time???? rrivas UNIX for Dummies Questions & Answers 2 04-09-2002 12:53 PM
Defining variables at boot time ianf UNIX for Dummies Questions & Answers 7 01-07-2002 01:03 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-08-2006
siegfried siegfried is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 91
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
  #2 (permalink)  
Old 08-09-2006
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,954
man uptime

first line of w
  #3 (permalink)  
Old 08-09-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,764
Maybe he means doing it the way the utility does with utmp and wtmp.

Try man utmp.
  #4 (permalink)  
Old 08-17-2006
grumpf grumpf is offline
Registered User
  
 

Join Date: May 2006
Posts: 101
under linux:
cat /proc/uptime
very handy in scripting
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0