---
title: "Solaris下面内存的使用"
author: "limafa"
date: "2008-12-05T16:52:00Z"
tags: []
slug: "solaris"
draft: false
lastmod: "2008-12-05T16:52:00Z"
id: 575531
url: "https://limafa.iteye.com/blog/575531"
---

Solaris下面内存的使用：  
物理内存：  
/usr/platform/sun4u/sbin/prtdiag,同时可以看CPU等信息。

物理内存空余：  
vmstat ,sar都可以。  
vmstat ：free 列，单位时K  
sar -r :单位时Block，8k/block

有用的工具：  
prtmem:  
bash-2.03$ prtmem

Total memory: 7881 Megabytes  
Kernel Memory: 324 Megabytes  
Application: 3654 Megabytes  
Executable & libs: 34 Megabytes  
File Cache: 3747 Megabytes  
Free, file cache: 109 Megabytes  
Free, free: 14 Megabytes  
可以自由下载。

系统的内核参数的当前设定：  
sysdef