ພາສາອັງກິດພາສາຝຣັ່ງແອສປາໂຍນ

Ad


OnWorks favicon

ipcsposix - Online in the Cloud

Run ipcsposix in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ipcsposix that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

ໂຄງການ:

NAME


ipcs — report XSI interprocess communication facilities status

ສະຫຼຸບສັງລວມ


ipcs [−qms] [−a|−bcopt]

ລາຍລະອຽດ


ໄດ້ ipcs utility shall write information about active interprocess communication
ສິ່ງ ອຳ ນວຍຄວາມສະດວກ.

Without options, information shall be written in short format for message queues, shared
memory segments, and semaphore sets that are currently active in the system. Otherwise,
the information that is displayed is controlled by the options specified.

OPTIONS


ໄດ້ ipcs ຜົນປະໂຫຍດຈະຕ້ອງສອດຄ່ອງກັບປະລິມານຄໍານິຍາມພື້ນຖານຂອງ POSIX.1-2008, ສ່ວນ
12.2, ຜົນປະໂຫຍດ syntax ຄູ່ມືແນະນໍາ.

ໄດ້ ipcs utility accepts the following options:

−q ຂຽນຂໍ້ມູນກ່ຽວກັບຄິວຂໍ້ຄວາມທີ່ມີການເຄື່ອນໄຫວ.

−ມ ຂຽນຂໍ້ມູນກ່ຽວກັບພາກສ່ວນຄວາມຊົງຈໍາທີ່ໃຊ້ຮ່ວມກັນ.

−ສ ຂຽນຂໍ້ມູນກ່ຽວກັບຊຸດ Semalt ທີ່ໃຊ້ວຽກ.

If −q, −ມ, ຫຼື −ສ 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:

−ກ Use all print options. (This is a shorthand notation for −ຂ, −ຄ, −o, -ປ, ແລະ
-t.)

−ຂ 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.)

−ຄ 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.)

-ປ 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() ແລະ msgrcv()
operations on message queues, time of the last shmat() ແລະ shmdt() operations on
shared memory, and time of the last ເຊມປ() operation on semaphores.)

ດໍາເນີນງານ


ບໍ່ມີ.

STDIN


ບໍ່​ໄດ້​ນໍາ​ໃຊ້.

ປັດໄຈນໍາເຂົ້າ ເອກະສານ


* The group database

* The user database

ENVIRONMENT ຄວາມຮັບຜິດຊອບ


ຕົວແປສະພາບແວດລ້ອມຕໍ່ໄປນີ້ຈະສົ່ງຜົນກະທົບຕໍ່ການປະຕິບັດ ipcs:

ພາສາ ໃຫ້ຄ່າເລີ່ມຕົ້ນສໍາລັບຕົວແປສາກົນທີ່ບໍ່ໄດ້ຕັ້ງ ຫຼື
null. (ເບິ່ງປະລິມານຄໍານິຍາມພື້ນຖານຂອງ POSIX.1-2008, ສ່ວນ 8.2,
Internationalization Variables ​ເພື່ອ​ຄວາມ​ກ້າວໜ້າ​ຂອງ​ການ​ຫັນ​ເປັນ​ສາກົນ
ຕົວແປທີ່ໃຊ້ເພື່ອກໍານົດຄ່າຂອງປະເພດທ້ອງຖິ່ນ.)

LC_ALL ຖ້າຕັ້ງເປັນຄ່າສະຕຣິງທີ່ບໍ່ຫວ່າງເປົ່າ, ລົບລ້າງຄ່າຂອງອັນອື່ນທັງໝົດ
ຕົວແປສາກົນ.

LC_CTYPE ກໍານົດທ້ອງຖິ່ນສໍາລັບການຕີຄວາມລໍາດັບຂອງ bytes ຂອງຂໍ້ມູນຂໍ້ຄວາມ
ເປັນຕົວອັກສອນ (ຕົວຢ່າງ, single-byte ກົງກັນຂ້າມກັບ multi-byte ຕົວອັກສອນໃນ
ການໂຕ້ຖຽງ).

