Solved

Read GC log via UNIX Shell script

Posted on 2016-08-02
3
15 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 37

Accepted Solution

by:
Gerwin Jansen 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now