[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to stop ns without exiting the script



>
> From:  Biaz Saad <[email protected]>
> To:    [email protected]
> Subject: How to stop ns without exiting the script 
> Date:  Thu, 13 Nov 97 09:51:17 CST
>
>      
> Hi!
> 	Can anyone tell me how to stop an ns simulation without exiting
> the script ?
> 						
> 
> ___________________________________________________________________
> Saad Biaz				Abou Youssef
> Graduate Research Assistant		Office : (409) 845 50 07
> Department of Computer Science		Home   : (409) 862 91 35
> College Station, TX, 77843-3112
> ___________________________________________________________________
> 

	$ns_ halt

will stop the simulation.  Also, there is a (currently unused/untested)
procedure called:

	$ns_ resume

also which you may want to play with.

- K