Detailed information on a specific segment ID
The -D option displays detailed memory-usage statistics for segments.
The following is an example:
# svmon -D 38287 -b
Segid: 38287
Type: working
PSize: s (4 KB)
Address Range: 0..484
Size of page space allocation: 2 pages ( 0,0 MB)
Virtual: 18 frames ( 0,1 MB)
Inuse: 16 frames ( 0,1 MB)
Page Psize Frame Pin Ref Mod ExtSegid ExtPage
341 s 527720 N N N - -
342 s 996079 N N N - -
343 s 524936 N N N - -
344 s 985024 N N N - -
347 s 658735 N N N - -
348 s 78158 N N N - -
349 s 174728 N N N - -
350 s 758694 N N N - -
404 s 516554 N N N - -
406 s 740622 N Y N - -
411 s 528313 N Y Y - -
412 s 1005599 N Y N - -
416 s 509936 N N Y - -
440 s 836295 N N Y - -
443 s 60204 N N Y - -
446 s 655288 N N Y - -
The explanation of the columns are as follows:
- Page
- Specifies the index of the page within the segment.
- Psize
- Specifies the size of the page (s for 4 KB, m for 64 KB, L for 16 MB and S for 16 GB).
- Frame
- Specifies the index of the real memory frame that the page resides in.
- Pin
- Specifies a flag indicating whether the page is pinned.
- Ref
- Only specified with the -b flag. Specifies a flag indicating whether the page's reference bit is on.
- Mod
- Only specified with the -b flag. Specifies a flag indicating whether the page is modified.
- ExtSegid
- In case the page belongs to an extended segment that is linked to the inspected segment, the virtual segment identifier of this segment is displayed.
- ExtPage
- In case the page belongs to an extended segment that is linked to the inspected segment, the index of the page within that extended segment is displayed.
When an extended segment is linked to the inspected segment, the report
looks like the following example:
Page Psize Frame Pin Ref Mod ExtSegid ExtPage
65574 s 345324 N N N 288071 38
65575 s 707166 N N N 288071 39
65576 s 617193 N N N 288071 40
The -b flag shows the status of the reference and modified bits of all the displayed frames. After it is shown, the reference bit of the frame is reset. When used with the -i flag, it detects which frames are accessed between each interval.
Note: Due to the performance impacts, use the -b flag with caution.