The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Tough Times iBot Cartoons for Geeks 0 11-02-2008 09:20 PM
Awk script to add times. Trilogie Shell Programming and Scripting 2 05-08-2008 04:48 PM
manty times try to log on lo-lp-kl Linux 2 12-04-2006 12:23 PM
Boot times woofie UNIX for Advanced & Expert Users 2 03-08-2004 10:19 AM
Question about times and so TheBlueLady Shell Programming and Scripting 1 11-19-2002 12:42 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 01-15-2009
kenshinhimura kenshinhimura is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 65
how would you know your server was rebooted 3 times or 5 times

Is there such location or command to know how many times did you reboot your server in that particular day?in AIX.
  #2 (permalink)  
Old 01-15-2009
agn agn is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 172
Am not familiar with AIX, but I'd try last(1).
  #3 (permalink)  
Old 01-15-2009
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,635
Issue the "errpt" command. You will find residues of every reboot cycle in there. I am sure there are other methods too.

I hope this helps.

bakunin
  #4 (permalink)  
Old 01-16-2009
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 431
you can use the "last" command, which uses the file /var/adm/wtmp


Code:
last | grep -E "(reboot|shutdown)"




or write an rc script that logs to a file


Edit: oh didn't see agns post
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:12 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