03-28-2010
The default values are hardcoded in the kernel, not read from a file, unless you count /kernel/genunix and other /kernel/* files in the list.
/dev/kmem isn't a file but the kernel virtual memory. The parameters are also there.
10 More Discussions You Might Find Interesting
1. HP-UX
Good Day
Please couls somebody tell me how to display Configurable Kernel parameters from the command line. I am able to do it from SAM,but would like to dump the command line output to a text file so I can email it off to HP.
Kind Regards
Shawn (1 Reply)
Discussion started by: shawnbishop
1 Replies
2. HP-UX
I want to change some kernel parameters in HP-UX11, to do with Oracle upgrade/install.
I know this is done using SAM. I am told SAM will not let you enter values outside the allowable range. Could anyone tell me if they have experienced anything different?
In Solaris, I would copy the... (2 Replies)
Discussion started by: malcqv
2 Replies
3. HP-UX
Hello all, Can anyone tell me the command line I can use to look at the following Kernel parameters:
nfile
maxfile
maxfile_lim
I'm using the Reflection manager connection to my Unix box so I can't use SAM. (3 Replies)
Discussion started by: impunchdrunk
3 Replies
4. UNIX for Advanced & Expert Users
Can only root do this, or can other users too? if other users can, do they have to be given permission, and if so, is there a file or something that stores this?
Thanks. (4 Replies)
Discussion started by: JamesByars
4 Replies
5. HP-UX
I've been trying to find out the following parameters of our Unix box:
==>OS version
==> patch level
and the following kernel parameters
=>maxfiles_lim
=>maxvgs
=>nproc
=>msgmni
=>ncsize
=>nfile
Could someone help me how would I find the above(commands)?
Thanks,
Bhagat (1 Reply)
Discussion started by: bhagat.singh-j
1 Replies
6. Solaris
Hello,
Can anyone point me out as to how to set the following parameters in Solaris Kernel: set semsys:seminfo_semmni=16384, set semsys:seminfo_semmns=32768,set semsys:seminfo_semmsl=1024,
set semsys:seminfo_semmnu=16384,set semsys:seminfo_semume=1024,
set shmsys:shminfo_shmmax=4294967295,set... (8 Replies)
Discussion started by: AQG
8 Replies
7. UNIX for Advanced & Expert Users
I want to install Datastage in unix server...:) to do this i have to check that the following tunable kernel parameters:
MSGMAX
MSGMNB
MSGSEG
SEMMNS
SEMMSL
SEMMNI
SEMOPM
MAXUPROC
My question is where shall i find this parameters in Unix..?
Since i am new to unix i do not have... (1 Reply)
Discussion started by: Amey Joshi
1 Replies
8. Solaris
Dear All,
I want to check whether all essential kernel parameters are installed in my Solaris 10 System. Is there any way to find it.
And also how to tune it.
Kindly help.
Thanks and Regards
Rj (8 Replies)
Discussion started by: jegaraman
8 Replies
9. Solaris
Dear All,
I have weblogic Portal Installed in the Server solaris 10.
How can i verify whether all the kernel parameters are available for this Software and also another question is
How to crosscheck a server ( Solaris 10 Sparc ) whether it has all the required kernel parameters.
... (2 Replies)
Discussion started by: jegaraman
2 Replies
10. UNIX for Dummies Questions & Answers
Virtual Machine running on VMWare workstation 9.2
os : RHEL 5.8
RAM : 2.5GB
Swap : 2.6gb
CPU : 1 virtual CPU
Surprizingly I couldn't find much from googling on What exactly does Kernel parameters do ?
I was under the impression that kernel parameters just set the limits/maximum for a... (2 Replies)
Discussion started by: John K
2 Replies
LEARN ABOUT OPENSOLARIS
allkmem
mem(7D) Devices mem(7D)
NAME
mem, kmem, allkmem - physical or virtual memory access
SYNOPSIS
/dev/mem
/dev/kmem
/dev/allkmem
DESCRIPTION
The file /dev/mem is a special file that provides access to the physical memory of the computer.
The file /dev/kmem is a special file that provides access to the virtual address space of the operating system kernel, excluding memory
that is associated with an I/O device.
The file /dev/allkmem is a special file that provides access to the virtual address space of the operating system kernel, including memory
that is associated with an I/O device. You can use any of these devices to examine and modify the system.
Byte addresses in /dev/mem are interpreted as physical memory addresses. Byte addresses in /dev/kmem and /dev/allkmem are interpreted as
kernel virtual memory addresses. A reference to a non-existent location returns an error. See ERRORS for more information.
The file /dev/mem accesses physical memory; the size of the file is equal to the amount of physical memory in the computer. This size may
be larger than 4GB on a system running the 32-bit operating environment. In this case, you can access memory beyond 4GB using a series of
read(2) and write(2) calls, a pread64() or pwrite64() call, or a combination of llseek(2) and read(2) or write(2).
ERRORS
EFAULT Occurs when trying to write(2) a read-only location (allkmem), read(2) a write-only location (allkmem), or read(2) or write(2) a
non-existent or unimplemented location (mem, kmem, allkmem).
EIO Occurs when trying to read(2) or write(2) a memory location that is associated with an I/O device using the /dev/kmem special
file.
ENXIO Results from attempting to mmap(2) a non-existent physical (mem) or virtual (kmem, allkmem) memory address.
FILES
/dev/mem Provides access to the computer's physical memory.
/dev/kmem Provides access to the virtual address space of the operating system kernel, excluding memory that is associated with an
I/O device.
/dev/allkmem Provides access to the virtual address space of the operating system kernel, including memory that is associated with an
I/O device.
SEE ALSO
llseek(2), mmap(2), read(2), write(2)
WARNINGS
Using these devices to modify (that is, write to) the address space of a live running operating system or to modify the state of a
hardware device is extremely dangerous and may result in a system panic if kernel data structures are damaged or if device state is
changed.
SunOS 5.11 18 Feb 2002 mem(7D)