Sponsored Content
Operating Systems HP-UX Find out most memory consumption process in HP UX Post 302903945 by MadeInGermany on Saturday 31st of May 2014 02:23:19 AM
Old 05-31-2014
VSZ shows claimed/reserved/overcommitted memory.
I would rather sort on RSS that shows resident/initialized memory. Without header:
Code:
UNIX95=1 ps -e -o user= -o pid= -o rss= -o vsz= -o args= | sort -k3n | tail -15

 

10 More Discussions You Might Find Interesting

1. AIX

Memory consumption of threads

Hi, how can I find out how many memory (physical and virtual) a thread uses at the moment? I know how to find out the Thread-ID, but not how to monitor it... We use AIX 4.3.3 at th emoment. Please help, I am stuck :confused: !! (0 Replies)
Discussion started by: Fong
0 Replies

2. HP-UX

How to find memory used by a process

Hi, Can anyone help me out in writing the shell scrip which monitors a process which is running and gives me the output of the memory being used by the process, I have the requirement of monitorig the memory usage of the process when it is running. Please help me out (3 Replies)
Discussion started by: vijayagiri
3 Replies

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

4. AIX

consumption memory

Hi, I have a problem with memory on AIX 5.3. On this server, we have JDE Edwards (ERP) and Oracle Database (9.2.0.7.0). We have 4 Gb for physical memory and 3 Gb for paging space. When I stop all services (JDE, Oracle and all other services), the physical memory is not free (4 Gb) svmon... (9 Replies)
Discussion started by: tagger
9 Replies

5. Solaris

real memory consumption of a process

hi pmap, prstat and ps gives the RSS which is shared memory. I need to know the consumption of real memory. how to do that? thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

6. UNIX Desktop Questions & Answers

Regarding Memory Consumption

Hi All I am new to UNIX ,can any one please help in finding MEMORY CONSUMPTION of VLC when i use it as Streaming Server. I need to log the memory consumption for atleast 10 hours. Can any one help me in finding this Please (1 Reply)
Discussion started by: ravikanth17
1 Replies

7. UNIX for Advanced & Expert Users

how to find memory consumption by application

Hello, we are using AIX 6.1 On our AIX 6.1 server there are two instance of Oracle, a Websphear, a Java application and informatica are running. Can I find out how much memory each of these are consuming? Thanks, (1 Reply)
Discussion started by: AIX_DBA
1 Replies

8. HP-UX

memory consumption over a time period

Hi, Can some one please tell me how do I generate a report of the Memory Consumption over a time period: HP-UX B.11.31 U ia64 0440531406 unlimited-user license I normally use glance to monitor memory in run time. Note: I do not have root privileges. Thanks Danish ... (5 Replies)
Discussion started by: danish0909
5 Replies

9. AIX

AIX 7.1 on Power 750 is very slow with no high memory or process consumption

Hi, This thread has been posted before on linuxquestions.org, but no answer, maybe because this is unix question and not linux. I'm posting the same thread here, hope I can get an answer from someone in the meantime, I wish I could post of emergency thread but it needs bits which I don't have :... (6 Replies)
Discussion started by: aLuViAn
6 Replies

10. HP-UX

Memory consumption history

I want to obtain memory consumption history on a HPUX machine. I know I can access data from the last week with sar sar -f /var/adm/sa/sa14 I do not know how to get memory usage with sar. Are there any other ways? thank you (3 Replies)
Discussion started by: black_fender
3 Replies
GETRLIMIT(2)							System Calls Manual						      GETRLIMIT(2)

NAME
getrlimit, setrlimit - control maximum system resource consumption SYNOPSIS
#include <sys/time.h> #include <sys/resource.h> getrlimit(resource, rlp) int resource; struct rlimit *rlp; setrlimit(resource, rlp) int resource; struct rlimit *rlp; DESCRIPTION
Limits on the consumption of system resources by the current process and each process it creates may be obtained with the getrlimit call, and set with the setrlimit call. The resource parameter is one of the following: RLIMIT_CPU the maximum amount of cpu time (in seconds) to be used by each process. RLIMIT_FSIZE the largest size, in bytes, of any single file that may be created. RLIMIT_DATA the maximum size, in bytes, of the data segment for a process; this defines how far a program may extend its break with the sbrk(2) system call. RLIMIT_STACK the maximum size, in bytes, of the stack segment for a process; this defines how far a program's stack segment may be extended. Stack extension is performed automatically by the system. RLIMIT_CORE the largest size, in bytes, of a core file that may be created. RLIMIT_RSS the maximum size, in bytes, to which a process's resident set size may grow. This imposes a limit on the amount of physi- cal memory to be given to a process; if memory is tight, the system will prefer to take memory from processes that are exceeding their declared resident set size. A resource limit is specified as a soft limit and a hard limit. When a soft limit is exceeded a process may receive a signal (for example, if the cpu time is exceeded), but it will be allowed to continue execution until it reaches the hard limit (or modifies its resource limit). The rlimit structure is used to specify the hard and soft limits on a resource, struct rlimit { int rlim_cur; /* current (soft) limit */ int rlim_max; /* hard limit */ }; Only the super-user may raise the maximum limits. Other users may only alter rlim_cur within the range from 0 to rlim_max or (irre- versibly) lower rlim_max. An "infinite" value for a limit is defined as RLIM_INFINITY (0x7fffffff). Because this information is stored in the per-process information, this system call must be executed directly by the shell if it is to affect all future processes created by the shell; limit is thus a built-in command to csh(1). The system refuses to extend the data or stack space when the limits would be exceeded in the normal way: a break call fails if the data space limit is reached. When the stack limit is reached, the process receives a segmentation fault (SIGSEGV); if this signal is not caught by a handler using the signal stack, this signal will kill the process. A file I/O operation that would create a file that is too large will cause a signal SIGXFSZ to be generated; this normally terminates the process, but may be caught. When the soft cpu time limit is exceeded, a signal SIGXCPU is sent to the offending process. RETURN VALUE
A 0 return value indicates that the call succeeded, changing or returning the resource limit. A return value of -1 indicates that an error occurred, and an error code is stored in the global location errno. ERRORS
The possible errors are: [EFAULT] The address specified for rlp is invalid. [EPERM] The limit specified to setrlimit would have raised the maximum limit value, and the caller is not the super-user. SEE ALSO
csh(1), quota(2), sigvec(2), sigstack(2) BUGS
There should be limit and unlimit commands in sh(1) as well as in csh. 4th Berkeley Distribution May 13, 1986 GETRLIMIT(2)
All times are GMT -4. The time now is 11:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy