Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1001953.1
Update Date:2009-09-20
Keywords:

Solution Type  Technical Instruction Sure

Solution  1001953.1 :   Sun Blade[TM] 100 Workstation: sar -v Output for file-sz Format  


Related Items
  • Sun Blade 100 Workstation
  •  
Related Categories
  • GCS>Sun Microsystems>Desktops>Workstations
  •  

PreviouslyPublishedAs
202720


Description
sar -v doesn't seem to working correctly, given the data collected from kstat.

Steps to Follow
Since the Solaris 2.6 Operating System, sar -v appears to have a
discrepancy.  However, sar is working as designed.
#kstat -n file_cache | egrep "(buf_avail|buf_total)"
buf_avail        620
buf_total        3045
The preceding example of output shows a current buf_total of 3045 and a
buf_avail of 620, which means the difference is 2425 file table entries
(3045 minus 620).  This is the value you see in the sar -v output:
#sar -v 1 2
proc-sz    ov  inod-sz    ov  file-sz    ov   lock-sz
13:19:38  243/30000    0  823/128512    0 2425/2425    0    0/0
13:19:39  243/30000    0  823/128512    0 2425/2425    0    0/0
In the example, there are 2425 file table entries. The format of the sar
output is a holdover from the early days of static tables, which is why the
display is 2425/2425. Originally, the value on the left represented
the current number of occupied table slots, and the value on the right
represented the maximum number of slots. Because the file table is
completely dynamic in nature, both values will always be the same.
Note: The Solaris 9 Operating System currently has a bug 4998015 where the
file-sz reports 0/0.


Product
Sun Blade 100 Workstation

sar, kstat
Previously Published As
76869

Change History
Date: 2004-06-15
User Name: c8840
Action: Approved
Comment: I edited this document and then submitted it for publication.
Version: 0
Date: 2004-06-15
User Name: c8840
Action: Accepted
Comment:
Version: 0
Date: 2004-06-14
User Name: 43068
Action: Approved
Comment: Corrected minor typo's, looks fine.
Version: 0
Date: 2004-06-14
User Name: 43068
Action: Accepted
Comment:
Version: 0
Date: 2004-06-14
User Name: 38105
Action: Approved
Comment: Created this because a customer thought there was a bug when in fact its just an information issue.
Version: 0
Date: 2004-06-14
User Name: 38105
Action: Created
Comment:
Version: 0
Product_uuid
2a071da8-0a18-11d6-906c-a8efc43ec293|Sun Blade 100 Workstation

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback