Xref: utzoo comp.protocols.nfs:1533 alt.sys.sun:2059 Path: utzoo!utgpu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!aero!usasoc.soc.mil!sparkyfs!davy From: davy@sparkyfs.istc.sri.com (David Curry) Newsgroups: comp.protocols.nfs,alt.sys.sun Subject: Re: how do I find the swap traffic in the output of NFSWATCH? Keywords: nfs nfswatch swap tcp udp Message-ID: <32819@sparkyfs.istc.sri.com> Date: 15 Nov 90 16:37:07 GMT References: <706@keele.keele.ac.uk> Reply-To: davy@quetzalcoatl.erg.sri.com.UUCP (David Curry) Organization: SRI International, Menlo Park, CA 94025 Lines: 26 In article <706@keele.keele.ac.uk> cca13@seq1.keele.ac.uk (G.D. Pratt) writes: >I am trying to determine the load on our ethernet - 16 3/[5|6]0s >running SunOS 4.1 on a 3/180 server. Before the upgrade from SunOS >3.5 the "nd" swap traffic was obvious from the output from nfswatch; >now it is not so clear to me. The packets are mostly TCP(25%) and >UDP(75%) - is this the NFS verses SWAP division? >Any help appreciated - I can't find any details in the manual. > No. *ALL* NFS traffic (unless you have a truly weird version of NFS) will be UDP traffic. Basically, the left column of counters is counting RPC and ND packets (all at least loosely NFS and YP related), while the right column is counting all packets received by the machine. So TCP packets counts all TCP packets recieved by the host. And UDP packets counts all UDP packets recieved by the host, not just NFS packets. To count swap packets, you'd need to list the swap files in a "filelist", and then run "nfswatch -f filelist". That's because these is NOTHING special about swap in SunOS 4.x -- it's just more NFS. Oh -- and just FYI, not all ND traffic is swap -- most of it is, but remember that the root partition (and therefore /tmp, etc.) used to come via ND as well. --Dave Curry (author of nfswatch)