// evaluating and printing
x = 3 + 4 * 5;
x
// long running server computation
fib = function(n) {
return n < 2 ? 1 : fib(n - 1) + fib(n-2)
}
fib(37)
// command line access
runOnCommandLine('ls', function(result, send) { send(result) })
runOnCommandLine('pwd', function(result, send) { send(result) })
// CPU data
runOnCommandLine(
'mpstat -P ALL 1 1',
function(result, send) { send(result) })