LC_MESSAGES
ກໍານົດທ້ອງຖິ່ນທີ່ຄວນຈະຖືກນໍາໃຊ້ເພື່ອຜົນກະທົບຕໍ່ຮູບແບບແລະເນື້ອໃນຂອງ
ຂໍ້ຄວາມການວິນິໄສທີ່ຂຽນເປັນຄວາມຜິດພາດມາດຕະຖານ.

NLSPATH ກໍານົດສະຖານທີ່ຂອງລາຍການຂໍ້ຄວາມສໍາລັບການປະມວນຜົນຂອງ LC_MESSAGES.

TZ Determine the timezone for the date and time strings written by ipcsທີ່ຢູ່ ຖ້າຫາກວ່າ TZ is
ບໍ່ໄດ້ຕັ້ງ ຫຼື null, ເຂດເວລາເລີ່ມຕົ້ນທີ່ບໍ່ໄດ້ລະບຸຈະຖືກໃຊ້.

ASYNCHRONOUS ເຫດການ


ເລີ່ມຕົ້ນ.

STDOUT


An introductory line shall be written with the format:

"IPC ສະຖານະພາບ ຈາກ %s as of %s\n", <ແຫຼ່ງ>, <ວັນ>

ຢູ່ໃສແຫຼ່ງ> indicates the source used to gather the statistics and <ວັນ> is the
information that would be produced by the ວັນ command when invoked in the POSIX locale.

ໄດ້ ipcs utility then shall create up to three reports depending upon the −q, −ມ, ແລະ −ສ
options. The first report shall indicate the status of message queues, the second report
shall indicate the status of shared memory segments, and the third report shall indicate
the status of semaphore sets.

If the corresponding facility is not installed or has not been used since the last reboot,
then the report shall be written out in the format:

"%s ສະຖານທີ່ ບໍ່ in system.\n", <ສະຖານທີ່>

ຢູ່ໃສສະຖານທີ່> ແມ່ນ ຂໍ້ຄວາມ ຄິວ, ແບ່ງປັນ ຫນ່ວຍຄວາມຈໍາ, ຫຼື ເຊມໂຟຣ, as appropriate. If the
facility has been installed and has been used since the last reboot, column headings
separated by one or more <space> characters and followed by a <newline> shall be written
as indicated below followed by the facility name written out using the format:

"%s:\n", <ສະຖານທີ່>

ຢູ່ໃສສະຖານທີ່> ແມ່ນ ຂໍ້ຄວາມ ຄິວ, ແບ່ງປັນ ຫນ່ວຍຄວາມຈໍາ, ຫຼື Semaphores, as appropriate. On the
second and third reports the column headings need not be written if the last column
headings written already provide column headings for all information in that report.

The column headings provided in the first column below and the meaning of the information
in those columns shall be given in order below; the letters in parentheses indicate the
options that shall cause the corresponding column to appear; ``all'' means that the column
shall always appear. Each column is separated by one or more <space> characters. Note that
these options only determine what information is provided for each report; they do not
determine which reports are written.

T (all) Type of facility:

q Message queue.

m Shared memory segment.

s Semaphore.

This field is a single character written using the format %c.

ID (all) The identifier for the facility entry. This field shall be written using the
ຮູບແບບ %d.

KEY (all) The key used as an argument to msgget( ), semget(), or shmget() to create the
facility entry.

ຫມາຍ​ເຫດ​: The key of a shared memory segment is changed to IPC_PRIVATE when
the segment has been removed until all processes attached to the
segment detach it.

This field shall be written using the format 0x%x.

MODE (all) The facility access modes and flags. The mode shall consist of 11 characters
that are interpreted as follows.

The first character shall be:

S If a process is waiting on a msgsnd() operation.

