![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fingerlines in GCC Listings | marcus121 | High Level Programming | 1 | 04-25-2006 06:04 PM |
| listings file of a package | andryk | SUN Solaris | 4 | 11-30-2005 02:39 PM |
| file listings by date | Boothy | Shell Programming and Scripting | 1 | 11-22-2004 07:47 AM |
| Listings of the games for Linux | Studenttt | High Level Programming | 4 | 12-22-2003 10:52 AM |
| sites with the listings | Studenttt | High Level Programming | 0 | 12-22-2003 06:56 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
kernel param listings
Which shows the current kernel settings accurately? kmtune or sysdef. I ask because although some params show the same setting with both, some do not.
Example >kmtune | grep nfile nfile 75008 - (15*NPROC+2048) >sysdef | grep nfile nfile 75018 - 14- - which is the real number and why the differences? Thanks |
| Forum Sponsor | ||
|
|
|
|||
|
What OS are you running?
As for hpux 11.11 nfile kernel parameter is static and should show same value using kmtune or sysdef, look in /stand if system and vmunix have same timestamp. This may not be true with release of OS where nfile can be set dynamicaly |
|
|||
|
hpux 11.11, I checked on 4 different boxes and vmunix and system do not have the same timestamp on any of them. nfile is differentt on all of them also.
So sysdef and kmtune "should" return the same values correct? what about why sysdef does not return values for some params whil kmtune does? >kmtune | grep shmmax shmmax 0x200000000 sysdef | grep shmmax returns nothing |
|
|||
|
>So sysdef and kmtune "should" return the same values correct?
No because the timestamps ARE different: kmtune requires /stand/system to be present so it uses it, if the timestamp is different with /stand/vmunix you could have a missmatch : someone updated the kernel but hasnt updated the system file, or someone has edited and updated /stand/system and hasnt rebuilt the kernel... sysdef reads the values from the current kernel. >what about why sysdef does not return values for some params whil kmtune does? sysdef | grep shmmax returns nothing Ah well thats one of many params sysdef will not show... Now 'sysdef' is deprecated, and kmtune is the correct tool to use with 11.11 and post 11.23 you should be using kcweb as in future sysdef should be removed... |
|
|||
|
Thanks for correcting me!
I realise that things can be so obvious for us (like same timestamps was to be understood within a reasonable time shift due to the edition, the build of new kernel and reboot...) that when it comes to explain, we generate even more confusion... it is true that when I look these files I have only the date displaying since we do not reboot often... All the best |