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 > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell Script to ftp from windows server shilpa.rajput Shell Programming and Scripting 8 11-07-2007 12:52 AM
how to move a file from one server to another server using FTP in shell script? forevercalz Shell Programming and Scripting 4 10-27-2005 01:53 AM
shell script related to server nitiwari Shell Programming and Scripting 2 09-07-2005 06:37 AM
view access logs telenet whothought1 UNIX for Dummies Questions & Answers 2 02-02-2005 09:39 PM
Taking a snapshot / view of a server Yao UNIX for Dummies Questions & Answers 2 10-05-2004 05:51 AM

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

Join Date: Jun 2008
Posts: 32
Question Shell script to view logs of a server

Please share a shell script to collect logs of a server (like cpu utilization, memory etc) for a perticular time interval by giving date, time and server name as input.
  #2 (permalink)  
Old 06-24-2008
unSpawn unSpawn is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 50
Collecting SAR data can be done with Sysstat, Atsar, Atop, Dstat or Collectl. Most of these tools (can) run in the background unattended ensuring stats are saved continuously. Where necessary they will contain (separate) tools or switches with which you can extract stats from the (binary) logs based on whatever criteria are available to you, so it kind of depends on the tool you use what and how you'll extract data from it.

Of course you're free to reinvent the wheel again if you "don't like" existing wheels.
Sponsored Links
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:29 AM.


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