Sponsored Content
Full Discussion: kernel param listings
Operating Systems HP-UX kernel param listings Post 302162790 by Perderabo on Wednesday 30th of January 2008 05:31:48 AM
Old 01-30-2008
You cannot create a kernel and a system file simultaneously so the timestamps are destined to be different. But which is newer? That is the question. The tools to create kernels vary fast with HP-UX, but with 11.11, here are some comments...

A copy of the system file used to create the kernel has been stored inside the kernel itself. To build a new kernel via the command line, HP suggests as a first step...
cd /stand/build
/usr/lbin/sysadm/system_prep -v -s system
This will suck the system file out of the kernel and deposit it /stand/build. The next step is to fiddle with some parameters with kmtune with -S /stand/build/system to use this particular system file. As you do, the system file changes and kmtune reports the changed value as "planned". It will become the real value if you proceed.

Unfortunately, HP then suggests you build the kernel via some steps that do not update /stand/system. Not a super big deal, since a new system file will be obtained to rebuild a kernel, but it leaves kmtune without a -S parameter a little bit in the dark. This is why I copy or move /stand/build/system to /stand/system as my last step in a kernel rebuild from the command line on 11.11. On the other hand, building a kernel via sam does update /stand/system correctly.

So this is why the confusion exists. Is your system file old and obsolete, or does it reflect your intentions for a change? Only you can say...
 

9 More Discussions You Might Find Interesting

1. Programming

sites with the listings

Is anybody know sites with the listings of simple programs for Linux (in text mode) (0 Replies)
Discussion started by: Studenttt
0 Replies

2. Programming

Listings of the games for Linux

Hello! I need tne listings of the very simple games(like mad builders or snake) in text mode, when is running only bash. If you got one, please send me on e-mail or post it just in this thread. I also need the following programms, if you have one of them or can quickly write it, please help me: 1)... (4 Replies)
Discussion started by: Studenttt
4 Replies

3. Shell Programming and Scripting

file listings by date

Hi all, First post, be gentle ;) OK I'm trying to list all files in a directory that are between x days and y days old, where I need to treat days as being from 00:00 to 23:59. i.e. a list of all files between 1 day and 8 days old would include all files between 00:00 8 days ago and 23:59 1... (1 Reply)
Discussion started by: Boothy
1 Replies

4. Solaris

listings file of a package

Hi, Is there a command to list all files within an installed package ? A command to print out a file's package owner ? I have trouble to install a temporary license for FTAM and OSI 9.0 on my sunfire280r and i suspect the licensing software is the reason... Any SUN guru out there ? Thanks (4 Replies)
Discussion started by: andryk
4 Replies

5. Programming

Fingerlines in GCC Listings

I recently moved from an AIX to a Linux environment, currently using GCC. I've searched the manpages, to no avail on this one. Q: Does gcc have an option to include finger lines in the listing? In other words, the equivalent compile option for AIX's -qsource and -qsrcmsg? If you don't know... (1 Reply)
Discussion started by: marcus121
1 Replies

6. Shell Programming and Scripting

displaying 3 directory listings in 3 separate columns.

i having problems figuring out how to 'read' in 3 different directory listings and then display them on the screen into 3 separate columns. i thought i could use a 'for' loop to grab each directory and then assign a unique variable to each line 'read' in. of course, as you experts all know,... (16 Replies)
Discussion started by: mjays
16 Replies

7. UNIX for Advanced & Expert Users

param with awk

Hi All, I have this script: #!/bin/ksh lsvg -l $1|grep -v $1:|grep -v LV|awk '{print "mklvcopy ",$1," 2 $2 $3"}' I want to pass three param with "vg2 hdisk1 hdisk2" but the output is "mklvcopy lv1 2 $2 $3". I want to pass the hdisk1 and hdisk2 and not the $2 and $3. Please help! ... (1 Reply)
Discussion started by: itik
1 Replies

8. Shell Programming and Scripting

param with awk

Hi All, I have this script: #!/bin/ksh lsvg -l $1|grep -v $1:|grep -v LV|awk '{print "mklvcopy ",$1," 2 $2 $3"}' I want to pass three param with "vg2 hdisk1 hdisk2" but the output is "mklvcopy lv1 2 $2 $3". I want to pass the hdisk1 and hdisk2 and not the $2 and $3. Please help! ... (3 Replies)
Discussion started by: itik
3 Replies

9. UNIX for Dummies Questions & Answers

sqlplus script out param

For starters, I have read the forums from top to bottom and cannot find a solution to this particular scenario. Just finished up two hours or scouring the archives. Here is my question which has been asked numerous times before but never fully explained for this particular solution: How do I pass a... (2 Replies)
Discussion started by: jwil0m0
2 Replies
kreg(8) 						      System Manager's Manual							   kreg(8)

NAME
kreg - Maintains the system file that registers kernel layered products SYNOPSIS
/sbin/kreg -d subset [-c NAME] | -l vendor subset path [-c NAME] OPTIONS
Causes the specified layered product to be loaded or deleted from the NAME.list file for the given name in addition to the /usr/sys/conf/.product.list file. Note that the NAME parameter is case sensitive and must exactly match the NAME prefix for the desired NAME.list file. Deletes the entry for the specified layered product when you remove it from the system. Loads the data that controls how to include the layered product in the kernel build process. DESCRIPTION
The kreg command maintains the /usr/sys/conf/.product.list system file, which registers static kernel layered products. The kreg command creates the file if it does not exist. The file enables system utilities or user supplied commands to locate the kernel parts of a layered product, and it provides information about layered products. The kernel tools use the /usr/sys/conf/.product.list file to build a layered product into the kernel. You can use the file to register a static kernel layered product that has been loaded into the system. The file also can be used by the layered product's Software Control Program (SCP), which is called by the setld command. You copy the /usr/sys/conf/.product.list file into the file that is used to extend the kernel configuration files and that has the follow- ing syntax: /usr/sys/conf/NAME.list The NAME variable specifies the system name that also is used in the system configuration file that has the following syntax: /usr/sys/conf/NAME The doconfig command also will copy the /usr/sys/conf/.product.list file. You can use the -c option to load or delete your layered product into a specific NAME.list file as well as the file. This is useful if you want to load your layered product into a specific NAME.list file without requiring the user to either copy the entire file to the NAME.list file or to manually edit the NAME.list file. The kreg command must be invoked from the root (/) directory. The command can be used only for subsets that are loaded by using the setld command. Also, you must be superuser to use the kreg command. FILES
Contains kernel layered product information. Used to extend the kernel configuration files. SEE ALSO
Commands: doconfig(8), setld(8) System Administration kreg(8)
All times are GMT -4. The time now is 07:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy