multithreading - How do I run the same linux command in more than one tab/shell simulataneously? -


is there tool/command in linux can use run command in more 1 tab simultaneously? want run same command: ./myprog argument1 argument2 simultaneously in more 1 shells (i want increase put code under stress later on) check if mutexes working fine in threaded program.

i kind of looking wall does. can think of using tty's, seems lot of pain if have scale many more shells.

why not like

for in {1..100}     ./myprog argument1 argument2 & done 

this in case shell bash. can other looping constructs in case of other shells.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -