Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Check zfs cache usage for Solaris 11.3 Post 303036922 by Peasant on Wednesday 17th of July 2019 11:32:12 AM
Old 07-17-2019
Can you elaborate more on need or problem to examine the cache usage ?
Are you having issues and what kind of workload is that ?

memstat/mdb should show correct cache usage.
I did see on 11.3 bugged output tho, so you should probably patch it up Smilie
kstat is also quite verbose and correct.

Hope that helps
Regards
Peasant.
 

7 More Discussions You Might Find Interesting

1. Solaris

Solaris File Cache

I started a previous thread : https://www.unix.com/sun-solaris/76721-coredumps-swap-part-solaris-mem-consumption.html But my fault as there is no xml feed for this forum i lost track and thread got closed. So in the mean time i went through some docs and here are my queries : 1. mdb -k... (2 Replies)
Discussion started by: rajwinder
2 Replies

2. Solaris

File cache portion of memory on Solaris

I'm looking to get the file cache portion of physical (real) memory on a Solaris workstation (Similar to the Cache: line in /proc/meminfo on some Linux systems): # swap -s; swap -l; vmstat 2 2; echo "::memstat" | mdb -k total: 309376k bytes allocated + 41428k reserved = 350804k used,... (5 Replies)
Discussion started by: Devyn
5 Replies

3. Solaris

ZFS ARC cache issue

We are having a server running zfs root with 64G RAM and the system has 3 zones running oracle fusion app and zfs cache is using 40G memory as per kstat zfs:0:arcstats:size. and system shows only 5G of memory is free rest is taken by kernel and 2 remaining zones. Now my problem is that... (2 Replies)
Discussion started by: fugitive
2 Replies

4. Solaris

Zfs::zpool.cache file

Hi All, I am trying to read zpool.cache file to find out pool information like pool name, devices it uses and all properties. File seems to be in packed format.I am not sure how to unpack it. But from opensolaris code base we can see that they have used libz for uncompromising this file, but... (0 Replies)
Discussion started by: shailesh_111
0 Replies

5. Solaris

Help with ZFS arc cache

Greetings Forumers! I have a Solaris 10u9 M5000 with 32GB RAM and have noticed the ZFS arc cache is consuming large amount of memory. Here's what I see on my system: # echo ::memstat|mdb -k Page Summary Pages MB %Tot ------------ ---------------- ... (9 Replies)
Discussion started by: bluescreen
9 Replies

6. UNIX for Advanced & Expert Users

linux memory buffers & cache usage

18:45:47 # free -m total used free shared buffers cached Mem: 96679 95909 770 0 1530 19550 -/+ buffers/cache: 74828 21851 Swap: 12287 652 11635 Hi all. The below output is from a RHEL 4.5... (0 Replies)
Discussion started by: drummerrob
0 Replies

7. Solaris

dual boot solaris/solaris zfs file system

Hi, I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out. First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris... (3 Replies)
Discussion started by: estammis
3 Replies
WINCACHE_SCACHE_MEMINFO(3)						 1						WINCACHE_SCACHE_MEMINFO(3)

wincache_scache_meminfo - Retrieves information about session cache memory usage

SYNOPSIS
array wincache_scache_meminfo (void ) DESCRIPTION
Retrieves information about memory usage by session cache. RETURN VALUES
Array of meta data about session cache memory usage or FALSE on failure The array returned by this function contains the following elements: o memory_total - amount of memory in bytes allocated for the session cache o memory_free - amount of free memory in bytes available for the session cache o num_used_blks - number of memory blocks used by the session cache o num_free_blks - number of free memory blocks available for the session cache o memory_overhead - amount of memory in bytes used for the session cache internal structures EXAMPLES
Example #1 A wincache_scache_meminfo(3) example <pre> <?php print_r(wincache_scache_meminfo()); ?> </pre> The above example will output: Array ( [memory_total] => 5242880 [memory_free] => 5215056 [num_used_blks] => 6 [num_free_blks] => 3 [memory_overhead] => 176 ) SEE ALSO
wincache_fcache_fileinfo(3), wincache_fcache_meminfo(3), wincache_ocache_fileinfo(3), wincache_rplist_fileinfo(3), wincache_rplist_mem- info(3), wincache_refresh_if_changed(3), wincache_ucache_info(3), wincache_scache_info(3). PHP Documentation Group WINCACHE_SCACHE_MEMINFO(3)
All times are GMT -4. The time now is 12:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy