LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-22-2011, 08:42 AM   #1
ghaedi591
LQ Newbie
 
Registered: Nov 2011
Posts: 28

Rep: Reputation: Disabled
show availibility of linux by wtemp info


Hi
I want to show the availibility of my linux server include:
duration of uptimes
reboot time/shutdown time

By drawing a chart and extract information from wtemp and show by excell file.Is there any other solution?
 
Old 11-24-2011, 08:47 AM   #2
markseger
Member
 
Registered: Jul 2003
Posts: 242

Rep: Reputation: 26
This may be a little silly but will definitely get you want you want! If you install collectl, which will do some pretty nifty system monitoring for you, it writes a new date/time stamped file in /var/log/collectl whenever it starts. It's pretty rock-solid (famous last words) and I've never seen it crash. In other words, the only time a new file gets created is every midnite OR if the system reboots. This means you can just look at the filenames and determine your uptime from them.

As a said, a bit overkill but at the same time collecting system performance metrics is never a waste of time because when (not if) something goes wrong you'll frequently have enough data to at least get some idea of what was going on.

Does anyone thing continuously monitoring your system is a bad idea? I'd sure hope not.

-mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to show network interface card (NIC) info like IP, netmask tnght2001 Linux - General 1 06-23-2010 08:00 AM
Advice Pls: Availibility of Embedded Linux online course with hardware LouArnold Linux - Embedded & Single-board computer 0 04-26-2010 02:05 PM
info fc3 bootscreen / CTRL-D to show details! doblocruiser Fedora 0 01-25-2005 04:42 PM
uname -a Does that show the actual kernel info? BajaNick Linux - General 2 01-11-2005 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration