- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cut/paste from logfiles...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 05:55 AM
08-06-2003 05:55 AM
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 05:58 AM
08-06-2003 05:58 AM
Re: cut/paste from logfiles...
We use Reflections rather than Hummingbird, but I think it should be basically the same. The cut and paste is part of CDE, the question is how does your emulation implement it. For us, it's right mouse click to cut, then right and left mouse click (simultaneously - it takes some getting used to) to paste.
Give that a try.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:03 AM
08-06-2003 06:03 AM
Re: cut/paste from logfiles...
I use Hummingbird Exceed and can copy/paste.
If you open a "dtterm" terminal emulation and i.e. run "cat /var/adm/syslog/syslog.log" you should be able to select lines and copy/paste them ( from the menu bar and from right-click ).
Regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:04 AM
08-06-2003 06:04 AM
Re: cut/paste from logfiles...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:10 AM
08-06-2003 06:10 AM
Re: cut/paste from logfiles...
Try opening "Text Editor" in Exceed and pasting on it.
Then, in the menu bar choose "Print" option ... or save it to a file.
Regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:20 AM
08-06-2003 06:20 AM
Re: cut/paste from logfiles...
- From the exceed icon in the taskbar, right-click and select tools
- in the pop-up menu select Configuration.
- in the new window select X Selection.
- in the new pop-up, make sure PRIMARY is what is selected from the drop box
- check the boxes for Auto Copy and Auto Paste
- Click OK
- Close the Configuration window
You should now be able to highlight the text you want and automatically paste it into any other windows app.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:22 AM
08-06-2003 06:22 AM
Re: cut/paste from logfiles...
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:37 AM
08-06-2003 06:37 AM
Re: cut/paste from logfiles...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:42 AM
08-06-2003 06:42 AM
Re: cut/paste from logfiles...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:55 AM
08-06-2003 06:55 AM
Re: cut/paste from logfiles...
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:56 AM
08-06-2003 06:56 AM
Re: cut/paste from logfiles...
for this you could work with grep:
grep 'string' file > new_file
string is what you want, for ex. error
file is your log-file
new_file is the new file with all lines with 'error'
If there are lines before or after an error I'm looking for a time stamp which I use as the string to search for.
Regards
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 08:16 AM
08-06-2003 08:16 AM
Re: cut/paste from logfiles...
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 04:26 PM
08-06-2003 04:26 PM
Re: cut/paste from logfiles...
First, you have to find out the line numbers of both the starting and ending lines you want. If you know the line numbers you can skip the next two paragraphs.
If the file is small enough to open with vi, you can check the line numbers by issuing
Should the file be too big for opening with vi, you can find out the line numbers by issuing this awk command:
awk '{print NR,$0 }' filename | more
Once you have the numbers of the starting and ending lines, you can 'sed' them out of the file. For example, for lines 48 to 56:
sed -n -e '48,56p' filename
The output from that command will be your 'interesting' section. Pipe it to mailx or redirect it to a file, it's now yours to play with !
Regards
Wouter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 04:31 PM
08-06-2003 04:31 PM
Re: cut/paste from logfiles...
It's the one thing I use Microsoft software for ;-)
Greets
Wouter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 04:57 PM
08-06-2003 04:57 PM
Re: cut/paste from logfiles...
I used Hummingbird quite a while ago and was going to give you Elena's answer - the only way to do it.
I can't remember if I ever did it but I think there is a scroll bar option. Enable the scroll bar option, do a cat pof the file, scroll to the top of the file and you may be able to high;ight the entire file.
Just a thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 11:54 PM
08-06-2003 11:54 PM
Re: cut/paste from logfiles...
Open the "Text Editor", then click "File" --> "Open" and browse to your log file.
Once opened, select "Edit" --> "Select All".
Then, copy and paste following the Elena??s suggestion ( or save to file ).
This works for me ( Exceed v6.0.2 ).
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 10:17 AM
08-07-2003 10:17 AM
Re: cut/paste from logfiles...
You are right, this is the way to go if you can not highlight all you need in a terminal window.
Thank you very much for the enlightment!
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 11:16 AM
08-07-2003 11:16 AM
Re: cut/paste from logfiles...
vi
:set num
/
(note start line number)
G
(go to bottom of file)
?
(note end line number)
:
***
Enjoy!