<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Network traffic per socket in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161231#M569913</link>
    <description>Hi Shahul&lt;BR /&gt;&lt;BR /&gt;To do with nettl&lt;BR /&gt;&lt;BR /&gt;First create a filter file containing the port/socket numbers you wish to trace, for eg&lt;BR /&gt;&lt;BR /&gt;filter tcp_sport 23 /* TCP port 23 =&lt;BR /&gt;telnet */ &lt;BR /&gt;filter tcp_dport 23 /* TCP port 23 = telnet */&lt;BR /&gt;&lt;BR /&gt;You can also add filters for a specific ip address&lt;BR /&gt;&lt;BR /&gt;filter ip_saddr ip.ip.ip.ip  &lt;BR /&gt;filter ip_daddr ip.ip.ip.ip&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you are 10baseT use the below to start your trace, ensure you have plenty of space in your filesystem as the tracefiles can grow quite quickly&lt;BR /&gt;&lt;BR /&gt;nettl  -tn pduin pduout â  e ns_ls_driver â  size 1024 â  tracemax 99999 â  f /tmp/raw&lt;BR /&gt;&lt;BR /&gt;If you are using 100BaseT&lt;BR /&gt;&lt;BR /&gt;nettl â  tn pduin pduout â  e all â  size 1024 â  tracemax 99999 â  f /tmp/raw &lt;BR /&gt;&lt;BR /&gt;Initiate an event you need to trace&lt;BR /&gt;&lt;BR /&gt;To stop the trace&lt;BR /&gt;&lt;BR /&gt;nettl â  tf â  e all&lt;BR /&gt;&lt;BR /&gt;Then to format your file using the previously created filter file&lt;BR /&gt;&lt;BR /&gt;netfmt -N -n -l -c filter -f raw.TRC0 &amp;gt; /tmp/fmt-10&lt;BR /&gt;&lt;BR /&gt;The format will display the filters you have in place and create the</description>
    <pubDate>Sun, 11 Jan 2004 15:35:41 GMT</pubDate>
    <dc:creator>steven Burgess_2</dc:creator>
    <dc:date>2004-01-11T15:35:41Z</dc:date>
    <item>
      <title>Network traffic per socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161227#M569909</link>
      <description>&lt;BR /&gt;  Hi,&lt;BR /&gt;&lt;BR /&gt;   I need to know the network traffic for a particular socket, ie. packet size transferred. How can I get this info with out using any tools, I mean inbuilt Unix commands. Suggestions are highly appreciated.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Shahul</description>
      <pubDate>Sat, 10 Jan 2004 19:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161227#M569909</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2004-01-10T19:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Network traffic per socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161228#M569910</link>
      <description>&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gtk/Applications/ethereal-0.9.15/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gtk/Applications/ethereal-0.9.15/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I believe this tool can dod the job.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 10 Jan 2004 19:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161228#M569910</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-10T19:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Network traffic per socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161229#M569911</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt; Thanks for ur answer. But I need to find out by using Unix commands, not by using any additional tools. &lt;BR /&gt;&lt;BR /&gt;  Thanks for additional info.&lt;BR /&gt;&lt;BR /&gt;Shahul</description>
      <pubDate>Sat, 10 Jan 2004 20:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161229#M569911</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2004-01-10T20:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Network traffic per socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161230#M569912</link>
      <description>netttl can do it from the command line.&lt;BR /&gt;&lt;BR /&gt;Filtering the data is kinda a pain.&lt;BR /&gt;&lt;BR /&gt;There are a couple of cookbooks in the itrc search database though.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 11 Jan 2004 12:57:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161230#M569912</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-11T12:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Network traffic per socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161231#M569913</link>
      <description>Hi Shahul&lt;BR /&gt;&lt;BR /&gt;To do with nettl&lt;BR /&gt;&lt;BR /&gt;First create a filter file containing the port/socket numbers you wish to trace, for eg&lt;BR /&gt;&lt;BR /&gt;filter tcp_sport 23 /* TCP port 23 =&lt;BR /&gt;telnet */ &lt;BR /&gt;filter tcp_dport 23 /* TCP port 23 = telnet */&lt;BR /&gt;&lt;BR /&gt;You can also add filters for a specific ip address&lt;BR /&gt;&lt;BR /&gt;filter ip_saddr ip.ip.ip.ip  &lt;BR /&gt;filter ip_daddr ip.ip.ip.ip&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you are 10baseT use the below to start your trace, ensure you have plenty of space in your filesystem as the tracefiles can grow quite quickly&lt;BR /&gt;&lt;BR /&gt;nettl  -tn pduin pduout â  e ns_ls_driver â  size 1024 â  tracemax 99999 â  f /tmp/raw&lt;BR /&gt;&lt;BR /&gt;If you are using 100BaseT&lt;BR /&gt;&lt;BR /&gt;nettl â  tn pduin pduout â  e all â  size 1024 â  tracemax 99999 â  f /tmp/raw &lt;BR /&gt;&lt;BR /&gt;Initiate an event you need to trace&lt;BR /&gt;&lt;BR /&gt;To stop the trace&lt;BR /&gt;&lt;BR /&gt;nettl â  tf â  e all&lt;BR /&gt;&lt;BR /&gt;Then to format your file using the previously created filter file&lt;BR /&gt;&lt;BR /&gt;netfmt -N -n -l -c filter -f raw.TRC0 &amp;gt; /tmp/fmt-10&lt;BR /&gt;&lt;BR /&gt;The format will display the filters you have in place and create the</description>
      <pubDate>Sun, 11 Jan 2004 15:35:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-traffic-per-socket/m-p/3161231#M569913</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2004-01-11T15:35:41Z</dc:date>
    </item>
  </channel>
</rss>