− If the above is not true.

The second character shall be:

R If a process is waiting on a msgrcv() operation.

C or − If the associated shared memory segment is to be cleared when the
first attach operation is executed.

− If none of the above is true.

The next nine characters shall be interpreted as three sets of three bits
each. The first set refers to the owner's permissions; the next to permissions
of others in the usergroup of the facility entry; and the last to all others.
Within each set, the first character indicates permission to read, the second
character indicates permission to write or alter the facility entry, and the
last character is a minus-sign ('−').

The permissions shall be indicated as follows:

r If read permission is granted.

w If write permission is granted.

a If alter permission is granted.

− If the indicated permission is not granted.

The first character following the permissions specifies if there is an
alternate or additional access control method associated with the facility. If
there is no alternate or additional access control method associated with the
facility, a single <space> shall be written; otherwise, another printable
character is written.

OWNER (all) The user name of the owner of the facility entry. If the user name of the
owner is found in the user database, at least the first eight column positions
of the name shall be written using the format %s. Otherwise, the user ID of
the owner shall be written using the format %d.

GROUP (all) The group name of the owner of the facility entry. If the group name of the
owner is found in the group database, at least the first eight column
positions of the name shall be written using the format %s. ຖ້າບໍ່ດັ່ງນັ້ນ, ໄດ້
group ID of the owner shall be written using the format %d.

The following nine columns shall be only written out for message queues:

CREATOR (a,c)
The user name of the creator of the facility entry. If the user name of the
creator is found in the user database, at least the first eight column
positions of the name shall be written using the format %s. ຖ້າບໍ່ດັ່ງນັ້ນ, ໄດ້
user ID of the creator shall be written using the format %d.

CGROUP (a,c)
The group name of the creator of the facility entry. If the group name of the
creator is found in the group database, at least the first eight column
positions of the name shall be written using the format %s. ຖ້າບໍ່ດັ່ງນັ້ນ, ໄດ້
group ID of the creator shall be written using the format %d.

CBYTES (a,o)
The number of bytes in messages currently outstanding on the associated
message queue. This field shall be written using the format %d.

QNUM (a,o) The number of messages currently outstanding on the associated message queue.
This field shall be written using the format %d.

QBYTES (a,b)
The maximum number of bytes allowed in messages outstanding on the associated
message queue. This field shall be written using the format %d.

LSPID (a,p) The process ID of the last process to send a message to the associated queue.
This field shall be written using the format:

"%d", <pid>

ຢູ່ໃສpid> is 0 if no message has been sent to the corresponding message
queue; otherwise, <pid> shall be the process ID of the last process to send a
message to the queue.

LRPID (a,p) The process ID of the last process to receive a message from the associated
queue. This field shall be written using the format:

"%d", <pid>

ຢູ່ໃສpid> is 0 if no message has been received from the corresponding
message queue; otherwise, <pid> shall be the process ID of the last process to
receive a message from the queue.

STIME (a,t) The time the last message was sent to the associated queue. If a message has
been sent to the corresponding message queue, the hour, minute, and second of
the last time a message was sent to the queue shall be written using the
ຮູບແບບ %d:%2.2d:%2.2d. Otherwise, the format " no-entry" ຈະຖືກຂຽນ.

RTIME (a,t) The time the last message was received from the associated queue. If a
message has been received from the corresponding message queue, the hour,
minute, and second of the last time a message was received from the queue
shall be written using the format %d:%2.2d:%2.2d. Otherwise, the format " ບໍ່-
entry" ຈະຖືກຂຽນ.

The following eight columns shall be only written out for shared memory segments.

CREATOR (a,c)
The user of the creator of the facility entry. If the user name of the creator
is found in the user database, at least the first eight column positions of
the name shall be written using the format %s. Otherwise, the user ID of the
creator shall be written using the format %d.

