nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How long the sys was running?

This is a discussion on How long the sys was running? within the Linux software forums, part of the Linux Getting Started category; Dear friends, Is there any command to find how long the system was running in LINUX?...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-12-2006, 11:35 AM
Junior Member
User
 
Join Date: Oct 2006
Location: Bangalore
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jithendra
Default How long the sys was running?

Dear friends,
Is there any command to find how long the system was running in LINUX?
Reply With Quote
  #2 (permalink)  
Old 10-12-2006, 11:57 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,697
Thanks: 11
Thanked 243 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Use uptime command which tells you how long the system has been running:
Code:
uptime
O/p:

23:25:40 up 60 days, 23:13, 1 user, load average: 0.55, 0.14, 0.05

uptime gives a one line display of the following information (as above). The current time (23:25:40), how long the system has been running (60 days), how many users are currently logged on (1 user), and the system load averages for the past 1, 5, and 15 minutes.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 10-16-2006, 05:31 PM
Junior Member
User
 
Join Date: Oct 2006
Location: Bangalore
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jithendra
Default Hi

Thank you very much for your kind reply.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Getting Squid 3.0 up and running Mic Linux software 4 05-18-2008 03:56 PM
Monitor Running Services barrett.wendt@aquila.com Shell scripting 2 06-25-2007 09:24 PM
how to enumerate currently running process hiimsa Coding in General 2 11-11-2006 03:02 PM
running .sh script linux jerry Shell scripting 1 06-17-2006 01:45 PM
remotely running X from other system ricc Linux software 4 09-15-2005 11:19 AM


All times are GMT +5.5. The time now is 07:28 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38