Help for this page

Select Code to Download


  1. or download this
    ------ Shared Memory Segments --------
    key        shmid      owner      perms      bytes      nattch     stat
    +us
    0x00000000 98304      root       600        67108864   20         dest
    0x0052e2c1 65537      postgres   600        56         5
    0xf102ee77 131074     XXXXXXX    700        65535      0
    
  2. or download this
    use strict;
    use IPC::SysV qw(IPC_PRIVATE S_IRUSR S_IWUSR SHM_RDONLY);
    ...
    my $stat = ${shm}->stat;
    &fl_die("Could not stat shared memory segment.") unless defined(${stat
    +});
    my $concount = ${stat}->nattch;
    
  3. or download this
    0x00000000 393224     root       0          65535      0
    0x00000000 425993     root       0          65535      0
    ...
    0x00000000 524300     root       0          65535      0
    0x00000000 557069     root       0          65535      0
    0x00000000 589838     root       0          65535      0