CGROUP (a,c)
The group name of the creator of the facility entry. If the group name of the
creator is found in the group database, at least the first eight column
positions of the name shall be written using the format %s. ຖ້າບໍ່ດັ່ງນັ້ນ, ໄດ້
group ID of the creator shall be written using the format %d.

NATTCH (a,o)
The number of processes attached to the associated shared memory segment. This
field shall be written using the format %d.

SEGSZ (a,b) The size of the associated shared memory segment. This field shall be written
using the format %d.

CPID (a,p) The process ID of the creator of the shared memory entry. This field shall be
written using the format %d.

LPID (a,p) The process ID of the last process to attach or detach the shared memory
segment. This field shall be written using the format:

"%d", <pid>

ຢູ່ໃສpid> is 0 if no process has attached the corresponding shared memory
segment; otherwise, <pid> shall be the process ID of the last process to
attach or detach the segment.

ATIME (a,t) The time the last attach on the associated shared memory segment was
completed. If the corresponding shared memory segment has ever been attached,
the hour, minute, and second of the last time the segment was attached shall
be written using the format %d:%2.2d:%2.2d. Otherwise, the format " no-entry"
ຈະຖືກຂຽນ.

DTIME (a,t) The time the last detach on the associated shared memory segment was
completed. If the corresponding shared memory segment has ever been detached,
the hour, minute, and second of the last time the segment was detached shall
be written using the format %d:%2.2d:%2.2d. Otherwise, the format " no-entry"
ຈະຖືກຂຽນ.

The following four columns shall be only written out for semaphore sets:

CREATOR (a,c)
The user of the creator of the facility entry. If the user name of the creator
is found in the user database, at least the first eight column positions of
the name shall be written using the format %s. Otherwise, the user ID of the
creator shall be written using the format %d.

CGROUP (a,c)
The group name of the creator of the facility entry. If the group name of the
creator is found in the group database, at least the first eight column
positions of the name shall be written using the format %s. ຖ້າບໍ່ດັ່ງນັ້ນ, ໄດ້
group ID of the creator shall be written using the format %d.

NSEMS (a,b) The number of semaphores in the set associated with the semaphore entry. This
field shall be written using the format %d.

OTIME (a,t) The time the last semaphore operation on the set associated with the semaphore
entry was completed. If a semaphore operation has ever been performed on the
corresponding semaphore set, the hour, minute, and second of the last
semaphore operation on the semaphore set shall be written using the format
%d:%2.2d:%2.2d. Otherwise, the format " no-entry" ຈະຖືກຂຽນ.

The following column shall be written for all three reports when it is requested:

CTIME (a,t) The time the associated entry was created or changed. The hour, minute, and
second of the time when the associated entry was created shall be written
using the format %d:%2.2d:%2.2d.

ສະດຸດ


ຄວາມຜິດພາດມາດຕະຖານຈະຖືກນໍາໃຊ້ສໍາລັບຂໍ້ຄວາມວິນິດໄສເທົ່ານັ້ນ.

OUTPUT ເອກະສານ


ບໍ່ມີ.

ອະທິບາຍ ລາຍລະອຽດ


ບໍ່ມີ.

ອອກ STATUS


ຄ່າທາງອອກຕໍ່ໄປນີ້ຈະຖືກສົ່ງຄືນ:

0 ສໍາເລັດສົບຜົນສໍາເລັດ.

>0 ເກີດຄວາມຜິດພາດຂຶ້ນ.

ຂໍ້ສັງເກດ OF ຄວາມຜິດພາດ


ເລີ່ມຕົ້ນ.

ໄດ້ ດັ່ງຕໍ່ໄປນີ້ ພາກສ່ວນ ມີ ຂໍ້ມູນ.

ຄໍາຮ້ອງສະຫມັກ ການນໍາໃຊ້


ສິ່ງຕ່າງໆສາມາດປ່ຽນແປງໄດ້ໃນຂະນະທີ່ ipcs is running; the information it gives is guaranteed to be
accurate only when it was retrieved.

