First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How to open more than one instance of Wireshark under OS X

I'm using a Mac and having trouble to find a possibility to open more than one instance of Wireshark at a time to compare traces e.g. A friend of mine told me that this functionality is build in since v 3.0.6, but this seems to be true only for the Windows based Wireshark version. Or, is there any parameter that needs to be tweaked to enable that feature also for Mac users ?

-m's avatar
1
-m
asked 2019-11-20 08:35:28 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

First hit from your search engine of choice:

https://osqa-ask.wireshark.org/questi...

Essentially you need to do this from a terminal or create a shortcut:

open -n /Applications/Wireshark.app
NJL's avatar
120
NJL
answered 2019-11-20 09:24:47 +0000
edit flag offensive 0 remove flag delete link

Comments

I was knowing this terminal based solution, as I searched for this issue already earlier.

I was searching for a Wireshark application based solution. Apparently since short it works with Windows PCs. There you just open one trace file after the other, each in a separate window.

-m's avatar -m (2019-11-20 10:26:49 +0000) edit

I doubt this is something Wireshark can solve - unless they change their code significantly and include "New Tab" or similar functionality, which I really hope they don't as the developers time can be spent on something more useful. This is just the way Mac / OS X works and you as a user can either live with it or tweak it to suit your purpose.

NJL's avatar NJL (2019-11-20 12:47:58 +0000) edit

I would tend to agree with you NJL was this functionality not already build in into the Windows part of the Wireshark application v 3.0.6. By the way - they do not open a new tab, but just another window.

-m's avatar -m (2019-11-20 14:21:28 +0000) edit

macOS is different from other operating systems in the way it handles opening multiple files for the same application.

In Windows, and in the GUIs in various other flavors of UN*X (Solaris, *BSD, Linux, etc.), each open file has a separate process running a separate instance of the applications.

In macOS, however, all open files are handled by a single process with multiple open files.

Wireshark currently only supports having one file open per process. That's not an issue on OSes other than macOS, as they launch a separate process for each file, which is why opening multiple files isn't an issue on, for example, Windows. It is an issue on macOS, and is why opening multiple files isn't easy.

Wireshark would have to be changed to support having multiple files open in the same process to make it work on macOS. That would be a ... (more)

Guy Harris's avatar Guy Harris (2019-11-20 18:33:51 +0000) edit

Hi Guy, Thanks for your attempt to point out the differences between macOS and other OS regarding opening a further/2nd application window of Wireshark. I understood that it seems to be no trivial change to get that working. Still I wonder how something could be difficult to implement, which can already be achieved using the command "open -n /Applications/Wireshark.app" from the command line.

-m's avatar -m (2019-11-21 06:31:39 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer