Changed screen(1) names from hN to mininet.hN.
This should make it easier for people who use screen for other purposes to identify which sessions were created by mininet.
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ def makeTerm( node, title = 'Node', term = 'xterm' ):
|
||||
error( 'invalid terminal type: %s' % term )
|
||||
return
|
||||
if not node.execed:
|
||||
node.cmd( 'screen -dmS ' + node.name)
|
||||
node.cmd( 'screen -dmS ' + 'mininet.' + node.name)
|
||||
args = [ 'screen', '-D', '-RR', '-S', 'mininet.' + node.name ]
|
||||
else:
|
||||
args = [ 'sh', '-c', 'exec tail -f /tmp/' + node.name + '*.log' ]
|
||||
|
||||
Reference in New Issue
Block a user