lsipc

Tartalom

 

Adatok

Licenc:
Verziószám: util-linux 2.33.1 (Debian 10-ben)
Fejlesztő/tulajdonos: Ondrej Oprala

Rövid leírás:

Az lsipc linux parancs manual oldala és súgója | Linuxportál

 

 

Man oldal kimenet

man lsipc
LSIPC(1)                                User Commands                               LSIPC(1)

NAME
       lsipc - show information on IPC facilities currently employed in the system

SYNOPSIS
       lsipc [options]

DESCRIPTION
       lsipc  shows  information on the inter-process communication facilities for which the
       calling process has read access.

OPTIONS
       -i, --id id
              Show full details on just the one resource element identified by id.  This op‐
              tion  needs  to  be combined with one of the three resource options: -m, -q or
              -s.  It is possible to override the default output format for this option with
              the --list, --raw, --json or --export option.

       -g, --global
              Show  system-wide  usage and limits of IPC resources.  This option may be com‐
              bined with one of the three resource options: -m, -q or -s.  The default is to
              show information about all resources.

       -h, --help
              Display help text and exit.

       -V, --version
              Display version information and exit.

   Resource options
       -m, --shmems
              Write information about active shared memory segments.

       -q, --queues
              Write information about active message queues.

       -s, --semaphores
              Write information about active semaphore sets.

   Output formatting
       -c, --creator
              Show creator and owner.

       -e, --export
              Output data in the format of NAME=VALUE.

       -J, --json
              Use the JSON output format.

       -l, --list
              Use the list output format.  This is the default, except when --id is used.

       -n, --newline
              Display each piece of information on a separate line.

       --noheadings
              Do not print a header line.

       --notruncate
              Don't truncate output.

       -o, --output list
              Specify  which  output columns to print.  Use --help to get a list of all sup‐
              ported columns.

       -b, --bytes
              Print size in bytes rather than in human readable format.

       -r, --raw
              Raw output (no columnation).

       -t, --time
              Write time information.  The time of the last control operation  that  changed
              the  access permissions for all facilities, the time of the last msgsnd(2) and
              msgrcv(2) operations on message queues, the time  of  the  last  shmat(2)  and
              shmdt(2) operations on shared memory, and the time of the last semop(2) opera‐
              tion on semaphores.

       --time-format type
              Display dates in short, full or iso format.  The default is short,  this  time
              format is designed to be space efficient and human readable.

       -P, --numeric-perms
              Print numeric permissions in PERMS column.

EXIT STATUS
       0      if OK,

       1      if incorrect arguments specified,

       2      if a serious error occurs.

SEE ALSO
       ipcmk(1),  ipcrm(1),  msgrcv(2),  msgsnd(2), semget(2), semop(2), shmat(2), shmdt(2),
       shmget(2)

HISTORY
       The lsipc utility is inspired by the ipcs utility.

AUTHORS
       Ondrej Oprala ⟨ooprala@redhat.com⟩
       Karel Zak ⟨kzak@redhat.com⟩

AVAILABILITY
       The lsipc command is part of the util-linux  package  and  is  available  from  Linux
       Kernel Archive ⟨https://www.kernel.org/pub/linux/utils/util-linux/⟩.

util-linux                              November 2015                               LSIPC(1)

 

 

Súgó kimenet

lsipc --help
Súgó kimenet
...
...
Usage:
 lsipc [options]

Show information on IPC facilities.

Resource options:
 -m, --shmems      shared memory segments
 -q, --queues      message queues
 -s, --semaphores  semaphores
 -g, --global      info about system-wide usage (may be used with -m, -q and -s)
 -i, --id <id>     print details on resource identified by <id>

Options:
     --noheadings         don't print headings
     --notruncate         don't truncate output
     --time-format=<type> display dates in short, full or iso format
 -b, --bytes              print SIZE in bytes rather than in human readable format
 -c, --creator            show creator and owner
 -e, --export             display in an export-able output format
 -J, --json               use the JSON output format
 -n, --newline            display each piece of information on a new line
 -l, --list               force list output format (for example with --id)
 -o, --output[=<list>]    define the columns to output
 -P, --numeric-perms      print numeric permissions (PERMS column)
 -r, --raw                display in raw mode
 -t, --time               show attach, detach and change times

 -h, --help               display this help
 -V, --version            display version

Generic columns:
            KEY  Resource key
             ID  Resource ID
          OWNER  Owner's username or UID
          PERMS  Permissions
           CUID  Creator UID
          CUSER  Creator user
           CGID  Creator GID
         CGROUP  Creator group
            UID  User ID
           USER  User name
            GID  Group ID
          GROUP  Group name
          CTIME  Time of the last change

Shared-memory columns (--shmems):
           SIZE  Segment size
         NATTCH  Number of attached processes
         STATUS  Status
         ATTACH  Attach time
         DETACH  Detach time
        COMMAND  Creator command line
           CPID  PID of the creator
           LPID  PID of last user

Message-queue columns (--queues):
      USEDBYTES  Bytes used
           MSGS  Number of messages
           SEND  Time of last msg sent
           RECV  Time of last msg received
          LSPID  PID of the last msg sender
          LRPID  PID of the last msg receiver

Semaphore columns (--semaphores):
          NSEMS  Number of semaphores
          OTIME  Time of the last operation

Summary columns (--global):
       RESOURCE  Resource name
    DESCRIPTION  Resource description
          LIMIT  System-wide limit
           USED  Currently used
           USE%  Currently use percentage

For more details see lsipc(1)

 

Kapcsolódó tartalom

  •  

 

Címkék