Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Changing Values in the Kernel Post 2043 by Neo on Sunday 15th of April 2001 04:23:11 PM
Old 04-15-2001
Not sure why you need to change the kernel to setup more swap space. This is normally done independent of the kernel. mib gives an example of adding more (filesystem)swap in this thread; notice that a kernel rebuild is not required. Same is true for most OS. You create swap space and turn it on using system level utilities.

Note, there are other ways to add swap, including disk partition raw swap space. You create this with a disk formating utilility (such as fdisk) and 'turn-it-on' in a similar manner.

[Edited by Neo on 04-15-2001 at 04:25 PM]
 

9 More Discussions You Might Find Interesting

1. Programming

kernel values related to mmap

Hi there... I am maitaining an archaic application which is using mmap for file transfering/routing. There are over 500 instances of the application running without any issues for almost 2 decade. Now, the problem is that the on one particular server (HP-UX 11), sometimes the mmap is failing... (4 Replies)
Discussion started by: tobsinte
4 Replies

2. 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

3. Shell Programming and Scripting

Changing values with increasing numbers!

Hi all, i have a command named "vmchange" and i must use it for thousands of data which must be changed. For example, vmchange -m N0001 vmchange -m N0002 vmchange -m N0003 ... ... vmchange -m N0100 How can i do that in awk or bash script? Any help would be greatly appreciated.. ... (5 Replies)
Discussion started by: oduth
5 Replies

4. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

5. Solaris

check the utilization of kernel values ?

Any native Solaris commands/scripts to check the utilization of kernel tables/limits in Solaris ? (like equivalent command in HPUX is kcusage) (2 Replies)
Discussion started by: thamurali
2 Replies

6. Shell Programming and Scripting

sed/awk changing values

Can somebody help me out and provide me with a SED or AWK solution that converts TO_DATE CLAUSE -> TIMESTAMP I need to keep the PARTION value (HISTORY_20110417) and DATE/TIME value (2011-04-18 00:00:00) the same for every line PARTITION HISTORY_20110417 VALUES LESS THAN (TO_DATE('... (3 Replies)
Discussion started by: BeefStu
3 Replies

7. Shell Programming and Scripting

Changing and swapping the Values in the files

Hi all we have a file ONE like this 12345 98765 67222 74252 76991 90091 and we have one more file TWO like huiiii 67jjjj u988 99999 uj99j 98765 hujg 7yhh ij999 78688 ijo99 74252 Now i want create THREE file which is like huiiii 67jjjj u988 12345 uj99j 98765 hujg 7yhh ij999... (2 Replies)
Discussion started by: polineni
2 Replies

8. HP-UX

Changing Dynamic Tunable parameters in the kernel

To fix an "issue" we're having I need to update SHMMAX from 1GB to 2Gb, it's a dynamic parameter so am just wondering how flexible it really is. As Oracle is running on the server do I need to shut that down to change the parameter or will it just take the change on the fly? Also how would I... (6 Replies)
Discussion started by: Turlock
6 Replies

9. Shell Programming and Scripting

Changing values in the first column.

I have a file which looks like this: 1 3 5 5 3 2 1 5 3 6 3 2 0 5 6 3 2 9 0 4 5 6 4 9 In the first column, instead of 1, I want to place +1 and instead of 0, I want -1 to be put. So the generated file should look like this: +1 3 5 5 3 2 +1 5 3 6 3 2 -1 5 6 3 2 9 -1 4 5 6 4 9 Just to... (9 Replies)
Discussion started by: shoaibjameel123
9 Replies
info(4) 						     Kernel Interfaces Manual							   info(4)

NAME
info - diskless client configuration information file DESCRIPTION
The file is a POSIX shell sourceable file which contains parameter definitions used at boot time. Typically, it will be an empty file and default values will be used for all parameters. Following is the list of parameters which can be defined in the file: Specifies the IP address of the client's private root server. If this is not specified, the client's private root server defaults to the boot server. Specifies the pathname to the client's private root on the private root server. If this is not specified, the client's private root path defaults to Specifies the NFS mount options to mount the client's private root from the private root server. If this is not specified, the mount options default to Specifies the NFS mount options to mount the client's directory from the boot server. If this is not specified, the mount options default to Specifies whether NFS should be configured as primary swap. (NOTE: In order to swap to NFS, a diskless kernel must be configured with tunable parameter set to 1.) If a diskless machine has a local swap disk and swap to NFS is not desired, the parameter should be set to the value of 1 and the diskless kernel should be configured without setting to 1. If this parameter is not specified in the file and the kernel tunable parameter is set to 1, then NFS will be configured as primary swap. If not set, this parameter defaults to a value of 1, and results in the removal of all swapfiles above the configured swap minimum (swap is specified in the client's when a disk- less client boots. This ensures that extraneous swapfiles at boot time are removed, thus freeing disk space. If is set to 0 in the file, removal of extra swapfiles is disabled. This may result in faster boot times due to the time savings in creating additional swap files. The file resides in the same directory as the client's kernel () on the boot server and is retrieved at boot time using command. By default, when a diskless client is created, an empty file is placed in the client's kernel directory. This ensures that all parameters revert to their default values (see above). If the file is not present, this is an error. EXAMPLES
An example file is shown below: FILES
info(4)
All times are GMT -4. The time now is 06:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy