{ Abhilash Kumar Bhattaram : Follow on LinkedIn }
Hands On Labs for OracleBootCamp Event on 8-Aug-2026
Sample Labs : https://github.com/abhilash-8/oraclebootcamp-8-Aug-2026-Chennai
1. bpftrace
[root@instance-20260614-1905 ~]# sudo bpftrace -e 'tracepoint:syscalls:sys_enter_openat { printf("%s opened %s\n", comm, str(args->filename)); }'
Attached 1 probe
stat opened /etc/ld.so.cache
stat opened /lib64/libselinux.so.1
stat opened /lib64/libc.so.6
stat opened /lib64/libpcre2-8.so.0
stat opened /usr/lib/locale/locale-archive
stat opened /usr/share/locale/locale.alias
stat opened /usr/lib/locale/en_US.UTF-8/LC_IDENTIFICATION
stat opened /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
stat opened /usr/lib64/gconv/gconv-modules.cache
stat opened /usr/lib/locale/en_US.UTF-8/LC_MEASUREMENT
stat opened /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
stat opened /usr/lib/locale/en_US.UTF-8/LC_TELEPHONE
stat opened /usr/lib/locale/en_US.utf8/LC_TELEPHONE
stat opened /usr/lib/locale/en_US.UTF-8/LC_ADDRESS
stat opened /usr/lib/locale/en_US.utf8/LC_ADDRESS
stat opened /usr/lib/locale/en_US.UTF-8/LC_NAME
stat opened /usr/lib/locale/en_US.utf8/LC_NAME
python3 opened /tmp/bootcamp-load/
python3 opened /tmp/bootcamp-load/
python3 opened /tmp/bootcamp-load/
curl opened /dev/null
curl opened /dev/null
curl opened /dev/null
python3 opened /tmp/bootcamp-load/
python3 opened /tmp/bootcamp-load/
bootcamp-load-g opened /tmp/bootcamp-load/churn_1.tmp
curl opened /dev/null
stat opened /usr/lib/locale/en_US.UTF-8/LC_PAPER
bootcamp-load-g opened /dev/null
stat opened /usr/lib/locale/en_US.utf8/LC_PAPER
stat opened /usr/lib/locale/en_US.UTF-8/LC_MESSAGES
cat opened /etc/ld.so.cache
cat opened /lib64/libc.so.6
stat opened /usr/lib/locale/en_US.utf8/LC_MESSAGES
cat opened
cat opened /usr/share/locale/locale.alias
cat opened /usr/lib/locale/en_US.UTF-8/LC_IDENTIFICATION
cat opened /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
cat opened /usr/lib64/gconv/gconv-modules.cache
cat opened /usr/lib/locale/en_US.UTF-8/LC_MEASUREMENT
cat opened /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
.
.
2. sar
[root@instance-20260614-1905 ~]# sar -u 1 5
Linux 6.12.0-203.76.7.3.el10uek.x86_64 (instance-20260614-1905) 08/10/2026 _x86_64_ (2 CPU)
02:15:27 PM CPU %user %nice %system %iowait %steal %idle
02:15:28 PM all 35.47 0.00 12.81 0.00 51.72 0.00
02:15:29 PM all 38.89 0.00 9.09 0.00 52.02 0.00
02:15:30 PM all 39.60 0.00 7.43 0.00 52.97 0.00
02:15:31 PM all 35.86 0.00 10.10 0.00 54.04 0.00
02:15:32 PM all 40.91 0.00 4.55 0.00 54.55 0.00
Average: all 38.14 0.00 8.81 0.00 53.05 0.00
[root@instance-20260614-1905 ~]#
3. iostat
[root@instance-20260614-1905 ~]# iostat -x 1 5
Linux 6.12.0-203.76.7.3.el10uek.x86_64 (instance-20260614-1905) 08/10/2026 _x86_64_ (2 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
25.65 0.03 3.10 0.04 1.46 69.71
Device r/s rkB/s rrqm/s %rrqm r_await rareq-sz w/s wkB/s wrqm/s %wrqm w_await wareq-sz d/s dkB/s drqm/s %drqm d_await dareq-sz f/s f_await aqu-sz %util
dm-0 5.48 557.55 0.00 0.00 4.02 101.79 2.44 14179.58 0.00 0.00 133.05 5812.82 1.51 7994.73 0.00 0.00 61.31 5290.92 0.00 0.00 0.44 24.08
dm-1 0.10 6.14 0.00 0.00 0.64 59.07 0.00 1.36 0.00 0.00 11.00 2048.00 0.01 13821.19 0.00 0.00 275.70 1043659.00 0.00 0.00 0.00 0.08
sda 6.03 610.48 0.16 2.52 4.94 101.29 13.08 14222.39 0.42 3.11 435.49 1087.27 0.86 22780.55 0.68 43.91 63.12 26403.59 0.00 0.00 5.78 23.94
avg-cpu: %user %nice %system %iowait %steal %idle
82.50 0.00 11.50 0.00 6.00 0.00
Device r/s rkB/s rrqm/s %rrqm r_await rareq-sz w/s wkB/s wrqm/s %wrqm w_await wareq-sz d/s dkB/s drqm/s %drqm d_await dareq-sz f/s f_await aqu-sz %util
dm-0 0.00 0.00 0.00 0.00 0.00 0.00 2.00 65546.50 0.00 0.00 543.50 32773.25 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.09 77.80
dm-1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sda 0.00 0.00 0.00 0.00 0.00 0.00 41.00 50186.50 0.00 0.00 397.78 1224.06 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16.31 77.10
avg-cpu: %user %nice %system %iowait %steal %idle
82.09 0.00 6.47 0.00 11.44 0.00
Device r/s rkB/s rrqm/s %rrqm r_await rareq-sz w/s wkB/s wrqm/s %wrqm w_await wareq-sz d/s dkB/s drqm/s %drqm d_await dareq-sz f/s f_await aqu-sz %util
dm-0 0.00 0.00 0.00 0.00 0.00 0.00 2.00 65546.50 0.00 0.00 541.50 32773.25 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.08 77.10
dm-1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sda 0.00 0.00 0.00 0.00 0.00 0.00 40.00 49930.50 0.00 0.00 463.40 1248.26 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18.54 77.10
avg-cpu: %user %nice %system %iowait %steal %idle
85.29 0.00 9.80 0.00 4.90 0.00
Device r/s rkB/s rrqm/s %rrqm r_await rareq-sz w/s wkB/s wrqm/s %wrqm w_await wareq-sz d/s dkB/s drqm/s %drqm d_await dareq-sz f/s f_await aqu-sz %util
dm-0 0.00 0.00 0.00 0.00 0.00 0.00 6.86 64501.47 0.00 0.00 155.57 9398.79 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.07 76.96
dm-1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sda 0.00 0.00 0.00 0.00 0.00 0.00 32.35 35638.73 1.96 5.71 640.42 1101.56 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20.72 71.37
avg-cpu: %user %nice %system %iowait %steal %idle
87.00 0.00 7.50 0.00 5.50 0.00
Device r/s rkB/s rrqm/s %rrqm r_await rareq-sz w/s wkB/s wrqm/s %wrqm w_await wareq-sz d/s dkB/s drqm/s %drqm d_await dareq-sz f/s f_await aqu-sz %util
dm-0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
dm-1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sda 0.00 0.00 0.00 0.00 0.00 0.00 51.00 64256.00 0.00 0.00 483.41 1259.92 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 24.65 105.20
4. perf
[root@instance-20260614-1905 ~]# sudo perf top --sort comm,dso
Samples: 48K of event 'cycles:P', 4000 Hz, Event count (approx.): 21654368464 lost: 0/0 drop: 0/0
Overhead Command Shared Object
26.87% awk gawk
25.43% bc bc
23.74% python3 libc.so.6
2.96% bootcamp-load-g [kernel]
2.07% curl [kernel]
1.97% perf [kernel]
1.88% perf perf
1.72% ls [kernel]
1.41% curl ld-linux-x86-64.so.2
1.14% cat [kernel]
0.94% rm [kernel]
0.72% perf libc.so.6
0.62% stat [kernel]
0.58% systemd-userwor [kernel]
0.51% sleep [kernel]
0.45% dd [kernel]
0.39% ls libc.so.6
0.35% python3 libpython3.12.so.1.0
0.32% bc libc.so.6
0.31% curl libcrypto.so.3.5.1
0.29% curl libc.so.6
0.29% python3 [kernel]
0.27% cat libc.so.6
0.25% bootcamp-load-g bash
0.23% perf liblzma.so.5.6.2
0.23% stat ld-linux-x86-64.so.2
0.22% rm ld-linux-x86-64.so.2
0.21% cat ld-linux-x86-64.so.2
0.19% systemd-userwor libsystemd-shared-257-13.0.1.el10_1.3.so
0.18% rm libc.so.6
0.18% ls ld-linux-x86-64.so.2
0.17% bootcamp-load-g libc.so.6
0.17% systemd libsystemd-shared-257-13.0.1.el10_1.3.so
0.17% ls libnss_systemd.so.2
0.13% sleep libc.so.6
0.13% perf libstdc++.so.6.0.33
0.13% systemd-userwor libc.so.6
0.12% bc [kernel]
0.12% systemd [kernel]
0.12% ls ls
5. ss
[root@instance-20260614-1905 ~]# ss -s
Total: 258
TCP: 1431 (estab 11, closed 1404, orphaned 0, timewait 1404)
Transport Total IP IPv6
RAW 1 0 1
UDP 5 3 2
TCP 27 23 4
INET 33 26 7
FRAG 0 0 0
[root@instance-20260614-1905 ~]#
6. lsof
[root@instance-20260614-1905 ~]# lsof -i :8088
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python3 7413 root 3u IPv4 30903 0t0 TCP *:radan-http (LISTEN)
curl 112296 root 4u IPv4 313382 0t0 TCP localhost:60758->localhost:radan-http (SYN_SENT)
curl 112297 root 4u IPv4 313381 0t0 TCP localhost:60752->localhost:radan-http (SYN_SENT)
curl 112298 root 4u IPv4 313380 0t0 TCP localhost:60746->localhost:radan-http (SYN_SENT)
curl 112299 root 4u IPv4 313383 0t0 TCP localhost:60762->localhost:radan-http (SYN_SENT)
[root@instance-20260614-1905 ~]#
7. strace
[root@instance-20260614-1905 ~]# sudo strace -c -p $(cat /tmp/bootcamp-load/target.pid 2>/dev/null || echo '<run before stop>')
strace: Process 7402 attached
^Cstrace: Process 7402 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
91.86 0.606314 488 1242 621 wait4
5.81 0.038332 61 621 clone
1.49 0.009845 2 4659 rt_sigprocmask
0.60 0.003971 2 1863 rt_sigaction
0.23 0.001544 2 621 rt_sigreturn
------ ----------- ----------- --------- --------- ----------------
100.00 0.660006 73 9006 621 total
8. ipcs
[root@instance-20260614-1905 ~]# ipcs -a
------ Message Queues --------
key msqid owner perms used-bytes messages
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0xe607dfb1 0 root 644 1048576 0
0x65c204d2 1 root 644 1048576 0
0x30809964 2 root 644 1048576 0
------ Semaphore Arrays --------
key semid owner perms nsems
0xda0f24f8 2 root 644 1
0xaaa29326 3 root 644 1
0x0af0d682 4 root 644 1
[root@instance-20260614-1905 ~]#
9. numastat
[root@instance-20260614-1905 ~]# numastat -m
Per-node system memory usage (in MBs):
Node 0 Total
--------------- ---------------
MemTotal 9480.82 9480.82
MemFree 7993.14 7993.14
MemUsed 1487.68 1487.68
SwapCached 0.00 0.00
Active 817.42 817.42
Inactive 467.84 467.84
Active(anon) 512.65 512.65
Inactive(anon) 0.00 0.00
Active(file) 304.77 304.77
Inactive(file) 467.84 467.84
Unevictable 9.40 9.40
Mlocked 9.40 9.40
Dirty 0.02 0.02
Writeback 64.02 64.02
FilePages 788.74 788.74
Mapped 149.32 149.32
AnonPages 502.34 502.34
Shmem 8.69 8.69
KernelStack 4.31 4.31
PageTables 7.66 7.66
SecPageTables 0.00 0.00
NFS_Unstable 0.00 0.00
Bounce 0.00 0.00
WritebackTmp 0.00 0.00
KReclaimable 33.27 33.27
Slab 94.36 94.36
SReclaimable 33.27 33.27
SUnreclaim 61.09 61.09
AnonHugePages 268.00 268.00
ShmemHugePages 0.00 0.00
ShmemPmdMapped 0.00 0.00
FileHugePages 76.00 76.00
FilePmdMapped 62.00 62.00
Unaccepted 0.00 0.00
HugePages_Total 0.00 0.00
HugePages_Free 0.00 0.00
HugePages_Surp 0.00 0.00
[root@instance-20260614-1905 ~]#
10. watch -d -n1 'numastat -m'
Every 1.0s: numastat -m instance-20260614-1905: Mon Aug 10 14:20:31 2026
Per-node system memory usage (in MBs):
Node 0 Total
--------------- ---------------
MemTotal 9480.82 9480.82
MemFree 7937.53 7937.53
MemUsed 1543.29 1543.29
SwapCached 0.00 0.00
Active 829.73 829.73
Inactive 511.38 511.38
Active(anon) 524.96 524.96
Inactive(anon) 0.00 0.00
Active(file) 304.77 304.77
Inactive(file) 511.38 511.38
Unevictable 9.40 9.40
Mlocked 9.40 9.40
Dirty 0.03 0.03
Writeback 64.00 64.00
FilePages 832.28 832.28
Mapped 152.86 152.86
AnonPages 515.71 515.71
Shmem 8.69 8.69
KernelStack 4.30 4.30
PageTables 7.74 7.74
SecPageTables 0.00 0.00
NFS_Unstable 0.00 0.00
Bounce 0.00 0.00
WritebackTmp 0.00 0.00
KReclaimable 33.49 33.49
Slab 94.92 94.92
SReclaimable 33.49 33.49
SUnreclaim 61.43 61.43
AnonHugePages 288.00 288.00
ShmemHugePages 0.00 0.00
ShmemPmdMapped 0.00 0.00
FileHugePages 76.00 76.00
FilePmdMapped 64.00 64.00
Unaccepted 0.00 0.00
HugePages_Total 0.00 0.00
HugePages_Free 0.00 0.00
HugePages_Surp 0.00 0.00
Top comments (0)