18%
05.12.2019
Child Read and Write
01 Use IO::Handle;
02
03 pipe(READHANDLE, WRITEHANDLE);
04
05 WRITEHANDLE->autoflush(1);
06 READHANDLE->autoflush(1);
07
08 if ($processed = fork) {
09 close(READHANDLE);
10
18%
03.12.2015
on the broker (see Listing 2).
Listing 2
Example Script
01 #!/bin/sh
02
03 source mqttfuncs.sh
04
05 mqtt Start
06
07 # for ... # long loop
08 mqtt "process now xyz `date`"
09 # done
10
11 mqtt "So
18%
05.03.2013
: "Red"
08 Model year: 1988
Listing 2: JavaScript Code for Listing 1
01 // JavaScript
02 var autos;
03
04 autos = {
05 bmw: {
06 color: "Blue",
07 Model year: 1990
08 },
09 vw: {
10
18%
21.08.2014
in the format
Listing 1
Perl Example Client
01 #!/usr/bin/perl
02
03 use strict;
04 use warnings;
05 use IO::Socket;
06 use Sys::CpuLoad;
07
08 my $remote_host = '192.168.56.102';
09 my $remote
18%
26.11.2013
RawKey = "4ea1...b2bf";
02 var encAlg = {
03 name : "AES-GCM",
04 params : {
05 iv : hex2bin("534aea17"),
06 additionalData: hex2bin("534aea17"),
07 tagLength: 128
08 }
09 };
10 function encrypt
18%
21.01.2014
= reservation.instances[0]
06
07 raw_input("Press ENTER to stop instance")
08
09 instance.terminate()
For better orientation with a large number of instances, the Amazon Cloud provides tags. Thus, you can
18%
10.04.2015
| Destination Port |
07 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
08 | Sequence Number |
09
18%
05.03.2014
3.5.0-44-generic (hercules) 03.12.2013 _x86_64_ (2 CPU)
09:46:03 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked
09:46:13
18%
20.03.2014
)
w
Task creation and task-switching activity
y
TTY activities
Listing 1
Query with Interval and Number
jcb@hercules:# sar -q 10 2
Linux 3.5.0-44-generic
18%
11.06.2014
. Creating one now...
06 Enter passphrase (empty for no passphrase):
07 Enter same passphrase again:
08 INFO: Updated project with new ssh key. It can take some time for the instance to pick up the key.
09