memory calculation


 
Thread Tools Search this Thread
Operating Systems Linux memory calculation
# 1  
Old 08-08-2007
Lightbulb memory calculation

hi all,

sorry for silly question.
but i have a doubt in calculation of memory utilization calculation.

using 'free' command we calculate the memory utilization as
used/total.

but my friend said that its wrong and we have to include cached also as
(used-cached)/memory.

but these gives us much variation between our calculation and this. we totally in confusion about it.....

pleae help me out.


Tanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Physical memory calculation

Below is Physical Memory result : -bash-3.00$ prtconf | grep "Memory size" Memory size: 36854 Megabytes -bash-3.00$ vmstat 1 2 | tail -1 0 0 0 28220616 1318888 15 143 0 0 0 0 0 253 2 15 0 5215 14989 5917 7 0 93 and the script i have to calculate this in Percentage is : #!/bin/sh... (3 Replies)
Discussion started by: mjoshi010207
3 Replies

2. AIX

Regarding AIX Memory Utilization usage calculation

Hello, Am working on small program that used to calculate the memory usage of AIX servers. Am using svmon -G command to get the memory usage. For example, consider the following output. $ svmon -G size inuse free pin virtual mmode memory ... (9 Replies)
Discussion started by: maruthu
9 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. Shell Programming and Scripting

Memory Calculation

Hi, I want an script that calculate total memory consume by all Oracle Process 6689 oraprod 16 0 1163m 155m 150m S 0 2.0 0:01.95 oracle 7046 oraprod 16 0 1161m 18m 14m S 0 0.2 0:00.02 oracle 7392 oraprod 16 0 1165m 39m 33m S 0 0.5 0:00.07 oracle 7394 oraprod 16 0 1161m 22m 18m S... (1 Reply)
Discussion started by: telnor
1 Replies

5. Shell Programming and Scripting

Oracle Process Memory calculation

Hello, I am using Rehat Oracle Enterprise server. Every time almost 150 process running on my server. #ps -ef | grep oracle | wc -l Now i want to calculate how much memory spend by each process or all process together. (1 Reply)
Discussion started by: telnor
1 Replies

6. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

7. Programming

How to deal with lots of data in memory in order not to run out of memory

Hi, I'm trying to learn how to manage memory when I have to deal with lots of data. Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at once (yep!) but of course the... (1 Reply)
Discussion started by: emitrax
1 Replies

8. 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

9. AIX

ulimits max locked memory virtual memory

Hi, Would any one be so kind to explain me : are ulimits defined for each user seperately ? When ? Specialy what is the impact of : max locked memory and virtual memory on performance of applications for a user. Many thanks. PS : this is what I can see in MAN : ulimit ] ... (5 Replies)
Discussion started by: big123456
5 Replies
Login or Register to Ask a Question
PSIZE(1)							  PDB2PQR Manual							  PSIZE(1)

NAME
psize - Get dimensions and other information from PQR files SYNOPSIS
psize [--cfact=value] [--fadd=value] [--space=value] [--gememfac=value] [--gememceil=value] [--ofrac=value] [--redfac=value] {pqrfile} psize {--help | -h} DESCRIPTION
psize derives information from PQR files to preprare the models of proteins and chemicals for electrostatics calculations. The tool calculates dimensions for coarse and fine grids, grid spacings, box size and estimates the memory required to perform an electrostatics calculation. The calculation of this information can be influenced by giving constraints to psize as parameters. OPTIONS
psize accepts the following options: --help, -h Print a help message and exit. --cfact=value Factor by which to expand the molecule dimensions to get the coarse grid dimensions --fadd=value Amount to add to the molecule dimensions to get the fine grid dimensions. --space=value Desired fine mesh resolution. --gememfac=value Number of bytes per grid point required for sequential MG calculation. --gememceil=value Maximum MB allowed for sequential MG calculation. Adjust this to force the script to perform faster calculations (which require more parallelism). --ofrac=value Overlap factor between mesh partitions. --redfac=value Maximum factor by which a domain dimension can be reduced during focusing. SEE ALSO
apbs(1), pdb2pqr(1) AUTHOR
Manuel Prinz <debian@pinguinkiste.de> Wrote this manpage for the Debian System. COPYRIGHT
Copyright (C) 2008 Manuel Prinz psize 2008-06-04 PSIZE(1)