Sponsored Content
Full Discussion: kernel parameter
Top Forums UNIX for Dummies Questions & Answers kernel parameter Post 15062 by Perderabo on Saturday 9th of February 2002 01:06:15 PM
Old 02-09-2002
Well there's not much to say. maxssiz is the maximum size of the stack (which is a separate segment). maxdsiz is the maximum size of the data seqment. And even though you didn't ask, maxtsiz is the maximum size of the text segment.

I would strongly suggest that you sam to increase them. sam->kernel configuation->configurable parameters will get you there. It is possible to do this from the command line, but it's a tedious. poorly automated process with lots of opportunities to make fatal mistakes.

On HP-UX, swapon is the command to add a swap area. And swapinfo is the command to see how much swap is being used.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

kernel parameter

Hi all How to change the system parameter (kernel Parameter) in sun solaris..i wan't to increase the maximum no of user processs.i found it frm sysdef command that it has a value of 3048 i wan't to increase it as smtime while forking a new proceess it,s giving error max limit of user process... (1 Reply)
Discussion started by: Prafulla
1 Replies

2. UNIX for Dummies Questions & Answers

kernel parameter settings

Hello All, can someone clarify finally what are the kernel parameter settings for ORACLE9i on SOLARIS9 ? the following first part is copy paste from the sun's web... (2 Replies)
Discussion started by: grep
2 Replies

3. UNIX for Dummies Questions & Answers

How to change a kernel parameter

Hello and thank you everyone that has helped guide me in the past. I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64. I am a dba not an sa so please excuse my lack of knowledge on something that is probably... (7 Replies)
Discussion started by: soestx
7 Replies

4. UNIX for Dummies Questions & Answers

kernel parameter in SOL

Hello everbody: I have Sol9, and I need to check its kernekl parameters, do you know how to list them or in which file they can be found. Thanks in Advance (3 Replies)
Discussion started by: aladdin
3 Replies

5. UNIX for Advanced & Expert Users

Solaris to HP-UX 11i v2 kernel parameter mapping

Can anyone reference me where I can find info or if someone knows the mapping of Solaris kernel parameters to HP-UX 11i v2 O/S on Integrity server? Your response would be greatly appreciated. Thanks. -Lou :) (1 Reply)
Discussion started by: nylou97
1 Replies

6. HP-UX

Equivalent Kernel parameter in HP-UX

Hi, May I pls. know what would be the equivalent kernel parameter in HP-UX for the below Linux kernel parameter. sysctl kern.ps_showallprocs - This setting in Linux would let users see their own processes in "ps". Thanks, Narasimha (1 Reply)
Discussion started by: vnarsim
1 Replies

7. UNIX for Dummies Questions & Answers

kernel parameter values

Hi All Need to find kernel parameter values of our UNIX box. /filesys1/tmp>uname -a HP-UX hps1_dc B.11.11 U 9000/800 1681349356 unlimited-user license /filesys1/CDBLprodrun/tmp> Can anyone help me with the cmd to find kernel parameter values? Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies

8. HP-UX

nk thread kernel parameter

Hi. I wanted to know, that if an issue is coming, where ,on running a load test, the memory of the APP server(unix) increases, but does not come down once the test is over, in that case, does tuning the nk thread paramter help in teleasing of the memory..??? plz answer soon (2 Replies)
Discussion started by: TC123
2 Replies

9. Solaris

How to change the Kernel parameter MAXDSIZE

Hi, How can I change the Kernel parameter MAXDSIZE??:confused::confused: Thanks in Advance ... (1 Reply)
Discussion started by: smartgupta
1 Replies

10. Solaris

What are the kernel parameter of network interface in Solaris?

Hi gurus Could anybody tell me that what are the kernal parameter of network interface in solaris Regards (3 Replies)
Discussion started by: girish.batra
3 Replies
MKSWAP(8)						       System Administration							 MKSWAP(8)

NAME
mkswap - set up a Linux swap area SYNOPSIS
mkswap [options] device [size] DESCRIPTION
mkswap sets up a Linux swap area on a device or in a file. The device argument will usually be a disk partition (something like /dev/sdb7) but can also be a file. The Linux kernel does not look at partition IDs, but many installation scripts will assume that partitions of hex type 82 (LINUX_SWAP) are meant to be swap partitions. (Warning: Solaris also uses this type. Be careful not to kill your Solaris partitions.) The size parameter is superfluous but retained for backwards compatibility. (It specifies the desired size of the swap area in 1024-byte blocks. mkswap will use the entire partition or file if it is omitted. Specifying it is unwise - a typo may destroy your disk.) After creating the swap area, you need the swapon command to start using it. Usually swap areas are listed in /etc/fstab so that they can be taken into use at boot time by a swapon -a command in some boot script. WARNING
The swap header does not touch the first block. A boot loader or disk label can be there, but it is not a recommended setup. The recom- mended setup is to use a separate partition for a Linux swap area. mkswap, like many others mkfs-like utils, erases the first partition block to make any previous filesystem invisible. However, mkswap refuses to erase the first block on a device with a disk label (SUN, BSD, ...). OPTIONS
-c, --check Check the device (if it is a block device) for bad blocks before creating the swap area. If any bad blocks are found, the count is printed. -f, --force Go ahead even if the command is stupid. This allows the creation of a swap area larger than the file or partition it resides on. Also, without this option, mkswap will refuse to erase the first block on a device with a partition table. -L, --label label Specify a label for the device, to allow swapon by label. -p, --pagesize size Specify the page size (in bytes) to use. This option is usually unnecessary; mkswap reads the size from the kernel. -U, --uuid UUID Specify the UUID to use. The default is to generate a UUID. -v, --swapversion 1 Specify the swap-space version. (This option is currently pointless, as the old -v 0 option has become obsolete and now only -v 1 is supported. The kernel has not supported v0 swap-space format since 2.5.22 (June 2002). The new version v1 is supported since 2.1.117 (August 1998).) -h, --help Display help text and exit. -V, --version Display version information and exit. NOTES
The maximum useful size of a swap area depends on the architecture and the kernel version. The maximum number of the pages that is possible to address by swap area header is 4294967295 (UINT_MAX). The remaining space on the swap device is ignored. Presently, Linux allows 32 swap areas. The areas in use can be seen in the file /proc/swaps mkswap refuses areas smaller than 10 pages. If you don't know the page size that your machine uses, you may be able to look it up with "cat /proc/cpuinfo" (or you may not - the con- tents of this file depend on architecture and kernel version). To set up a swap file, it is necessary to create that file before initializing it with mkswap, e.g. using a command like # fallocate --length 8GiB swapfile Note that a swap file must not contain any holes. Using cp(1) to create the file is not acceptable. Neither is use of fallocate(1) on file systems that support preallocated files, such as XFS or ext4, or on copy-on-write filesystems like btrfs. It is recommended to use dd(1) and /dev/zero in these cases. Please read notes from swapon(8) before adding a swap file to copy-on-write filesystems. ENVIRONMENT
LIBBLKID_DEBUG=all enables libblkid debug output. SEE ALSO
fdisk(8), swapon(8) AVAILABILITY
The mkswap command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux March 2009 MKSWAP(8)
All times are GMT -4. The time now is 09:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy