This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I have a script that I run to perform some testing and while I start that script I want to issue a command to start wireshark which I have.

Now I want to add a line at the end of the script to STOP wireshark. Can anyone guide me on how to stop wireshark in cli?

My script executes sometimes in 1 hour and sometimes in 20min so my time is not definitive.

Hope some one could help me!

Thanks

asked 28 Feb '13, 07:17

sipguy's gravatar image

sipguy
11112
accept rate: 0%


Now I want to add a line at the end of the script to STOP wireshark.

try this: killall wireshark

Regards
Kurt

permanent link

answered 28 Feb '13, 09:51

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Thanks Kurt,

But I have other users who run in the root mode so I have multiple wireshark pids which get killed by this.

IS there an alternative to it?

(28 Feb '13, 10:33) sipguy

how do you start Wireshark in your script? Can you please post that part of the script?

(28 Feb '13, 11:28) Kurt Knochner ♦

"But I have other users who run in the root mode..."

Haven't you heard you should not do that?

(28 Feb '13, 14:21) Jaap ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×549
×9
×1

question asked: 28 Feb '13, 07:17

question was seen: 5,512 times

last updated: 28 Feb '13, 14:21

p​o​w​e​r​e​d by O​S​Q​A