Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ipcmk(1) [v7 man page]

IPCMK(1)							   User Commands							  IPCMK(1)

NAME
ipcmk - make various IPC resources SYNOPSIS
ipcmk [options] DESCRIPTION
ipcmk allows you to create shared memory segments, message queues, and semaphore arrays. OPTIONS
Resources can be specified with these options: -M, --shmem size Create a shared memory segment of size bytes. The size argument may be followed by the multiplicative suffixes KiB (=1024), MiB (=1024*1024), and so on for GiB, etc. (the "iB" is optional, e.g., "K" has the same meaning as "KiB") or the suffixes KB (=1000), MB (=1000*1000), and so on for GB, etc. -Q, --queue Create a message queue. -S, --semaphore number Create a semaphore array with number of elements. Other options are: -p, --mode mode Access permissions for the resource. Default is 0644. -V, --version Display version information and exit. -h, --help Display help text and exit. SEE ALSO
ipcrm(1), ipcs(1) AUTHOR
Hayden A. James <hayden.james@gmail.com> AVAILABILITY
The ipcmk 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 July 2014 IPCMK(1)

Check Out this Related Man Page

IPCMK(1)							   User Commands							  IPCMK(1)

NAME
ipcmk - make various IPC resources SYNOPSIS
ipcmk [options] DESCRIPTION
ipcmk allows you to create shared memory segments, message queues, and semaphore arrays. OPTIONS
Resources can be specified with these options: -M, --shmem size Create a shared memory segment of size bytes. The size argument may be followed by the multiplicative suffixes KiB (=1024), MiB (=1024*1024), and so on for GiB, etc. (the "iB" is optional, e.g., "K" has the same meaning as "KiB") or the suffixes KB (=1000), MB (=1000*1000), and so on for GB, etc. -Q, --queue Create a message queue. -S, --semaphore number Create a semaphore array with number of elements. Other options are: -p, --mode mode Access permissions for the resource. Default is 0644. -V, --version Display version information and exit. -h, --help Display help text and exit. SEE ALSO
ipcrm(1), ipcs(1) AUTHOR
Hayden A. James <hayden.james@gmail.com> AVAILABILITY
The ipcmk 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 July 2014 IPCMK(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mandrake & size

Hi all, Thanks to Merlin & Djtrippin for comments in another thread. Does anyone know of any issues with harddrive size and Mandrake 9.0? I have installed Mandrake (like a dream) on a 10gb drive but it refuses to go beyond the partition check on my 80gb unit. The 80 is new and I have... (5 Replies)
Discussion started by: onestepto
5 Replies

2. Linux

lp command with compress mode

I want to know whether lp command is having option for setting compess mode in linux.Is it possible to pass escape characters to lp command to set printing in compress mode. (3 Replies)
Discussion started by: zita
3 Replies

3. Programming

memory layout in C on linux

Hi, Does any one know what tool to use to visualize how is memory layed out for C on linux systems. I mean how much stack portion is used in functional call. Where exactly does the argument to function sit in memory ? I have written small program pasted below. But I am not able to infer... (3 Replies)
Discussion started by: parasa
3 Replies

4. Linux

maximun number of message queues

how to check the maximun number of message queues in current linux enviornment? is there any command ? (4 Replies)
Discussion started by: princelinux
4 Replies

5. UNIX for Dummies Questions & Answers

file size script

Hi, I am trying to write a script that will send an email to me if the size of a folder is below a certain amount. Does anyone know how to write the if (size < 1000) statement. I know how to send the email? I just need the code for determing a folder size. Thanks, Eric (5 Replies)
Discussion started by: ejbrever
5 Replies

6. Red Hat

I want to Learn Linux ?

dear friends I am new in linux and i want to learn linux in dos-mode (note in gui mode). Plz if you have any valuable link plz send me . i will really thankful for this anticipation. irfan ahmad (4 Replies)
Discussion started by: itlhr@pharmax.c
4 Replies

7. UNIX for Dummies Questions & Answers

file size different in unix and windows

I have a file on solaris/linux. ls -ls shows the logical size to be: 13292 However, when I transfer the file to my windows machine.. Rightclick->Properties shows the file size as: 13421 I wrote a small program on unix and windows that does a stat() on the file and reports the st_size... (6 Replies)
Discussion started by: the_learner
6 Replies

8. UNIX for Dummies Questions & Answers

How many UNIX engineers are necessary?

I was asked to maintain more than 160 UNIX servers which OS are Solaris, linux,susue,,etc by the president. But there is only one UNIX engineer in my section. I am sure I need at least 3 UNIX engineers to maintain more than 160 UNIX servers. What do you think how many engineers I need? (11 Replies)
Discussion started by: nrjhit
11 Replies

9. UNIX for Dummies Questions & Answers

Sunblade 1000

Hi everyone this is my first post I have used linux a couple of times and was impressed, so i bought an old sunblade 1000, just to learn something new. I cannot get the thing to work! I have tried to install solaris 10 and several types of linux. I am beginning to wonder if i was sold a... (3 Replies)
Discussion started by: Kawakaze
3 Replies

10. UNIX for Dummies Questions & Answers

Hello and I need help like in yesterday

I haven't been using linux very long( and when I say that its only been about 1 week for me) I was told to do the following: Create a Bash script that will copy all the files and subdirectories in one directory to a newly created directory. You may name the receiving directory anything you like.... (4 Replies)
Discussion started by: reecygee
4 Replies

11. Linux

Make file for shared objects

dear Experts, please help, actually i am trying to create a .so(shared object through make file through ld) i am not understaning how to proceed i have tried like through command like i can do it in 2 step like my progam :test2.c $gcc -fPIC -c test2.c $ld -shared -soname test2.so -o... (1 Reply)
Discussion started by: vin_pll
1 Replies

12. Programming

Memory sniffing in linux

I am trying to create an application that will be able to sniff memory of other applications. I am not completely new to systems programming but I am not sure how to go about this task. I understand that accomplishing this mainly require these steps. 1: Get a list of processes 2: Find the... (2 Replies)
Discussion started by: mosey
2 Replies

13. Shell Programming and Scripting

Case Study help

Create a Data file with below fields and “|” as delimitor (ac_bal.dat): A/c No, A/c name ,A/c balance. 1| Mani |1000.00 2| Vikram|1500.00 Create another file say (ac_bal.ctl) which file structure as Files name, record count ,total balances Ac_bal.dat|2|3500.00 Please... (1 Reply)
Discussion started by: Manikanth_V
1 Replies

14. SuSE

Compile failed due to 'out of memory'

Maybe increase swap space will help? How to do it? When I install suse 11 on this box, I remeber it shows the swap space is 2G, I didn't find it anywhere now... (5 Replies)
Discussion started by: fld2007
5 Replies

15. Programming

Linux Shell Piping w/Shared Memory

So I am pretty new to the linux environment, and I am trying to create a shell that uses multiple pipes, and I read online that piping using shared memory space is more efficient than using regular piping. However, I have zero clue how to use shared memory space with pipes. Has anyone done this... (1 Reply)
Discussion started by: Greg_MC
1 Replies