Article 5T43M Can i run a comand line in multiple sessions at once ?

Can i run a comand line in multiple sessions at once ?

by
pigsfoot
from LinuxQuestions.org on (#5T43M)
Hi,

I have an RPI that has three wlan interfaces wlan0, wlan1 & wlan2. Each interface is set to a different channel.

When running on a single interface i us eteh following cmmand

PHP Code:/usr/sbin/tcpdump -l -I -n -e -tt -i wlan0 type mgt subtype probe-req
What i woudl liek to do is run teh same command on all three interfaces.

I have read that i can use "-i any" but i get an error saying

Quote:
"tcpdump: any: That device doesn't support monitor mode"
I presume its referring to eth0 and lo interfaces.

I have also tried

/usr/sbin/tcpdump -l -I -n -e -tt -i wlan0 type mgt subtype probe-req & /usr/sbin/tcpdump -l -I -n -e -tt -i wlan1 type mgt subtype probe-req & /usr/sbin/tcpdump -l -I -n -e -tt -i wlan2 type mgt subtype probe-req

But it pretty much kills the RPI and i get undervoltage errors plus no packets are captures on any interfaces.

Is there a way around this, can the command be run in three seperate sessions using different interfaces in each? It's also worth mentioing that i run this command via a python file which is triggered by a custome service i wrote. All works fine with a single interface, i just want to add more.latest?d=yIl2AUoC8zA latest?i=rWOFdIq-HJs:v3oPe8ewbG8:F7zBnMy latest?i=rWOFdIq-HJs:v3oPe8ewbG8:V_sGLiP latest?d=qj6IDK7rITs latest?i=rWOFdIq-HJs:v3oPe8ewbG8:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments