Re: svmon -G versus svmon -S
gep wrote:[color=blue]
> The only problem is that svmon is not accurate. On all my boxes, aix
> 5.3 or aix 5.2, I get a significant discrepancy between svmon -G and
> svmon -S :[/color]
For a start, you rerun svmon for every field. (you do not indicate if
the server is busy, but it could make a difference) In my experience,
there is not that much difference between svmon -P, svmon -U and ps vg's
output.
I usually do:
# svmon -P > svmonP.txt && svmon -U > svmonU.txt && psvg > psvg.txt
regards,
Niel
Re: svmon -G versus svmon -S
Niel Lambrechts a écrit :
[color=blue]
> For a start, you rerun svmon for every field. (you do not indicate if
> the server is busy[/color]
Thank you for your answer.
I can run the commands at everytime, there is always a big
discreçancy. For the example above, I ran it on Sunday afternoon :
there was no activity.
[color=blue]
> but it could make a difference) In my experience,
> there is not that much difference between svmon -P, svmon -U and ps vg's
> output.[/color]
Run the commands on your own boxes, we will see.
[color=blue]
>
> I usually do:
> # svmon -P > svmonP.txt && svmon -U > svmonU.txt && psvg > psvg.txt
>[/color]
svmon -P and -U are subset of svmon -S (after you sort duplicate
segments). So results are worst (in fact most of system segments can
only be found in svmon -S). I took my box with the less segments
(around 17000) and I ran svmon -D on all segments to have all frame
details (This enabled me to check that secondary segments were not
counted twice in svmon ; in fact there are not counted at all). I ran
also svmon -C on all processes. I didn't find any missing frames. All
svmon files are avalaible but I doubt you are interested in them.
It looks like svmon -G is only a quick compilation of global system
counters, while other options are looking at system kernel structures.
Somehow all objects are not in these structures.
I am really interested in a machine without this problem. My aix boxes
are in fact partitions of a LPAR system.
Regards,
Gerard.
Re: svmon -G versus svmon -S
gep wrote:[color=blue]
> It looks like svmon -G is only a quick compilation of global system
> counters, while other options are looking at system kernel structures.
> Somehow all objects are not in these structures.[/color]
I once wrote a perl script which counted each segment in either svmon -U
and svmon -P and flagged them shared as they became shared (if the same
segment really was used twice). I correlated this to "ps vg" output,
using the RSS and TRS fields.
These matched well enough - the discrepancies could be explained due to
the quick changing nature of memory between the execution of each command.
I have not yet tried to use svmon -S, will do the same and post results.
Regards,
Niel