28%
30.11.2025
_NOT_RUNNING
08 fi
09
10 pid=`cat $ASTRUNDIR/asterisk.pid`
11 ocf_run kill -s 0 $pid
12 rc=$?
13
14 if [ $rc -eq 0 ]; then
15 if ocf_is_true "$OCF_RESKEY_realtime"; then
16
28%
30.11.2025
to install the Pen load balancer, and Listing 12 shows a query to Pen.
Listing 11
Installing and Starting Pen
wget http://siag.nu/pub/pen/pen-0.18.0.tar.gz
tar xf /download/pen-0.18.0.tar
27%
30.11.2025
/2001/XMLSchema-instance"
05 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
06 http
27%
30.11.2025
` ]]; then
078 mkdir ./`dirname $l` > /dev/null
079 fi
080 cp $l .$l
081 done
082 done
083
084 cd /export/home/jail/$JAILUSER/devices/pseudo
085 mknod mm@0:zero c 13 12
086 mknod mm@0:null c 13 2
27%
30.11.2025
$spin
08 @$molecule.xyz
09
10 END
11
12 done
13 done
The Gaussian 09 (g09) computational chemistry simulation package uses a small input that tells it what type of predictions are desired and which
27%
30.11.2025
run the tool with the -a option, it creates the matching device mapper files:
$ kpartx -l ff-clone7.img
loop0p1 : 0 20969472 /dev/loop0 2048
$ kpartx -a ff-clone7.img
$ kpartx -l ff-clone7.img
loop0p1
27%
30.11.2025
(number, label):
07 for i in xrange(number):
08 print ' ' + str(i) + ' ' + label
09 sleep((number - 15)/10.0)
10
11 if '__main__' == __name__:
12
13 p1 = Process(target = count, args = (20
27%
30.11.2025
check) or as RC scripts.
Listing 2
CUPS Monitoring
01 #! /bin/sh
02
03 while true
04 do
05
06 lpq -Plp | grep -q "lp is ready"
07
08 if [ $? -gt 0 ]
09 then
10 cupsenable lp
11 fi
12
27%
30.11.2025
main(int argc, char *argv[])
06 {
07 char *newblock = NULL;
08
09 for (int allocation = 0; newblock = (void *) malloc(1024 * 1024); allocation++)
10 {
11 //for (int i=0; i < (1024 * 1024
27%
30.11.2025
\
02 --hostname=foo.bar.de --mac- address=00:40:26:CA:10:DD \
03 --kopts="stage=test app=www" --ksmeta="stage=test app=www"
04 # cobbler system edit --name=foo --interface=eth0 --mac=00:40:26:CA