Database Reference
In-Depth Information
0x00000000 294916 oracle 600 393216 2 dest
0x00000000 327685 oracle 600 393216 2 dest
0x00000000 360454 oracle 600 393216 2 dest
0x00000000 393223 oracle 600 393216 2 dest
..
0x00000000 20316188 oracle 600 376320 2 dest
0x00000000 15597597 oracle 777 1080352 2 dest
0x00000000 20217886 oracle 600 384000 2 dest
0x00000000 19169311 oracle 777 5889900 2 dest
0x00000000 20480032 oracle 600 393216 2 dest
0x00000000 20414497 oracle 600 800000 2 dest
0x00000000 20578340 oracle 600 393216 2 dest
0x00000000 35127333 oracle 777 5369964 2 dest
------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 0 root 600 1
0x00000000 65537 root 600 1
0xdd3adabd 131074 oracle 600 1
0x164d52ec 1245187 oracle 640 152
0x164d52ed 1277956 oracle 640 152
0x164d52ee 1310725 oracle 640 152
As you can see, the permissions on “shared” memory are tightening as much of it has memory permissions that
cannot be read by others with permissions of 600. Oracle memory is getting tighter. But if you are root, then you can
do the following to read system memory:
hexdump -c /dev/mem
Or to be a bit more precise, let's read the memory used by an Oracle database, instance. First, let's find the
process ID for Oracle by grep'ing for pmon:
[root@ol6 ~]# ps -ef | grep pmon
oracle 12985 1 0 00:47 ? 00:00:07 ora_pmon_orcl
root 23398 23325 0 18:48 pts/5 00:00:00 grep pmon
Then we start gdb with that PID:
[root@ol6 ~]# gdb --pid 12985
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 12985
Reading symbols from /u01/app/oracle/product/12.1.0/dbhome_1/bin/oracle...(no debugging symbols
found)...done.
Search WWH ::




Custom Search