Short: Packet monitor for Miami 2.0 (regged) Uploader: troels@stud.cs.uit.no (Troels Walsted Hansen) Author: troels@stud.cs.uit.no (Troels Walsted Hansen) Type: comm/tcp Replaces: comm/tcp/MiamiMonitor11.lha Introduction ŻŻŻŻŻŻŻŻŻŻŻŻ Just a little tool I made to check out the newly published functions in Miami 1.9.3. Shows number of packets and bytes sent/received and a cps value for the two interfaces mi0 and lo0. With v1.1 you can select exactly which interfaces you want to monitor and the list of interfaces is obtained directly from Miami so MiamiMonitor should work with whatever new interfaces Holger Kruse adds to Miami. Requirements ŻŻŻŻŻŻŻŻŻŻŻŻ · AmigaOS 2.04 or higher · MUI 3.6 or higher. · Miami 2.0 or higher *registered*. (The packet monitoring is disabled in the unregistered version, nothing I can do about it.) Features ŻŻŻŻŻŻŻŻ · Nice and userfriendly MUI GUI. · Locale. Dansk and norsk translation and MiamiMonitor.ct included. Usage ŻŻŻŻŻ Start Miami, then start MiamiMonitor. You have to quit MiamiMonitor before Miami will quit. You may want to create an ARexx script that does this for you if you use MiamiMonitor on a more permanent basis. In fact, you don't even have to create a script, you can just enter the following command as a "Shell" command on the Miami Events configuration page: rx "address MIAMIMONITOR.1 quit" MiamiMonitor does not update the display after each packet sent/received. That would be far too much overhead. Instead it waits a configurable number of seconds between each update. The default delay is 3 seconds. You can change this by changing the value of the REFRESHDELAY tooltype. To tell MiamiMonitor which interfaces to monitor at startup, change the INTERFACES tooltype. Default is to monitor lo0 and mi0 (if they are available). If you for example want to monitor mi0 (the PPP/(C)SLIP/etc interface) only, set the tooltype to INTERFACES=mi0. Seperate multiple interfaces with a comma. Have fun. Author ŻŻŻŻŻŻ SnailMail: Troels Walsted Hansen O.L. Aunesgate 15 9009 Tromsĝ NORWAY Email: troels@stud.cs.uit.no WWW: http://www.cs.uit.no/~troels IRC nick: Troels Feel free to contact me about anything related to MiamiMonitor. Credits ŻŻŻŻŻŻŻ Thanks to... · SAS Institute and the Amiga SAS/C team for the great SAS/C 6.57 compiler which MiamiMonitor is compiled with. · Stefan 'stuntzi' Stuntz for MagicUserInterface. · Holger Kruse for the great Miami TCP/IP stack and his help with the rather frustrating problem of how to get a list of all interfaces (hey, it was your suggestion in the first place! ;) · JT Eliassen for the icon which he by his own admission copied and pasted off someone else. :) All who give me positive feedback or constructive critisism on my programs :) Legal information ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ MiamiMonitor is Copyright İ 1997 Ultima Thule Software. MiamiMonitor is freeware, which means that you are allowed to use and distribute it freely if you don't modify any of the included files. The author of MiamiMonitor assumes no responsibility for what this program might do, you are using it at your own risk. However, MiamiMonitor has of course been tested quite thoroughly and should not cause any problems. Version history ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ MiamiMonitor 1.0 (24.1.97) · First release to aminet. MiamiMonitor 1.1 (30.1.97) · Encapsulated all of the monitor code within a MUI class for modularity and in preparation of supporting any number of interfaces in future Miamis. · Which interfaces to monitor is now completely configurable. You can set the tooltype INTERFACES and you can pick interfaces in a new submenu in the Settings menu. Either way, monitor objects will be dynamically created and added to the window. · Added a menuitem for resetting the stats. (Suggested by Ron Goertz) · Added "Current cps" display. This cps is calculated with the number of bytes sent/received and the number of seconds passed since the last update of the display. The old cps display is still there and has been renamed to "Average cps" - which is what it is. The total number of bytes sent/received divided by the number of seconds since the interface monitor hook was installed. (Suggested by Terry Coles) · Resizing the MiamiMonitor window now works better. It can only be made as tall as the text, but still as wide as you like of course. (Alexander Wilkens) MiamiMonitor 1.2 (31.1.97) · Now works with and requires Miami 2.0. · Bumped the required catalog version to 2, because of the above change. · Included Danish catalog translated by Lars Svoldgaard.