Solved

Read GC log via UNIX Shell script

Posted on 2016-08-02
3
33 Views
Last Modified: 2016-08-03
Hi

Please let me know if we have any simple UNIX shell script to read GC log in easy way.

Thanks
0
Comment
Question by:rsvijay
  • 2
3 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 41740217
Why would you need a script to read a text file?
0
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 500 total points
ID: 41740287
more <GC logfile>

(press space to go to next page)

or:

grep <somestring> <GC logfile> | more

(to search for occurrence of <somestring>)
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41740288
Or

less <logfile>

/<searchstring> to search
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question