27%
30.11.2025
the Buffer
01 [global]
02 ioengine=libaio
03 direct=1
04 filename=testfile
05 size=2g
06 bs=4m
07
08 refill_buffers=1
09
10 [write]
11 rw=write
12 write_bw_log
13
14 [read]
15 stonewall
16 rw=read
17 write
27%
30.11.2025
Resident Pages: 0/15 0/60K 0%
05 Elapsed: 8.1e-05 seconds
06 $ ./vmtouch -vt /bin/gzip
07 /bin/gzip
08 [OOOOOOOOOOOOOOO] 15/15
09
10 Files: 1
11 Directories: 0
12 Touched Pages: 15 (60K)
13
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
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
27%
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
27%
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
26%
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
26%
30.11.2025
]='-d'
09 debug1: Bind to port 2202 on ::.
10 Server listening on :: port 2202.
11 debug1: Bind to port 2202 on 0.0.0.0.
12 Server listening on 0.0.0.0 port 2202.
Now the fun part begins
26%
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
26%
30.11.2025
12 system:
rpm -Uvh http://spacewalk.redhat.com/ yum/1.0/Fedora/12/i386/spacewalk-client-repo-1.0-2.fc12.noarch.rpm
Then, use Yum to install the client tools:
yum install rhn-client-tools rhn