- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- kernel parameters not found in /stand/vmunix
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
01-22-2003 07:29 AM
01-22-2003 07:29 AM
echo nproc/D | adb -k /stand/vmunix /dev/mem
nproc:
nproc: 29620
But some kernel parameters are not present in /stand/vmunix as 'shmmax'
echo shmmax/D | adb -k /stand/vmunix /dev/mem
symbol not found
Why ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 07:39 AM
01-22-2003 07:39 AM
Re: kernel parameters not found in /stand/vmunix
use kmtune | grep shmmax or even grep shmmax
/stand/system you can see 'em.I think it's
up to adb usage,checking now if I'm right :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 01:12 AM
01-23-2003 01:12 AM
Re: kernel parameters not found in /stand/vmunix
/stand/system contains the values for kernel parameters that are different from their DEFAULT values.
I'm trying to dump to a text file all the values of the kernel parameters but I didn't find a tool. kmtune is not fine because it reports formulae, then an expression evaluator is needed to compute the values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 01:28 AM
01-23-2003 01:28 AM
Re: kernel parameters not found in /stand/vmunix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 03:26 AM
01-23-2003 03:26 AM
Re: kernel parameters not found in /stand/vmunix
strings /stand/vmunix | grep shmmax returns
you shmmax ok.
Now,if you do :
nm /stand/vmunix | grep nproc it will return
nproc this way:
nproc | 7139924|extern|data |$SHORTDATA$
Why?Because nproc is extern (global) symbol.
I would also check shmem (if shared memory is
enabled at all?) with
echo shmem/D | adb .... (if 0 - disabled,1 -
enabled...so if shared memory is disabled why
should kernel keep the symbol for max segment size?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 03:32 AM
01-23-2003 03:32 AM
Re: kernel parameters not found in /stand/vmunix
only,ignore las assumption that shared memory
isn't enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 03:52 AM
01-23-2003 03:52 AM
Re: kernel parameters not found in /stand/vmunix
If u can go thru SAM and view the kernel parameters and then..in File option select print --> and print to file--> you will get all the parameters and their values into file..
Rgds
nainesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 04:38 AM
01-23-2003 04:38 AM
Solutionsystem_data is a one2one copy of /stand/system, created at build time. It is not used by the kernel , there's no guarantee that listed values are really effective.
Looking at shmmax is a litte bit more complicated. It's part of a struct shminfo:
struct shminfo {
long shmmax; /* max shared memory segment size */
long shmmin; /* min shared memory segment size */
int shmmni; /* # of shared memory identifiers */
int shmseg; /* max attached shared memory segments per process */
};
So you need to use shminfo to get the desired values, e.g. for a 64bit system (long is 8 bytes):
# echo "shminfo/XXXXXX" | adb /stand/vmunix /dev/kmem
shminfo:
shminfo: 0 40000000 0 1
0xC8 78
In this case shmmax is 0x40000000.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 05:52 AM
01-23-2003 05:52 AM
Re: kernel parameters not found in /stand/vmunix
If you want to kernel parameters for e.g. u want to know the parameter of shmmax u can simply type.
#kmtune -q shmmax
u will get the output of that parameter.
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 06:46 AM
01-23-2003 06:46 AM
Re: kernel parameters not found in /stand/vmunix
On 11.00 it simply reads /stand/system.
Best regards...
Diezmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2003 07:02 AM
01-23-2003 07:02 AM
Re: kernel parameters not found in /stand/vmunix
it reads from /stand/system file