Sponsored Content
Full Discussion: share memory on linux
Operating Systems Linux Red Hat share memory on linux Post 302180938 by melanie_pfefer on Tuesday 1st of April 2008 02:01:17 PM
Old 04-01-2008
thanks for the replies.

ipcrm -m must be followed by shmid. how to get this id?

Also, I tried to set "kernel.shmseg" to 10 in /etc/sysctl.conf:

/sbin/sysctl -p
...
error: "kernel.shmseg" is an unknown key

Any idea how to set the kernel.shmseg?

I am using RHEL 4.
thanks
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mount Linux share onto Sco 5.0.6

I've got a Sco 5.0.6 box and an Ubuntu box on my network. i want to backup certain directories onto a share on the Ubuntu box. how do i mount a linux share onto the Sco box? (1 Reply)
Discussion started by: sall
1 Replies

2. Linux

how i can share the file between unix or linux in windows ??

hello everybody i have one quetion :( about how i can share my file in windows to use it in linux explane i have to opreating system windows xp and linux fedore core and unix ( sun solaris 10 ) and i want to open me file that is storege in windows <<< want to open it in unix or... (4 Replies)
Discussion started by: msn22
4 Replies

3. UNIX for Dummies Questions & Answers

share directory from linux to unix

hello,:b: I want to share a directory from Linux server to Unix server, i did it before for Unix servers only , first server: share -F nfs /backup second server: mount -F nfs 192.1.1.208:/backup / but i can't find share command in linux, we tried to use samba but it doesn't works. any... (6 Replies)
Discussion started by: dagigg
6 Replies

4. Red Hat

unable to mount windows share on linux 5.1

Hi, I am using redhat linux 5.1 - 64bit, using command mount -t cifs //192.192.192.192/SW/Ex /192.192.192.192 -o username=test I am getting below error. mount: block device //192.192.192.192/SW/Ex is write-protected, mounting read-only mount: cannot mount block device... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

5. Shell Programming and Scripting

help to access windows share from linux box

how to access windows share from a linux box windows machin is in different workgroup so how to pass credentials whil acessing a share from a script (2 Replies)
Discussion started by: robo
2 Replies

6. Shell Programming and Scripting

I just wanted to share this bash script for linux

If your Unix box doesn't support bash scripts then do not do the following. Create a file named version. type chmod 755 version and then copy and paste the code below into the file. Then type "mv version /bin" and presto, type version. A cool full hearty command. If you know more about you're Os... (3 Replies)
Discussion started by: Errigour
3 Replies

7. Red Hat

Samba share problem in Linux 6.4

Hi , In samba i have shared my home directory, but its showing as a printer. Not able to share data. $ smbclient -L 192.168.122.1 Enter priyank's password: Domain= OS= Server= Sharename Type Comment --------- ---- ------- shared_priyank Printer ... (3 Replies)
Discussion started by: Priy
3 Replies

8. Red Hat

How to determine share name of Linux server?

Hi, How to determine share name of Linux server ? OS version is RHL 6.5 Regards, Maddy (11 Replies)
Discussion started by: Maddy123
11 Replies

9. UNIX for Beginners Questions & Answers

Mounting Windows Share to Linux Server

Hi Folks - I need to mount a Windows Share to a Linux server. What is the best/easiest way to do this? Is this 'how-to' guide accurate: How to Share Files Between Windows and Linux Or is there a better method you could share? Thanks! (8 Replies)
Discussion started by: SIMMS7400
8 Replies
SYSCTL(8)                                                      System Administration                                                     SYSCTL(8)

NAME
sysctl - configure kernel parameters at runtime SYNOPSIS
sysctl [options] [variable[=value]] [...] sysctl -p [file or regexp] [...] DESCRIPTION
sysctl is used to modify kernel parameters at runtime. The parameters available are those listed under /proc/sys/. Procfs is required for sysctl support in Linux. You can use sysctl to both read and write sysctl data. PARAMETERS
variable The name of a key to read from. An example is kernel.ostype. The '/' separator is also accepted in place of a '.'. variable=value To set a key, use the form variable=value where variable is the key and value is the value to set it to. If the value contains quotes or characters which are parsed by the shell, you may need to enclose the value in double quotes. This requires the -w param- eter to use. -n, --values Use this option to disable printing of the key name when printing values. -e, --ignore Use this option to ignore errors about unknown keys. -N, --names Use this option to only print the names. It may be useful with shells that have programmable completion. -q, --quiet Use this option to not display the values set to stdout. -w, --write Use this option when you want to change a sysctl setting. -p[FILE], --load[=FILE] Load in sysctl settings from the file specified or /etc/sysctl.conf if none given. Specifying - as filename means reading data from standard input. Using this option will mean arguments to sysctl are files, which are read in the order they are specified. The file argument may be specified as regular expression. -a, --all Display all values currently available. --deprecated Include deprecated parameters to --all values listing. -b, --binary Print value without new line. --system Load settings from all system configuration files. /run/sysctl.d/*.conf /etc/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc/sysctl.conf -r, --pattern pattern Only apply settings that match pattern. The pattern uses extended regular expression syntax. -A Alias of -a -d Alias of -h -f Alias of -p -X Alias of -a -o Does nothing, exists for BSD compatibility. -x Does nothing, exists for BSD compatibility. -h, --help Display help text and exit. -V, --version Display version information and exit. EXAMPLES
/sbin/sysctl -a /sbin/sysctl -n kernel.hostname /sbin/sysctl -w kernel.domainname="example.com" /sbin/sysctl -p/etc/sysctl.conf /sbin/sysctl -a --pattern forward /sbin/sysctl -a --pattern forward$ /sbin/sysctl -a --pattern 'net.ipv4.conf.(eth|wlan)0.arp' /sbin/sysctl --system --pattern '^net.ipv6' DEPRECATED PARAMETERS
The base_reachable_time and retrans_time are deprecated. The sysctl command does not allow changing values of these parameters. Users who insist to use deprecated kernel interfaces should push values to /proc file system by other means. For example: echo 256 > /proc/sys/net/ipv6/neigh/eth0/base_reachable_time FILES
/proc/sys /etc/sysctl.conf SEE ALSO
sysctl.conf(5) regex(7) AUTHOR
George Staikos <staikos@0wned.org> REPORTING BUGS
Please send bug reports to <procps@freelists.org> procps-ng Jan 2012 SYSCTL(8)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy