bugGNU Parallel - Bugs: bug #50988, -M use more than one connection


bug #50988: -M use more than one connection

Submitter:  None
Submitted:  Tue 09 May 2017 09:14:23 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Tue 09 May 2017 09:14:23 PM UTC, original submission:  

mytest() {
  forever 'netstat -an|grep :22|grep -v TIME|wc -l' &
  parallel -Slo -M -j0 sleep 5.{} ::: {1..100}
  kill $ID

mytest2() {
  ssh -MTS /tmp/my_socket lo sleep 10000 &
  forever 'netstat -an|grep :22|grep -v TIME|wc -l' &
  parallel -j0 ssh -S /tmp/my_socket lo sleep 5.{} ::: {1..100}
  kill $ID
  kill $ID2



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.12.
Corresponding source code