Solved

log file

Posted on 2014-04-15
6
353 Views
Last Modified: 2014-10-14
My cat export.log file is about 17 pages and is scrolled up
in AIX box..
I want to copy all the contents in notepad
What steps you have
0
Comment
Question by:tonydba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40002929
Your best option is using FTP to transfer the log file in "text" format to Windows where you can do with it whatever you want.

AIX runs the FTP server process by default, and Windows comes with an FTP command line client.

Alternatively you can install a GUI client for FTP, like WinSCP, and use this one to transfer the log.

If you have SSH on AIX and PuTTY on Windows you can install and use pscp or psftp which are part of the PuTTY suite.

If you're using PuTTY and really want to go with copy-and-paste adjust the number of scrollback lines for your PuTTY window to a size big enough to hold the whole file in the scrollback buffer, then copy and paste.

Why not view the file in AIX? Use

more filename.log

Now you can page backward and forward as you like, and you can search for strings. Once you're in "more" type "h" to see the relevant subcommands.
0
 

Author Comment

by:tonydba
ID: 40003029
not just to view copy the entire content in a notepad
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 40003097
if yo transfer the log file from the aix server to windows as text, then you can open the text file with notepad
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 500 total points
ID: 40003264
Based on my experience with the author , I am posting a link to the site which has steps to do so

If you want to copy the file in windows and open up in notepad use this

http://www.compshack.com/linuxunix/ftp-file-windows-unix-server

If you are using a linux system then use this

http://aruljohn.com/info/filetransfer/

Note: I am not saying anything different than What experts woolmilkproc and omarfarid had suggested, just pointing you to the detailed steps
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40296588
Connect to your AIX machine using PuTTY and set #lines of scrollback to 20000 in the window configuration. cat the whole logfile, then choose 'Copy all to clipboard' and paste the log where you need it (in essence what WMP said above, only with the 'Copy all to Clipboard' added).
0
 

Author Closing Comment

by:tonydba
ID: 40381248
Yes the ftp helped to resolve.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

617 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