------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 131072 root 644 790528 2 dest
0x00000000 327682 root 644 98304 19 dest
0x00000e74 557060 bbs 660 1024 9
0x00000e70 589829 bbs 660 5517252 7
0x00000e6d 622598 bbs 660 11204 7
0x00001194 655367 bbs 660 4798384 7
0x00000e73 688136 bbs 660 14578200 0
0x00000e72 720905 bbs 660 224296 0
0x00002335 753674 bbs 660 60008 0
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000888 32768 bbs 664 0 0
有没问题?出现错误如下
[bbs@localhost bin]$ telnet localhost
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
Error! shmat 2 error! key = x.
Connection closed by foreign host.
[bbs@localhost bin]$
PS:bbsuid和bbsgid和devel.h中一样的,不知道为什么还出现这问题?
【 在 newer (牛2|想入九三学社) 的大作中提到: 】
: ipcs一下看看
--
修改:wwky FROM 218.197.158.*
FROM 218.197.158.*