我用./miscd flush bbs用户
-bash-3.00$ cd bin
-bash-3.00$ ./miscd flush
-bash-3.00$ ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000e74 950273 bbs 660 1024 0
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
0x00000888 98304 bbs 664 0 0
ipcs -m | awk '$0~/bbs/ {system(sprintf("ipcrm shm %s",$2));}'
-bash-3.00$ ipcs -m | awk '$0~/bbs/ {system(sprintf("ipcrm shm %s",$2));}
'
resource(s) deleted
ipcs -q | awk '$0~/bbs/ {system(sprintf("ipcrm -q %s",$2));}'
su - root
ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 589824 root 600 524288 15 dest
0x00000e6d 229378 root 660 574404 0
0x00000e71 294916 root 660 99208 0
0x00000e73 360453 root 660 5478200 0
0x00000e72 393222 root 660 84296 0
0x00001194 425991 root 660 4798384 0
------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 1638400 apache 600 1
0x00000000 1671169 apache 600 1
0x00000000 1703938 apache 600 1
0x00000000 1736707 apache 600 1
0x00000000 1769476 apache 600 1
0x00000000 1802245 apache 600 1
0x00000000 1835014 apache 600 1
0x00000000 1867783 apache 600 1
------ Message Queues --------
key msqid owner perms used-bytes messages
大哥什么miscd 必须用root启动
【 在 atppp (Big Mouse) 的大作中提到: 】
: 你用root执行,把ipcs的执行结果贴出来啊。我很不厚道的,我不信没了啊。
: 哪里?不可能的
--
FROM 59.66.189.*