View RSS Feed

James' openSUSE Bash Scripting (and other things) Blog - Your Comments are Welcome!

S.L.A.V.E. - SuSE Logfile Automated Viewer Engine - Version 2.61

Rate this Entry
by , 11-Nov-2011 at 16:01 (4599 Views)


S.L.A.V.E. - SuSE Logfile Automated Viewer Engine (works with openSUSE 12.2) was written to allow easy viewing of 16 important system log files. S.L.A.V.E. will create KDE icons for you in your Desktop and in the Applications menu, so look for it there. Settings for icon creation have been added to the top of the bash script which are easy to modify if you wish to do so.

Copy and Paste the text of this script into a text editor and save it as the file slave in your home area bin folder (~/bin/slave). The script is too large to be posted in a message here and is now included in SUSE Paste.

S.L.A.V.E. - SuSE Logfile Automated Viewer Engine - Version 2.61

Open the above Link in a new Tab. Select the Download option in the top right and then select Open With Kwrite or other text editor and then save the bash script text file as ~/bin/slave. It is possible to directly download slave using the following terminal command (You must delete the old copy of slave first):

Code:
rm ~/bin/slave
Code:
wget -nc http://paste.opensuse.org/view/download/50521534 -O ~/bin/slave
This script must be marked executable to be used. Please run the following Terminal command:

Code:
chmod +x ~/bin/slave
It is even possible to string all three of these commands together as one. Copy the following command, open up a terminal session, paste it in and press enter:

Code:
rm ~/bin/slave ; wget -nc http://paste.opensuse.org/view/download/50521534 -O ~/bin/slave ; chmod +x ~/bin/slave
In order to run slave, open up a terminal session and type in the following command:

Code:
slave
S.L.A.V.E. does not require any run time options in terminal and none should be used. As always, I would love to hear any comments on S.L.A.V.E. that you might have.

Thank You,

Blogs: asroot : Bash : Packet Filter : C.F.U. : GPU's : fewrup : F.S.M. : H.I. : nVIDIA : LNVHW : N.S.F. : S.A.K.C. : MMCHECK
S.A.S.I. : S.C.L.U. : S.G.T.B. : S.K.I.M. : S.L.A.V.E. : S.L.R.C. : S.T.A.R.T. : S.U.F.F. : SYSEdit : systemd : YaST Power

Submit "S.L.A.V.E. - SuSE Logfile Automated Viewer Engine - Version 2.61" to Digg Submit "S.L.A.V.E. - SuSE Logfile Automated Viewer Engine - Version 2.61" to del.icio.us Submit "S.L.A.V.E. - SuSE Logfile Automated Viewer Engine - Version 2.61" to StumbleUpon Submit "S.L.A.V.E. - SuSE Logfile Automated Viewer Engine - Version 2.61" to Google Submit "S.L.A.V.E. - SuSE Logfile Automated Viewer Engine - Version 2.61" to Facebook Submit "S.L.A.V.E. - SuSE Logfile Automated Viewer Engine - Version 2.61" to Twitter

Updated 26-Mar-2013 at 19:31 by jdmcdaniel3

Tags: bash, files, log, script, text Add / Edit Tags
Categories
Technical Advice , openSUSE Software

Comments

  1. riderplus's Avatar
    It was a very good idea associate less with viewing the logs! I always had to pipe less to see my log messages. Thank you so much for this script!
  2. jdmcdaniel3's Avatar
    Quote Originally Posted by riderplus
    It was a very good idea associate less with viewing the logs! I always had to pipe less to see my log messages. Thank you so much for this script!
    You are very welcome riderplus and thanks so much for your very kind words.

    Thank You,
  3. msounhein's Avatar
    Nice! Thanks for the time that you put into this.
  4. jdmcdaniel3's Avatar
    Quote Originally Posted by msounhein
    Nice! Thanks for the time that you put into this.
    Thanks for your kind words. If there is a log file missing that needs to be included, please let me know.

    Thank You,
  5. jdmcdaniel3's Avatar
    S.L.A.V.E., SUSE Logfile Automated Viewer Engine, has been updated to Version: 2.60 and now creates KDE icons for you and the log file selection has been updated. Support for openSUSE 11.4 has been removed, though only the one systemd file does not work. If you have any issues or suggestions for the bash script I call SLAVE, please let me know what they are.

    Thank You,
  6. jdmcdaniel3's Avatar
    SLAVE has been updated to version 2.61 after a few log files have been changed & Added to more important logs to look at. The dmesg is most important to have added and a mail duplicate has been removed.

    Thank You,

Search Engine Friendly URLs by vBSEO 3.5.2 PL2