Sponsored Content
Top Forums Shell Programming and Scripting Linux Application Memory usage Post 303017076 by ron5174 on Tuesday 8th of May 2018 11:22:56 PM
Old 05-09-2018
Ok. It depends US & Canada share the same Db where as for e.g Mexico has a different DB . I am currently using the below command to see the memory usage

ps aux --sort rss

so does this give a approximate memory usage , the box size is 32 GB . Here what should i choose VSZ or RSS ?

Thanks
Ron T
 

10 More Discussions You Might Find Interesting

1. Red Hat

Linux memory usage

What's the best way to find out how much memory is being used/available? I tried using free, but I didn't quite understand the output. Can someone explain it? $ free total used free shared buffers cached Mem: 16304536 16256376 48160 0 ... (6 Replies)
Discussion started by: junkmail426
6 Replies

2. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

3. UNIX for Dummies Questions & Answers

Memory Usage on Linux server

Hi , As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd. Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (1 Reply)
Discussion started by: Jaywantmm
1 Replies

4. Linux

Memory Usage on Linux server

Hi , As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd. Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (4 Replies)
Discussion started by: Jaywantmm
4 Replies

5. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

6. Shell Programming and Scripting

Memory Usage Monitor on Linux/SunOS Servers

ok, so i'm trying to write a shell script (not perl) that monitors memory usage on a server. but i'm confused as to what fields exactly determines that yes, memory is low on a particular server. it sounds simple enough, but it really isn't. what do I look for in the field below? ... (1 Reply)
Discussion started by: SkySmart
1 Replies

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

8. UNIX for Dummies Questions & Answers

Any way to force memory usage with an application under Mono?

I'm running CentOS 5.5 and Mono 2.10 on a VPS in which I have root access too. I have a large java app that is set to use no more than 3GB of ram where I have 4GB of ram in total. I have another app that has to use Mono but it ends up using up all the physical ram and running into the swap... (3 Replies)
Discussion started by: seriosbrad
3 Replies

9. UNIX for Advanced & Expert Users

Memory Usage(Physical) in one Word? Suse Linux.

Experts, I have been trying to figure out what is the total physical memory used from this output: And what is the free memory available for the application or any programs. The answer has to be in this format: 1. Physical Memory Used= xx.xx% 2. Physical Memry available= yy.yy% ... (5 Replies)
Discussion started by: rveri
5 Replies

10. Red Hat

Swap memory usage is high in Linux

Hi , There is one following alert . Message : cdm:Average (2 samples) swap memory usage is now 91%, which is above the warning threshold (90%) Here is my findings. Output of TOP command in Linux server. top - 14:21:44 up 6 days, 4:48, 1 user, load average: 2.55, 2.06,... (3 Replies)
Discussion started by: Maddy123
3 Replies
vtimes(3)						     Library Functions Manual							 vtimes(3)

Name
       vtimes - get information about resource utilization

Syntax
       vtimes(par_vm, ch_vm)
       struct vtimes *par_vm, *ch_vm;

Description
       This facility has been superseded by

       The  routine  returns accounting information for the current process and for the terminated child processes of the current process.  Either
       par_vm or ch_vm or both may be 0, in which case only the information for the pointers which are non-zero is returned.

       After the call, each buffer contains information as defined by the contents of the include file /usr/include/sys/vtimes.h:
       struct vtimes {
	    int     vm_utime;		    /* user time (*HZ) */
	    int  vm_stime;	/* system time (*HZ) */
	    /* divide next two by utime+stime to get averages */
	    unsigned vm_idsrss;      /* integral of d+s rss */
	    unsigned vm_ixrss;	     /* integral of text rss */
	    int  vm_maxrss;	     /* maximum rss */
	    int  vm_majflt;	     /* major page faults */
	    int  vm_minflt;	     /* minor page faults */
	    int  vm_nswap;	/* number of swaps */
	    int  vm_inblk;	/* block reads */
	    int  vm_oublk;	/* block writes */
       };
       The vm_utime and vm_stime fields give the user and system time respectively in 60ths of a second (or 50ths if that is the frequency of wall
       current	in your locality.) The vm_idrss and vm_ixrss measure memory usage.  They are computed by integrating the number of memory pages in
       use each over cpu time.	They are reported as though computed discretely, adding the current memory usage (in 512 byte pages) each time the
       clock  ticks.   If  a  process  used 5 core pages over 1 cpu-second for its data and stack, then vm_idsrss would have the value 5*60, where
       vm_utime+vm_stime would be the 60. The vm_idsrss integrates data and stack segment usage, while vm_ixrss  integrates  text  segment  usage.
       The vm_maxrss reports the maximum instantaneous sum of the text+data+stack core-resident page count.

       The  vm_majflt  field  gives the number of page faults which resulted in disk activity; the vm_minflt field gives the number of page faults
       incurred in simulation of reference bits; vm_nswap is the number of swaps which occurred.  The number of file  system  input/output  events
       are  reported  in vm_inblk and vm_oublk These numbers account only for real I/O.  Data supplied by the caching mechanism is charged only to
       the first process to read or write the data.

See Also
       wait3(2), time(3)

																	 vtimes(3)
All times are GMT -4. The time now is 06:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy