02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

RETURNS<br />

SEE ALSO<br />

OK or ERROR.<br />

windsh, sysSuspend(), <strong>Tornado</strong> User’s Guide: Shell<br />

sysStatusShow( )<br />

NAME sysStatusShow( ) – show system context status (*)<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

int sysStatusShow (void)<br />

This command shows the status of the system context. There are two system context<br />

states: suspended and running. This command can be completed successfully only if the<br />

agent is running in external mode.<br />

OK, or ERROR if agent is running in task mode<br />

windsh, sysResume( ), sysSuspend( ), <strong>Tornado</strong> User’s Guide: Shell<br />

sysSuspend( )<br />

NAME sysSuspend( ) – set the agent to external mode and suspend the system (*)<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

int sysSuspend (void)<br />

This command sets the agent to external mode if it is supported by the agent. The system<br />

is then suspended, halting all tasks. When the agent is in external mode, certain shell<br />

commands work differently: b( ), s( ), c( ) work with the system context instead of<br />

particular task contexts. To return to tasking mode, use sysResume().<br />

OK, or ERROR if external mode cannot be entered.<br />

windsh, sysResume( ), b(), <strong>Tornado</strong> User’s Guide: Shell<br />

416

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!