Update ipcs

This commit is contained in:
Shohei YOSHIDA 2025-08-05 11:30:57 +09:00
parent 0032bac859
commit 420a3d78c9
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
3 changed files with 18 additions and 15 deletions

View File

@ -28,25 +28,28 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for ipcs - show information on IPC facilities # Completion script for ipcs, util-linux 2.40.2 (https://github.com/util-linux/util-linux/)
# - show information on IPC facilities
# #
# Author: # Author:
# * Aditi Sharma (https://github.com/Aditi76117) # * Aditi Sharma (https://github.com/Aditi76117)
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
_arguments -s \ _arguments -s \
'-m[List shared memory segments]' \ '(-i --id)'{-i,--id}'[Show full details on just one resource element identified by id]:id' \
'-q[List message queues]' \ '(- *)'{-h,--help}'[Display help text and exit]' \
'-s[List semaphore arrays]' \ '(- *)'{-V,--version}'[Print version and exit]' \
'-a[List all facilities]' \ '(-m --shmems)'{-m,--shmems}'[Write information about active shared memory segments]' \
'-c[Show creator and owner]' \ '(-q --queues)'{-q,--queues}'[Write information about active message queues]' \
'-l[Show limits]' \ '(-s --semaphores)'{-s,--semaphores}'[Write information about active semaphore sets]' \
'-p[Show PIDs]' \ '(-a --all -s --semaphores -q --queues -m --shmems)'{-a,--all}'[Write information about all three resources]' \
'-t[Show times]' \ '(-c --creator)'{-c,--creator}'[Show creator and owner]' \
'-u[Show summary]' \ '(-l --limits)'{-l,--limits}'[Show resource limits]' \
'--human[Print sizes in human-readable format]' \ '(-p --pid)'{-p,--pid}'[Show PIDs of creator and last operator]' \
'--help[Display help message and exit]' \ '(-t --time)'{-t,--time}'[Write time information]' \
'--version[Display version information and exit]' '(-u --summary)'{-u,--summary}'[Show status summary]' \
'(--human -b --bytes)'{-b,--bytes}'[Print the sizes in bytes rather than in a human-readable format]' \
'(--human -b --bytes)--human[Print sizes in human-readable format]'
# Local Variables: # Local Variables:
# mode: Shell-Script # mode: Shell-Script

View File

@ -28,7 +28,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for ldattach 2.40.2(https://github.com/util-linux/util-linux/) # Completion script for ldattach, util-linux 2.40.2 (https://github.com/util-linux/util-linux/)
# - attach a line discipline to a serial line # - attach a line discipline to a serial line
# #
# Author: # Author:

View File

@ -28,7 +28,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for mcookie 2.40.2 (https://github.com/util-linux/util-linux) # Completion script for mcookie, util-linux 2.40.2 (https://github.com/util-linux/util-linux/)
# - generate random 128-bit hexadecimal numbers # - generate random 128-bit hexadecimal numbers
# #
# Author: # Author: