mangOH Red Getting Started page 48

Wpx5xx + linux dev machine + cli
Hide thumbs Also See for Red:
Table of Contents

Advertisement

mangOH Red Getting Started
Hello World application
Rev 2 8/23/17
b. Connect to the target:
$ ssh root@192.168.2.2
c. Watch the log file and show when a message from "hello world" appears:
# logread -f | grep "Hello"
Note: Nothing will appear to happen until you run the Hello World application in the
next step. Leave this command running until after you see the Hello World output,
then you can press Ctrl+C to cancel it and return to the command prompt.
2. Run the application:
a. Open a terminal window to run the application (referred to as APP_TERM in
this procedure).
b. Connect to the target:
$ ssh root@192.168.2.2
c. Check that the application is installed:
# app status
The "hello world" application should appear in the list with a status of
'Running'. The application was built to run automatically; when you write your
own applications, you can make them install without running, if you prefer.
d. Stop the application (so you can restart it and see the output):
# app stop helloWorld
48
41110481

Advertisement

Table of Contents
loading

Table of Contents