ຕົວຢ່າງ


ບໍ່ມີ.

ສະຖານທີ່


ບໍ່ມີ.

ອະນາຄົດ DIRECTIONS


ບໍ່ມີ.

Use ipcsposix online using onworks.net services


ເຊີບເວີ ແລະສະຖານີເຮັດວຽກຟຣີ

ດາວໂຫຼດແອັບ Windows ແລະ Linux

Linux ຄຳ ສັ່ງ

  • 1
    aarch64-linux-gnu-gnatbind
    aarch64-linux-gnu-gnatbind
    gnat, gnatbind, gnatbl, gnatchop,
    gnatfind, gnathtml, gnatkr, gnatlink,
    gnatls, gnatmake, gnatprep, gnatpsta,
    gnatpsys, gnatxref - ກ່ອງເຄື່ອງມື GNAT
    ລາຍລະອຽດ: ທ...
    ແລ່ນ aarch64-linux-gnu-gnatbind
  • 2
    aarch64-linux-gnu-gnatchop-5
    aarch64-linux-gnu-gnatchop-5
    gnat, gnatbind, gnatbl, gnatchop,
    gnatfind, gnathtml, gnatkr, gnatlink,
    gnatls, gnatmake, gnatprep, gnatpsta,
    gnatpsys, gnatxref - ກ່ອງເຄື່ອງມື GNAT
    ລາຍລະອຽດ: ທ...
    ແລ່ນ aarch64-linux-gnu-gnatchop-5
  • 3
    cpupower-idle-info
    cpupower-idle-info
    cpupower idle-info - Utility to
    ດຶງຂໍ້ມູນ CPU kernel idle
    SYNTAX: cpupower [ -c cpulist ]
    idle-info [ຕົວເລືອກ] DESCRIPTION: ເຄື່ອງມື
    ເຊິ່ງພິມອອກ p...
    ດໍາເນີນການ cpupower-idle-info
  • 4
    cpupower-idle-set
    cpupower-idle-set
    cpupower idle-set - ປະໂຫຍດທີ່ຈະຕັ້ງ cpu
    ຕົວເລືອກ kernel ສະເພາະຂອງລັດ idle
    SYNTAX: cpupower [ -c cpulist ]
    idle-info [ທາງເລືອກ] DESCRIPTION: The
    cpupower idle-se...
    ແລ່ນ cpupower-idle-set
  • 5
    g.mapsetsgrass
    g.mapsetsgrass
    g.mapsets - ດັດແກ້/ພິມຜູ້ໃຊ້
    ເສັ້ນທາງການຊອກຫາແຜນທີ່ປະຈຸບັນ. ຜົນກະທົບຕໍ່
    ຜູ້ໃຊ້ເຂົ້າເຖິງຂໍ້ມູນທີ່ມີຢູ່ພາຍໃຕ້
    ແຜນ​ທີ່​ອື່ນໆ​ໃນ​ສະ​ຖານ​ທີ່​ປະ​ຈຸ​ບັນ​. ...
    ແລ່ນ g.mapsetsgrass
  • 6
    g.messagegrass
    g.messagegrass
    g.message - ພິມຂໍ້ຄວາມ, ເຕືອນ,
    ຂໍ້​ມູນ​ຄວາມ​ຄືບ​ຫນ້າ​, ຫຼື​ຄວາມ​ຜິດ​ພາດ​ຕາຍ​ໃນ​
    ວິທີການຫຍ້າ. ໂມດູນນີ້ຄວນຈະຖືກນໍາໃຊ້ໃນ
    scripts ສໍາລັບຂໍ້ຄວາມທີ່ໃຫ້ບໍລິການກັບຜູ້ໃຊ້.
    ກະແຈ...
    ແລ່ນ g.messagegrass
  • ເພີ່ມເຕີມ »

Ad