- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- list of kernal param in 10.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 11:59 AM
10-04-2001 11:59 AM
Any suggestion.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 12:10 PM
10-04-2001 12:10 PM
Re: list of kernal param in 10.20
If you want to see those parameters that *differ* from the defaults, look at (cat) '/stand/system'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 12:13 PM
10-04-2001 12:13 PM
Re: list of kernal param in 10.20
Kmtune is great for 11.x but that puppy ain't to be found in 10.x. My suggestion would be to ask the kernel itself via adb. Something like this:
echo '*system_data/s' | adb -k /stand/vmunix /dev/kmem.
This will direct the tunables to stdout.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 12:15 PM
10-04-2001 12:15 PM
Re: list of kernal param in 10.20
For 10.20 like Jim mentioned you can look at /stand/system.
Also you can look at /var/sam/boot.config, which lists the current,default,max and min values for various parameters. But to get the information you want you will have to write a script to parse that file.
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 12:16 PM
10-04-2001 12:16 PM
Re: list of kernal param in 10.20
If you want to list all the parameters in 10.20, i think you can try these three command. All of them, so you get all the paras
1.) # sysdef >/tmp/kern_para_1
2.) # /usr/lbin/sysadm/system_prep -s /tmp/kern_para_2
3.) # adb -k -w /stand/system /dev/kmem > /tmp/kern_para_3
$e
$q
Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 12:40 PM
10-04-2001 12:40 PM
Re: list of kernal param in 10.20
Lou Zirko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 12:56 PM
10-04-2001 12:56 PM
Re: list of kernal param in 10.20
I tried your 3 commands and the last command takes it forever. i don;t get the desired result.
Clay command gives me the desired result but i think the total number of kernal parameter got in the listing is less than what SAM list - that is my pure guess ? I didn't count it yet.
Thanx everybody for your quick responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 01:18 PM
10-04-2001 01:18 PM
Re: list of kernal param in 10.20
I tried a simple script to get the kernel params on a 10.20 box
here KERNEL_PARAM is a file containing all the configurable parameters. the parameters have a name KC_PARAM_NAME in /var/sam/boot.config, so you will have to create a file with all the configuration parameters.
/Begin/
#!/usr/bin/sh
PATH=/usr/bin:/usr/local/bin
KERNEL_PARM=/tmp/kernel_param
cat $KERNEL_PARAM | while read PARAM
do
echo "$PARAM \c"
sed -n '/'$PARAM'/,$p' /var/sam/boot.config | sed - n '2p' | awk '{print $3}'
done
/End/
You can ofcourse modify it to suit your needs or if you want it in a different format.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 01:24 PM
10-04-2001 01:24 PM
SolutionI guess it would be a good idea to get the output to a file ;)
/Begin/
#!/usr/bin/sh
PATH=/usr/bin:/usr/local/bin
KERNEL_PARM=/tmp/kernel_param
OUTFILE=/tmp/`hostname`.kernel_list
>$OUTFILE
cat $KERNEL_PARAM | while read PARAM
do
echo "$PARAM \c" >> $OUTFILE
sed -n '/'$PARAM'/,$p' /var/sam/boot.config | sed - n '2p' | awk '{print $3}' >> $OUTFILE
done
/End/
-HTH
Ramesh