HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using nettl to view packets on the fly
Operating System - HP-UX
1831426
Members
3164
Online
110025
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-11-2006 05:02 AM
07-11-2006 05:02 AM
Using nettl to view packets on the fly
From google:
"How to Run nettl+netfmt to Observe Packets "On the Fly:
This is an interactive trace that displays the trace file on the screen, and tee's the output to a file. Make sure you make a specific filterfile first, and specify the appropriate driver in the -e parameter:
# nettl -tn 0x30800000 -e ns_ls_driver | netfmt -F -N -n -l -c filterfile | tee /tmp/fmt0
Don't forget your filterfile. Here is an example:
filter ip_saddr 192.9.9.1
filter ip_daddr 192.9.9.1"
But I just keep getting this error:
"netfmt EOF detected while reading file header. (200)
Check the input filename and try again."
Anyone ever tried to do a 'running' trace like this before? I've checked and re-checked the filterfile syntax, and it looks like it follows the proper format.
"How to Run nettl+netfmt to Observe Packets "On the Fly:
This is an interactive trace that displays the trace file on the screen, and tee's the output to a file. Make sure you make a specific filterfile first, and specify the appropriate driver in the -e parameter:
# nettl -tn 0x30800000 -e ns_ls_driver | netfmt -F -N -n -l -c filterfile | tee /tmp/fmt0
Don't forget your filterfile. Here is an example:
filter ip_saddr 192.9.9.1
filter ip_daddr 192.9.9.1"
But I just keep getting this error:
"netfmt EOF detected while reading file header. (200)
Check the input filename and try again."
Anyone ever tried to do a 'running' trace like this before? I've checked and re-checked the filterfile syntax, and it looks like it follows the proper format.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 05:11 AM
07-11-2006 05:11 AM
Re: Using nettl to view packets on the fly
Shalom,
I find tcpdump is a bit more useful.
Generally you run nettl for a while and then stop it, collecting you data to a file.
I suggest a simpler test, collecting all traffic and then using grep to see what you wish.
SEP
I find tcpdump is a bit more useful.
Generally you run nettl for a while and then stop it, collecting you data to a file.
I suggest a simpler test, collecting all traffic and then using grep to see what you wish.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 05:39 AM
07-11-2006 05:39 AM
Re: Using nettl to view packets on the fly
Hi Marco,
Consider installing Wireshark (nee Ethereal) on your Windows/Linux workstation. Wireshark will run in promiscuous mode, and will accomplish what you want, as long as your workstation is part of the same collision domain as your servers.
PCS
Consider installing Wireshark (nee Ethereal) on your Windows/Linux workstation. Wireshark will run in promiscuous mode, and will accomplish what you want, as long as your workstation is part of the same collision domain as your servers.
PCS
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP