【裸奔吧linux】ipcs:提供關於進程間通信(ipc)的信息

NAME
       ipcs - provide information on ipc facilities
SYNOPSIS
       ipcs [-asmq] [-tclup]
       ipcs [-smq] -i id
       ipcs -h
DESCRIPTION
       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) (前面三個都會輸出)
       -i id  顯示指定id的具體信息.
       The output format may be specified as follows:
       -t     time 時間
       -p     pid 進程id
       -c     creator 創建者
       -l     limits 系統對(共享內存段/消息隊列/信號量數組)的限制
       -u     summary 使用統計/狀態

ipcs輸出內容有:
ipcs輸出內容

ipcs -i id -a 的相關輸出:
ipcs -i id -a 的相關輸出

ipcs -l 選項的輸出:
ipcs -l 選項

ipcs -u 選項的輸出:
ipcs -u 選項

拓展閱讀:
ipcrm [刪除一個…id: remove a message queue, semaphore set or shared memory id]
ipcmk[創建各種進程通信資源:create various ipc resources]

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章