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
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
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
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
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
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
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
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
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
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) SYSCTL(8)
NAME
sysctl - configure kernel parameters at runtime
SYNOPSIS
sysctl [-n] [-e] variable ...
sysctl [-n] [-e] [-q] -w variable=value ...
sysctl [-n] [-e] [-q] -p [filename]
sysctl [-n] [-e] -a
sysctl [-n] [-e] -A
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 Use this option to disable printing of the key name when printing values.
-e Use this option to ignore errors about unknown keys.
-N Use this option to only print the names. It may be useful with shells that have programmable completion.
-q Use this option to not display the values set to stdout.
-w Use this option when you want to change a sysctl setting.
-p Load in sysctl settings from the file specified or /etc/sysctl.conf if none given. Specifying - as filename means reading data from
standard input.
-a Display all values currently available.
-A Display all values currently available in table form.
EXAMPLES
/sbin/sysctl -a
/sbin/sysctl -n kernel.hostname
/sbin/sysctl -w kernel.domainname="example.com"
/sbin/sysctl -p /etc/sysctl.conf
FILES
/proc/sys
/etc/sysctl.conf
SEE ALSO
sysctl.conf(5)
BUGS
The -A parameter behaves just as -a does.
AUTHOR
George Staikos, <staikos@0wned.org>
21 Sep 1999 SYSCTL(8)