- Linux
- OpenBSD
- FreeBSD
- Solaris
- bash/shell
- » ab
- » arp
- » arping
- » awk
- » bzip2, bunzip2, bzip2re...
- » chcase
- » chkconfig
- » chmod
- » chown
- » comm
- » convert
- » cat
- » cp
- » cpio
- » cryptsetup
- » curl
- » date
- » diff
- » dig
- » dumpe2fs
- » e2fsck(fsck.{ext2,ext3})
- » eval
- » exportfs
- » file
- » find
- » ftp
- » fuser
- » getfacl
- » grep, egrep, fgrep
- » grub
- » gzip, gunzip
- » hdparm
- » head
- » host
- » ifconfig
- » ifenslave
- » import
- » ionice
- » ip
- » ipcs, ipcrm
- » kill
- » ldconfig
- » ld
- » ldd
- » less
- » locale
- » locate
- » losetup
- » ls
- » lsmod
- » lsof
- » man
- » mke2fs(mkfs.{ext2,ext3})
- » mkinitrd
- » mknod
- » mkswap
- » modinfo
- » modprobe
- » mount
- » mtr
- » mv
- » mysql
- » mysqladmin
- » mysqldump
- » netstat
- » netstat-nat
- » nice
- » nc
- » nm
- » nslookup
- » objdump
- » openssl
- » parted
- » patch
- » perl
- » pg_dump
- » pidof
- » ping
- » pkg-config
- » ps
- » psql
- » rar
- » readelf
- » renice
- » rm
- » rmmod
- » route
- » rpcinfo
- » rpm
- » rsync
- » screen
- » sed
- » sendmail
- » seq
- » setfacl
- » sfdisk
- » showmount
- » shred
- » smartctl
- » smbclient
- » smbget
- » smbpasswd
- » socat
- » sort
- » sox
- » split
- » ssh
- » ssh-keygen
- » stat
- » stdbuf
- » strace
- » svn, svnadmin
- » systool
- » tail
- » tar
- » tcpdump
- » top
- » tr
- » tracepath
- » traceroute
- » tune2fs
- » udevcontrol, udevadm
- » unclutter
- » uniq
- » unzip
- » uuencode, uudecode
- » vim
- » vncviewer
- » vnstat
- » wc
- » wget
- » wput
- » xargs
- » xhost
- » xprop
- » xrandr
- » xwd
- » xxd
- » yum
- » zip, zip{cloak,note,split}
- KDE
- GTK
CONTENT
- CHANGES
Szukaj
#top ipcs-ipcrm¶
ipcs - report XSI interprocess communication facilities status
ipcrm - remove an XSI message queue, semaphore set, or shared memory segment identifier
Powiązane:
SYNOPSIS
ipcs [-qms][-a | -bcopt]
ipcrm [ -q msgid | -Q msgkey | -s semid | -S semkey | -m shmid | -M shmkey ] ...
ipcrm [ -q msgid | -Q msgkey | -s semid | -S semkey | -m shmid | -M shmkey ] ...
DESCRIPTION
ipcs [-qms][-a | -bcopt]
The ipcs facility supports the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines.
The ipcs utility accepts the following options:
The ipcs facility supports the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines.
The ipcs utility accepts the following options:
OPTIONS
-q
-m
-s
If -q, -m, or -s are specified, only information about those facilities shall be written. If none of these three are specified, information about all three shall be written subject to the following options:
-a
-b
-c
-o
-p
-t
Write information about active message queues.
-m
Write information about active shared memory segments.
-s
Write information about active semaphore sets.
If -q, -m, or -s are specified, only information about those facilities shall be written. If none of these three are specified, information about all three shall be written subject to the following options:
-a
Use all print options. (This is a shorthand notation for -b, -c, -o, -p, and -t.)
-b
Write information on maximum allowable size. (Maximum number of
bytes in messages on queue for message queues, size of segments
for shared memory, and number of semaphores in each set for
semaphores.)
bytes in messages on queue for message queues, size of segments
for shared memory, and number of semaphores in each set for
semaphores.)
-c
Write creator’s user name and group name; see below.
-o
Write information on outstanding usage. (Number of messages on queue and total number of bytes in messages on queue for message queues, and number of processes attached to shared memory segments.)
-p
Write process number information. (Process ID of the last process to send a message and process ID of the last process to receive a message on message queues, process ID of the creating process, and process ID of the last process to attach or detach on shared memory segments.)
-t
Write time information. (Time of the last control operation that changed the access permissions for all facilities, time of the last msgsnd() and msgrcv() operations on message queues, time of the last shmat() and shmdt() operations on shared memory, and time of the last semop() operation on semaphores.)
DESCRIPTION
ipcrm [ -q msgid | -Q msgkey | -s semid | -S semkey | -m shmid | -M shmkey ] ...
The ipcrm facility supports the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines.
The following options shall be supported:
The ipcrm facility supports the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines.
The following options shall be supported:
OPTIONS
-q msgid
-m shmid
-s semid
-Q msgkey
-M shmkey
-S semkey
Remove the message queue identifier msgid from the system and destroy the message queue and data structure associated with it.
-m shmid
Remove the shared memory identifier shmid from the system. The shared memory segment and data structure associated with it shall be destroyed after the last detach.
-s semid
Remove the semaphore identifier semid from the system and destroy the set of semaphores and data structure associated with it.
-Q msgkey
Remove the message queue identifier, created with key msgkey, from the system and destroy the message queue and data structure associated with it.
-M shmkey
Remove the shared memory identifier, created with key shmkey, from the system. The shared memory segment and data structure associated with it shall be destroyed after the last detach.
-S semkey
Remove the semaphore identifier, created with key semkey, from the system and destroy the set of semaphores and data structure associated with it.
EXAMPLES
ipcs -m
------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x52564801 753664 root 660 114192384 0 0x52564802 786433 root 660 33439744 0 0x52564803 819202 informix 660 8388608 0 0x52564804 851971 informix 660 8388608 0
ipcrm -m 753664 ipcrm -m 786433 ipcrm -m 819202 ipcrm -m 851971
Zmodyfikowany ostatnio: 2014/05/15 09:48:49 (10 lat temu),
textsize: 5,03 kB,
htmlsize: 5,95 kB
Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników