HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HUPX nettl command
Operating System - HP-UX
1827289
Members
3245
Online
109717
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
05-30-2001 10:06 AM
05-30-2001 10:06 AM
HUPX nettl command
Hi,
Before I removed the /var/adm/nettl.LOG00 and
nettl.LOG01 the netfmt -f nettl.LOG00 worked...
I tried to stop and start the service but when I try netfmt -f nettl.LOG00 I dont get any information, why is that
Thanx
--George
Before I removed the /var/adm/nettl.LOG00 and
nettl.LOG01 the netfmt -f nettl.LOG00 worked...
I tried to stop and start the service but when I try netfmt -f nettl.LOG00 I dont get any information, why is that
Thanx
--George
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2001 10:32 AM
05-30-2001 10:32 AM
Re: HUPX nettl command
Hi George,
The netfmt command reads the log files created by the nettl network loggin daemon. When you specify the -f option, you are telling netfmt to use the /var/adm/nettl.LOG00 file. If you've deleted that file, netfmt won't be able to read it. I'm not a wizard with netfmt/nettl, but I think the nettl daemon only writes that file when it records something. On our boxes, it looks like it just records errors, so my guess is you won't have a nettl.LOG00 file again until nettl finds a problem to log.
The netfmt command reads the log files created by the nettl network loggin daemon. When you specify the -f option, you are telling netfmt to use the /var/adm/nettl.LOG00 file. If you've deleted that file, netfmt won't be able to read it. I'm not a wizard with netfmt/nettl, but I think the nettl daemon only writes that file when it records something. On our boxes, it looks like it just records errors, so my guess is you won't have a nettl.LOG00 file again until nettl finds a problem to log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2001 10:16 PM
05-30-2001 10:16 PM
Re: HUPX nettl command
In order to trace all packets sent by node and addressed to node :
1) start trace putting data into 1MB trace file ( /tmp/raw.TRC0, raw.TRC1).
/etc/nettl -tn -pduin -pduout -e all -f /tmp/raw
2) stop trace -> /etc/nettl -tf -e all
3) Format traces into a file like this :
/etc/netfmt -N -n -l -f /tmp/raw.TRC0 > /tmp/file0
/etc/netfmt -N -n -l -f /tmp/raw.TRC1 > /tmp/file1
-n option -> print IP addresses, not hostnames
Another way could be the following:
use nettladm - network tracing and logging administrator manager. It provides an interactive user interface to the nettl, netfmt, nettlconf command.
Do man nettladm
I hope this helps
Federico
1) start trace putting data into 1MB trace file ( /tmp/raw.TRC0, raw.TRC1).
/etc/nettl -tn -pduin -pduout -e all -f /tmp/raw
2) stop trace -> /etc/nettl -tf -e all
3) Format traces into a file like this :
/etc/netfmt -N -n -l -f /tmp/raw.TRC0 > /tmp/file0
/etc/netfmt -N -n -l -f /tmp/raw.TRC1 > /tmp/file1
-n option -> print IP addresses, not hostnames
Another way could be the following:
use nettladm - network tracing and logging administrator manager. It provides an interactive user interface to the nettl, netfmt, nettlconf command.
Do man nettladm
I hope this helps
Federico
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP