Visit Our UNIX and Linux User Community


Memory Utilisation of a server


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Memory Utilisation of a server
# 1  
Old 09-18-2013
Memory Utilisation of a server

Hi,

I need to find the memory utilisation of a server as mentioned below. Memory should be divided into TOTAL, UZDM, BUFFER, CACHE, AVAILABLE. Can anyone help me to get this?
# 2  
Old 09-18-2013
You don't mention what OS you are on... You could try sar -r 3 1

Code:
Linux 2.6.32-358.18.1.el6.x86_64 (chubler.unix.com)     09/19/2013      _x86_64_        (2 CPU)

07:10:59 AM kbmemfree kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit
07:11:02 AM    561284  32319828     98.29    640868  28883712   6651624     17.94
Average:       561284  32319828     98.29    640868  28883712   6651624     17.94

# 3  
Old 09-18-2013
I am using sun solaris 5.8
# 4  
Old 09-18-2013
Try:
Code:
echo "::memstat" | mdb -k

It works on Solaris 10. Not sure about Solaris 8.
# 5  
Old 09-18-2013
Its not working. Can you pls provide me some other options?
# 6  
Old 09-18-2013
In what way is it "not working"?
# 7  
Old 09-18-2013
Its saying that mdb command not found.

Previous Thread | Next Thread
Test Your Knowledge in Computers #207
Difficulty: Easy
Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks which uses a link state routing (LSR) algorithm.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

Overall cpu Utilisation

Hi, I need a command to check overall cpu utilisation TIA (3 Replies)
Discussion started by: sumanthupar
3 Replies

2. Linux

Reason/components behind high memory utilisation on linux

Hi friends, Problem: High memory utilisation of one linux server, due to which a database crashed on the server. My question to all: How does glance calculate that memory utilisation on the linux server is 98%. I mean what components are part of (31.4gb-599mb)? How can i check that myself? Can... (3 Replies)
Discussion started by: kunwar
3 Replies

3. Red Hat

Memory Utilisation of httpd process

Hi All, I have a RHEL 5.4 server which runs an Apache web server(2.2.23 compiled with prefork MPM).I want to find out the memory utilised by the web server. # ps -ylC httpd | wc -l 245 # ps -ylC httpd | more S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD S ... (0 Replies)
Discussion started by: Hari_Ganesh
0 Replies

4. AIX

CPU and memory utilisation by one process

Hi, We need to monitor one process over time to see at which exact point it starts to consume to much memory and CPU (to correlate this with some other events). I am a newbie in AIX, so please could you tell me which command will give a snapshot of the current state of a process so that I... (1 Reply)
Discussion started by: yallow
1 Replies

5. AIX

Memory utilization of my Server

Hi, i have two oracle instances running on my server with 7.5G RAM but it is showing almost 99% memory is full as you can see bellow. # svmon size inuse free pin virtual memory 1974272 1954270 20002 336595 1800652 pg space 4194304 ... (7 Replies)
Discussion started by: salmanucit
7 Replies

6. Shell Programming and Scripting

Start a new process when memory/cpu utilisation falls

Hi all, I am a newbie to whole shell scripting thing. I deal with computational studies and a lot of softwares which run on linux. At times, I have to schedule my jobs after some process has started. In these case, I have to use at command to schedule my job. However, I would like to know if... (0 Replies)
Discussion started by: johnsmithgr8
0 Replies

7. UNIX for Dummies Questions & Answers

Script for CPU and Memory Utilisation

Hi, I want to check the CPU and Memory Utilisation in the whole machine (not for a single process). Can someone send me a ready made script which captures all information in a log every 5min?? Thanks, Ajith (0 Replies)
Discussion started by: Ajith Praveen
0 Replies

8. UNIX for Dummies Questions & Answers

amount of memory in my server

Hi all, is there any command that i can execute to find out the size of the harddisk and RAM on my server? Because i am not the SA, i do not have access to such infomation. (2 Replies)
Discussion started by: new2ss
2 Replies

9. UNIX for Advanced & Expert Users

How to check Process Utilisation

Hi, Is there any way in Unix to check for the system usage processwise ?? I mean I wud like to get a listing of running processes along with their CPU / memory utilisation so that I can spot dangerous the space / memory eaters .. Thanks & regards, SNS (2 Replies)
Discussion started by: Sabari Nath S
2 Replies

10. UNIX for Dummies Questions & Answers

need to know CPU utilisation

We have a Sun Sparc System which has multiple CPUs (4 Nos.). I need a command/program that can be used to monitor the % utilization per CPU. (2 Replies)
Discussion started by: saood
2 Replies

Featured Tech Videos