弱弱的问一下,关于共享内存

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
rem1x
帖子: 29
注册时间: 2007-02-01 13:18

弱弱的问一下,关于共享内存

#1

帖子 rem1x » 2007-11-17 15:31

不知道发哪里,暂时就这里了...

OS:ubuntu 7.10

运行ipcs -m的时候,发现系统里好多的共享内存,但key都是0x00000000,大家也是这样的吗?
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 777 122880 2
0x00000000 1048577 rem1x 600 393216 2 dest
0x00000000 7798786 root 777 4096 2
0x00000000 229379 root 777 4096 2
0x00000000 262148 root 777 4096 2
0x00000000 294917 rem1x 600 393216 2 dest
0x00000000 327686 root 777 4096 2
0x00000000 360455 rem1x 600 393216 2 dest
0x00000000 393224 rem1x 600 393216 2 dest
0x00000000 425993 rem1x 600 393216 2 dest
0x00000000 458762 rem1x 600 393216 2 dest
0x00000000 491531 root 777 4096 2
0x00000000 524300 root 777 4096 2
0x00000000 557069 root 777 4096 2
0x00000000 589838 root 777 4096 2
0x00000000 622607 root 777 4096 2
0x00000000 655376 root 777 4096 2
0x00000000 688145 root 777 4096 2
0x00000000 720914 root 777 4096 2
0x00000000 753683 root 777 4096 2
0x00000000 786452 rem1x 600 393216 2 dest
0x00000000 819221 root 777 4096 2
0x00000000 851990 root 777 4096 2
0x00000000 884759 root 777 4096 2
0x00000000 917528 root 777 4096 2
0x00000000 950297 root 777 4096 2
0x00000000 983066 rem1x 600 393216 2 dest
0x00000000 1015835 rem1x 600 393216 2 dest
0x00000000 7995420 rem1x 666 235520 1 dest
0xcbc384f8 6946846 rem1x 660 64528 0
0x00000000 1212447 rem1x 600 393216 2 dest
0x00000000 1245216 rem1x 600 393216 2 dest
0x00000000 1376289 root 777 4096 2
0x00000000 1409058 root 777 4096 2
0x00000000 7962659 root 777 4096 2
0x00000000 2555940 root 777 4096 2
0x00000000 1638437 rem1x 600 393216 2 dest
0x00000000 1671206 rem1x 600 393216 2 dest
0x00000000 7667759 root 777 4096 2
0x00000000 2162736 root 777 4096 2
0x00000000 2424881 root 777 4096 2
0x00000000 2981938 rem1x 600 393216 2 dest
0x00000000 3014707 rem1x 600 12288 2 dest
0x00000000 7733300 root 777 4096 2
0x00000000 3047477 rem1x 600 393216 2 dest
0x00000000 3080246 rem1x 600 12288 2 dest
0x00000000 3113015 rem1x 600 393216 2 dest
0x00000000 3145784 rem1x 600 12288 2 dest
0x00000000 6586429 root 777 4096 2
feixu911
帖子: 53
注册时间: 2006-04-21 18:31

#2

帖子 feixu911 » 2007-11-18 16:11

我的没有这么多的呀

代码: 全选

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 0          root      600        655360     2                       
0x00000000 98305      huhb04    600        393216     2          dest         
0x00000000 131074     huhb04    600        393216     2          dest         
0x00000000 688131     huhb04    600        393216     2          dest         
0x00000000 196612     huhb04    600        393216     2          dest         
0x00000000 229381     huhb04    600        393216     2          dest         
0x00000000 262150     huhb04    600        393216     2          dest         
0x00000000 294919     huhb04    600        393216     2          dest         
0x00000000 327688     huhb04    600        393216     2          dest         
0x00000000 393225     huhb04    600        393216     2          dest         
0x00000000 425994     huhb04    600        393216     2          dest         
0x00000000 458763     huhb04    600        393216     2          dest         
0x00000000 491532     huhb04    600        393216     2          dest         
0x00000000 524301     huhb04    600        393216     2          dest         
0x00000000 720910     huhb04    600        393216     2          dest         
0x00000000 983055     huhb04    666        768000     2                   

头像
core
帖子: 209
注册时间: 2007-08-17 13:00

#3

帖子 core » 2007-11-22 16:50

我的和你的系统不一样
没有那么多
头像
yiding_he
帖子: 2677
注册时间: 2006-10-25 18:10
来自: 长沙
联系:

#4

帖子 yiding_he » 2007-11-22 16:55

这个命令是干什么的?
回复