Sponsored Content
Top Forums Shell Programming and Scripting Shell script to view logs of a server Post 302208525 by unSpawn on Tuesday 24th of June 2008 06:06:40 AM
Old 06-24-2008
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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

view access logs telenet

Hello one of my sites i host is doing somewhat well in the search engines, and i would like to watch the raw log files while looged in with telenet is there a way to do this. thanx Mike (2 Replies)
Discussion started by: whothought1
2 Replies

2. UNIX for Advanced & Expert Users

How to view the unix logs in windows ??

Hi ! I have a FTP site, where I softlinked my server log file. Now I want to view the logs in IE as I do in unix Some kind of free tool should be there, Can somebody provide me a pointer. Thanks. (0 Replies)
Discussion started by: dashok.83
0 Replies

3. Shell Programming and Scripting

script for reading logs of a script running on other UNIX server

Hi, I have a script, running on some outside firwall server and it's log of success or failure is maintained in a file. I want to write a script which ftp that server and reads that file and checks the logs and if failure , I will send mail notification. Please let meknow if I am not... (1 Reply)
Discussion started by: vandana.parwani
1 Replies

4. UNIX for Dummies Questions & Answers

how to view dynamically updated managed server logs from the same putty window

Hi, I want to know how we can view two or three logs which are dynamically getting updated from a single/same putty window with tail commnad. Thanks. (7 Replies)
Discussion started by: reachsudha
7 Replies

5. Shell Programming and Scripting

Shell Script for GC Logs

Hi, I have a strange situation here, I want to archive gc.logs file, generated by a java application, the strange thing about gc.log file is is doesn't have any time/date stamp appended to it unlike other logs (catalina/access/error) and one more strange thing is when ever the application is... (6 Replies)
Discussion started by: Neeryan
6 Replies

6. Shell Programming and Scripting

How to view a running Shell Script?

I ran a script, and then I closed SSH. I want to go back and view it as if I just ran it. Is this possible? (2 Replies)
Discussion started by: slayr288
2 Replies

7. Solaris

How to view audit logs in Solaris?

Does anyone know if there is software written to view the audit logs generated by Solaris? I am referring the the logs created by auditd. It produces an unreadable log. I am familiar with auditreduce and praudit, but I am looking for something that produces a report, much like logwatch looks at the... (4 Replies)
Discussion started by: brownwrap
4 Replies

8. Shell Programming and Scripting

Shell Script for viewing multiple logs from multiple server

I am new to Shell scripting and below is my requirement. I need to search some specific word e.g. "exception" or "transaction" from log file. We have multiple env e.g. Level1 , Level2 etc and each env have Multiple boxes e.g. For Level 1 env we have "test11.test.com" , "test12.test.com". Each... (1 Reply)
Discussion started by: peeyush
1 Replies

9. Shell Programming and Scripting

Help with Shell Script to View Logs

Hi I'm very new to unix shell scripting. Im also new here in this forum. I'm a SQL Server DBA but I'm slowly learning Oracle and Sybase DB. Our Oracle and Sybase are on Unix platforms. Im slowly learning Linux Admin and Shell Scripting to automate tasks. I'm writing a script to view DB error... (4 Replies)
Discussion started by: Ricky777
4 Replies

10. Shell Programming and Scripting

Shell commands and ps and server logs

Good afternoon all!! I am writing a shell script that will generate a random phrase to be used as a password. this is the line I use to generate the password echo `head -n 10 /dev/urandom | tr -cd "*+,-/:;<=>?_" | cut -c '1-'$3` The third input in the command is the length of the password i... (6 Replies)
Discussion started by: cptkirkh
6 Replies
ROUNDUP-CTL(1)						      General Commands Manual						    ROUNDUP-CTL(1)

NAME
roundup-ctl - roundup server control interface SYNOPSIS
roundup-ctl [options] command DESCRIPTION
roundup-ctl is a front end to the roundup server. It is designed to help the administrator control the functioning of the roundup server daemon. This script mimics most of the behaviour of a regular init script, but works as a front end to the runit package to control the roundup service. So, in order to use this, you need the runit package, too. Please note that using this script is mostly incompatible with having roundup controlled by runit directly in the form of automatic startup. The roundup-ctl script returns a 0 exit value on success, and >0 if an error occurs. For more details, view the comments in the script. OPTIONS
-d directory Use given directory as service directory. COMMANDS
The command can be any one or more of the following options: start If the roundup server is not runinng, start it. If the server stops, restart it. stop Stops the roundup server. status Print sta- tus of the roundup server. SEE ALSO
roundup-server(1) runsvctrl(8) runsvstat(8) svwaitdown(8) AUTHOR
Bastian Kleineidam <calvin@debian.org>, Toni Mueller <toni@debian.org> 31 May 2004 ROUNDUP-CTL(1)
All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy