Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


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

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

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, 07:47 AM   #2
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.



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 07:00 AM
Advice Pls: Availibility of Embedded Linux online course with hardware LouArnold Linux - Embedded & Single-board computer 0 04-26-2010 01:05 PM
info fc3 bootscreen / CTRL-D to show details! doblocruiser Fedora 0 01-25-2005 03:42 PM
uname -a Does that show the actual kernel info? BajaNick Linux - General 2 01-11-2005 10:51 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:09 AM.

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