Linux/Unux ipcs command

NAME ipcs – provide information on ipc facilitiesSYNOPSIS ipcs [ -asmq ] [ -tclup ] ipcs [ -smq ] -i id ipcs -hDESCRIPTION ipcs provides information on the ipc facilities for which the calling process has read access. The -i option allows a specific resource id to be specified. Only information on this id will be printed. Resources may be specified as follows: -m shared memory segments -q message queues -s semaphore arrays -a all (this is the default) The output format may be specified as follows: -t time -p pid -c creator -l limits -u summary[root@netus221 ~]# ipcs—— Shared Memory Segments ——–key shmid owner perms bytes nattch status0x74007313 393216 root 600 4 0—— Semaphore Arrays ——–key semid owner perms nsems0xa100f6c2 163840 root 666 2—— Message Queues ——–key msqid owner perms used-bytes messages0x0100f741 0 root 0 0 0[root@netus221 ~]# ipcs -u—— Shared Memory Status ——–segments allocated 1pages allocated 1pages resident 1pages swapped 0Swap performance: 0 attempts 0 successes—— Semaphore Status ——–used arrays = 1allocated semaphores = 2—— Messages: Status ——–allocated queues = 1used headers = 0used space = 0 bytes[root@netus221 ~]# ipcs -hipcs provides information on ipc facilities for which you have read access.Resource Specification: -m : shared_mem -q : messages -s : semaphores -a : all (default)Output Format: -t : time -p : pid -c : creator -l : limits -u : summary-i id [-s -q -m] : details on resource identified by idusage : ipcs -asmq -tclup ipcs [-s -m -q] -i id ipcs -h for help.[root@netus221 ~]#

Share your knowledge ..

唯有斯人面上簌簌流下的,是点点无声无行的热泪。

Linux/Unux ipcs command

相关文章:

你感兴趣的文章:

标签云: