Solved

Read GC log via UNIX Shell script

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINUX ZIP - UNCOMPRESS WINDOWS PATH 3 88
How to parse custom JSON to POJO java 4 56
Searching File Names and Eliminating Duplicates in Linux 4 64
arguments to jar 5 15
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

867 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

20 Experts available now in Live!

Get 1:1 Help Now