output of ipcs
Posted in 2012
Topics: General Discussion
Folks, IDs11.50FC8, Redhat Linux. Just wan to confirm. I believe when I run ipcs command to see locked memory segments of informix, BEFORE( while ago...) , it showed owner of "informix' in each line. But, right now, it only shows as locked by "root" user only? No "informix" user name there any more? ( see below) Thanks Frank [fqu@franklin perl]$ ipcs ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 17498114 root 644 80 2 0x00000000 17530884 root 644 16384 2 0x00000000 17563653 root 644 280 2 0x528d4803 17661960 root 666 561152 11 0x526f4803 31686667 root 666 561152 17 0x52794803 17858574 root 666 561152 17 0x52834803 29327375 root 666 561152 17 0x52974803 31588371 root 666 561152 16 0x52a14803 36831255 root 666 126976 17 0x00000000 19267624 root 666 126976 18 dest 0x52ab4803 22020139 root 666 126976 24 0x52b54803 24117295 root 666 126976 20 ------ Semaphore Arrays -------- key semid owner perms nsems 0x00000000 131076 root 666 52 0x00000000 16809994 root 666 52 0x00000000 524304 root 666 52 0x00000000 13631510 root 666 52 0x00000000 22282274 root 666 12 0x00000000 2490408 root 666 12 0x00000000 8192045 root 666 12 0x00000000 11141171 root 666 12 0x00000000 16613442 root 666 52 ------ Message Queues -------- key msqid owner perms used-bytes messages --f46d0444e9f172ba8e04b66dd11c
As a first guess, I would say the BEFORE ipcs list showed you the segments when yhe instance was started by the informix user. This time is started by root... Probably by svcadm or initd scripts. On Jan 14, 2012 6:25 AM, "FRANK" <yunyaoqu@gmail.com> wrote: > Folks, > > IDs11.50FC8, Redhat Linux. > > Just wan to confirm. > > I believe when I run ipcs command to see locked memory segments of > informix, BEFORE( while ago...) , it showed owner of "informix' in each > line. > > But, right now, it only shows as locked by "root" user only? No > "informix" user name there any more? ( see below) > > Thanks > Frank > > [fqu@franklin perl]$ ipcs > > ------ Shared Memory Segments -------- > key shmid owner perms bytes nattch status > 0x00000000 17498114 root 644 80 2 > 0x00000000 17530884 root 644 16384 2 > 0x00000000 17563653 root 644 280 2 > 0x528d4803 17661960 root 666 561152 11 > 0x526f4803 31686667 root 666 561152 17 > 0x52794803 17858574 root 666 561152 17 > 0x52834803 29327375 root 666 561152 17 > 0x52974803 31588371 root 666 561152 16 > 0x52a14803 36831255 root 666 126976 17 > 0x00000000 19267624 root 666 126976 18 dest > 0x52ab4803 22020139 root 666 126976 24 > 0x52b54803 24117295 root 666 126976 20 > > ------ Semaphore Arrays -------- > key semid owner perms nsems > 0x00000000 131076 root 666 52 > 0x00000000 16809994 root 666 52 > 0x00000000 524304 root 666 52 > 0x00000000 13631510 root 666 52 > 0x00000000 22282274 root 666 12 > 0x00000000 2490408 root 666 12 > 0x00000000 8192045 root 666 12 > 0x00000000 11141171 root 666 12 > 0x00000000 16613442 root 666 52 > > ------ Message Queues -------- > key msqid owner perms used-bytes messages > > --f46d0444e9f172ba8e04b66dd11c > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --20cf305495fd077d2704b670f94b
No. The informix is always started by informix, not root. On Fri, Jan 13, 2012 at 6:10 PM, Clifford Burton <cliff.dba@gmail.com>wrote: > As a first guess, I would say the BEFORE ipcs list showed you the segments > when yhe instance was started by the informix user. This time is started by > root... Probably by svcadm or initd scripts. > On Jan 14, 2012 6:25 AM, "FRANK" <yunyaoqu@gmail.com> wrote: > > > Folks, > > > > IDs11.50FC8, Redhat Linux. > > > > Just wan to confirm. > > > > I believe when I run ipcs command to see locked memory segments of > > informix, BEFORE( while ago...) , it showed owner of "informix' in each > > line. > > > > But, right now, it only shows as locked by "root" user only? No > > "informix" user name there any more? ( see below) > > > > Thanks > > Frank > > > > [fqu@franklin perl]$ ipcs > > > > ------ Shared Memory Segments -------- > > key shmid owner perms bytes nattch status > > 0x00000000 17498114 root 644 80 2 > > 0x00000000 17530884 root 644 16384 2 > > 0x00000000 17563653 root 644 280 2 > > 0x528d4803 17661960 root 666 561152 11 > > 0x526f4803 31686667 root 666 561152 17 > > 0x52794803 17858574 root 666 561152 17 > > 0x52834803 29327375 root 666 561152 17 > > 0x52974803 31588371 root 666 561152 16 > > 0x52a14803 36831255 root 666 126976 17 > > 0x00000000 19267624 root 666 126976 18 dest > > 0x52ab4803 22020139 root 666 126976 24 > > 0x52b54803 24117295 root 666 126976 20 > > > > ------ Semaphore Arrays -------- > > key semid owner perms nsems > > 0x00000000 131076 root 666 52 > > 0x00000000 16809994 root 666 52 > > 0x00000000 524304 root 666 52 > > 0x00000000 13631510 root 666 52 > > 0x00000000 22282274 root 666 12 > > 0x00000000 2490408 root 666 12 > > 0x00000000 8192045 root 666 12 > > 0x00000000 11141171 root 666 12 > > 0x00000000 16613442 root 666 52 > > > > ------ Message Queues -------- > > key msqid owner perms used-bytes messages > > > > --f46d0444e9f172ba8e04b66dd11c > > > > > > > > > > ******************************************************************************* > > Forum Note: Use "Reply" to post a response in the discussion forum. > > > > > > --20cf305495fd077d2704b670f94b > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --f46d044472a3ed2ef504b6724826