Solaris Memory commands


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Solaris Memory commands
# 1  
Old 05-30-2003
Solaris Memory commands

I am using Sun Solaris 8 and would like to know if there's a command that allows me to to find out the total memory used and what kernel size in memory is.

Also, would I be able to find out what size a semaphore is in memory?



Thanx in advance
# 2  
Old 05-30-2003
It's OK, I got the information i needed using the sar command
# 3  
Old 05-31-2003
'ipcs' will probably give you better semaphore and shared memory info then sar.
# 4  
Old 06-05-2003
other usefull commands

a usefull command is prstat

prstat -a -S rss -n `ps -ef |grep wc -l` 300 1

see: man prstat


To look into the kernel see adb:

adb -k /dev/ksyms /dev/mem


With sysdef you can take a look to loadable modules.

With swap -s you can see swap information

Regards. Hugo.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Memory capping Solaris 11.3

I want to allocate RAM : 64GB (Dedicated allocation) Swap : 8GB Please assist and recommend the correct capping values capped-memory: physical: XXG Had allocated physical=64GB, Swap=8GB, and locaked 16GB and found my non-global zone were unable to use... (1 Reply)
Discussion started by: Shirishlnx
1 Replies

2. Solaris

Solaris memory usage

One of my Solaris Unix server has total RAM 128G . top & vmstat command shows free memory is 86G and usage is 42G. ps -eo pid,rss,commshows memory usage by process. when i sum all the memory usage by the process, it shows 1.9TB as shown below. $ ps -eo pid,pmem,vsz,rss,comm | sort -rnk2 |... (5 Replies)
Discussion started by: baladelaware73
5 Replies

3. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

4. Solaris

Why i see Memory 3.9 Gb in Solaris 8

I use command prtconf on solaris 8 x86 so Memory show 3920 Mbyte but I'm installed 4 Gb ,Why not show 4096 Mbyte Please suggest me thank you (3 Replies)
Discussion started by: infjustice
3 Replies

5. Solaris

Solaris 10 - Memory / Swap

Hi all Got myself in a pickle here, chasing my own tail and am confused. Im trying to work out memory / swap on my solaris 10 server, that Im using zones on. Server A has 32Gb of raw memory, ZFS across the root /mirror drives. # prtdiag -v | grep mem = Memory size: 32768 Megabytes #... (1 Reply)
Discussion started by: sbk1972
1 Replies

6. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

7. Solaris

Memory usage in Solaris - memory not freed?

Hi, I'm running a multi-process software system on a Solaris 8 machine. When I monitor the memory usage, I see that the free memory is dropping rapidly, but I can't detect a process that uses this memory. I'm using "top" to get the free memory and the memory usage of processes. Thanks. (3 Replies)
Discussion started by: gewurtz
3 Replies

8. HP-UX

Memory Consumption Commands

I want to check the memory usuage on the HP-UX box. print_manifest : gave me the information of the system configuration and came to know that we have 8GB of ram. But on runtime I want to know what is the memory left. Iam new to HP-UX and I would appreciate if some one can assist me on... (2 Replies)
Discussion started by: siebeladmin
2 Replies

9. UNIX for Dummies Questions & Answers

Memory related Unix commands

I am using rsync for my backing up my files, from one box to other box, While doing I am getting following error. arb821/Server/logs/rpcMetrics/ arb821/Server/logs/AribaOrderTransmitterLog.txt write failed on arb821/Server/logs/AribaOrderTransmitterLog.txt : Error 0 rsync error: error in... (2 Replies)
Discussion started by: redlotus72
2 Replies

10. Filesystems, Disks and Memory

Memory Test Solaris 2.6

Anyone know of the best tools for the job, I've used vmstat, prtdiag and dmesg but want somehting to really interogate the memory and report. Any ideas ? its on a SUN e6500 :D thanks (2 Replies)
Discussion started by: kie
2 Replies
Login or Register to Ask a Question