MCPcopy Create free account
hub / github.com/mininet/mininet / sendInt

Method sendInt

mininet/node.py:328–331  ·  view source on GitHub ↗

Interrupt running command.

( self, intr=chr( 3 ) )

Source from the content-addressed store, hash-verified

326 self.waiting = True
327
328 def sendInt( self, intr=chr( 3 ) ):
329 "Interrupt running command."
330 debug( 'sendInt: writing chr(%d)\n' % ord( intr ) )
331 self.write( intr )
332
333 def monitor( self, timeoutms=None, findPid=True ):
334 """Monitor and return the output of a command.

Callers 4

runMethod · 0.80
waitForNodeMethod · 0.80
iperfMethod · 0.80
handleIntMethod · 0.80

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected