14%
30.11.2025
Rate;
08 $ServerName = "Cashier";
09 $Workload = "Customers";
10 #------------ PDQ Model ------------
11 # Initialize internal PDQ variable
12 pdq::Init("Grocery Store Checkout");
13 # Modify the units used
14%
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
14%
30.11.2025
clear
03 while true
04 do
05 echo "New record"
06 maxrecord=`ls -1 *.dat | sort | tail -1 | cut -d. -f 1`
07 newrecord=$(echo $maxrecord + 1 | bc )
08 width=`echo $newrecord | wc -c`
09
10 ...
11
12
14%
30.11.2025
stream: ext://sys.stdout
08 loggers:
09 myLogger:
10 handlers: [myHandler]
11 root:
12 handlers: [rootHandler]
Conclusions
The logging module in Python is easy to use and sufficiently
14%
30.11.2025
Cluster Generation: 748
08 Membership state: Cluster-Member
09 Nodes: 2
10 Expected votes: 1
11 Total votes: 2
12 Node votes: 1
13 Quorum: 1
14 Active subsystems: 8
15 Flags: 2node
16 Ports Bound: 0
17 Node
14%
30.11.2025
Container
04 ou: SUDOers
05
06 dn: cn=goodboys_rule,ou=SUDOers,dc=tuxgeek,dc=de
07 objectClass: top
08 objectClass: sudoRole
09 cn: goodboys_rule
10 sudoUser: %goodboys
11 sudoHost: ALL
12 sudoCommand: /usr
14%
30.11.2025
_config
03 bash#> vi sshd_config
04 AllowTcpForwarding no
05 ClientAliveCountMax 3
06 ClientAliveInterval 0
07 Compression delayed
08 LoginGraceTime 60s
09 LogLevel DEBUG3
10 MaxAuthTries 2
14%
30.11.2025
=""
04 PING="ping -c1 -w 3"
05 PING2=""
06
07 case $OS in
08 HP-UX*)
09 PING=ping
10 PING2="-n 1"
11 RSH="remsh"
12 RSH2="-l user"
13 ;;
14 Sun
13%
30.11.2025
/07/10 15:41:50 krbtgt/TUXGEEK.DE@TUXGEEK.DE
10 renew until 08/06/10 15:41:50
11
12 # ldapsearch -LLL -h localhost -b "dc=tuxgeek,dc=de" uid=tscherf
13 SASL/GSSAPI authentication started
14 SASL username
13%
30.11.2025
/openvpn/keys/CA.crt
08 cert /etc/openvpn/keys/server.crt
09 key /etc/openvpn/keys/server.key
10 tls-auth /etc/openvpn/keys/tls-auth.key
11
12 server 192.168.1.0 255.255.255.0
13
14 keepalive 10 60
15 comp-lzo
16
17