How to Automate Network Captures with Network Monitor

Last reviewed: October 2, 1997
Article ID: Q158744
The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5, 3.51, and 4.0
  • Microsoft Windows NT Server versions 3.5, 3.51, and 4.0

SUMMARY

Network Monitor gives you the ability to automatically begin capturing network information upon starting the application. This is done by using command-line parameters that can be passed to the program.

MORE INFORMATION

You can use this feature, for example, in conjunction with the AT command to start Network Monitor when a backup operation begins. To do this, place the command to AUTOSTART Network Monitor in the batch file just before the backup operation starts, as in the following example batch file:

   @echo off
   Start Netmon /AUTOSTART
   NTBACKUP backup C:\<directory path> /B /L "C:\BACKUP.LOG"

The rest of this article describes the command line options for running Network Monitor. For more information, see the Network Monitor Help file in the Systems Management Server Administrator's Guide.

/REMOTE <remote_name> Starts Network Monitor with a connection to the Network Monitor Agent specified.

/NET <number> Starts Network Monitor with a connection to the network number specified.

/CAPTUREFILTER <path> Starts Network Monitor with a specific capture filter loaded.

/DISPLAYFILTER <path> Starts Network Monitor with a specific display filter loaded.

/BUFFERSIZE <number> Starts Network Monitor with the buffers size preset to the number of bytes specified.

/QUICKFILTER <type>, <address> Begins capturing as soon as Network Monitor is started, and filters on the address specified.

/AUTOSTART Begins capturing immediately upon starting.

/AUTOSTOP Stops the Network Monitor capture file when the buffer is full.


Additional query words: prodnt netmon sms
Keywords : nthowto kbtool
Version : WINNT:3.5 3.51 4.0
Platform : winnt
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.