Sponsored Content
Top Forums Shell Programming and Scripting List processes using my memory Post 302972399 by mohtashims on Thursday 5th of May 2016 01:12:48 AM
Old 05-05-2016
Quote:
Originally Posted by Corona688
Notice how little swap you're using -- you're not struggling with low memory.

Where's it all going, then?

Code:
41199488k cached

...which counts as free for your purposes.
Dont know why i m not able to start a java process and i get this error regarding memory.

Code:
Java HotSpot(TM) 64-Bit Server VM warning: Failed to reserve shared memory (errno = 12).
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
<May 5, 2016 1:26:25 AM> <FINEST> <NodeManager> <Waiting for the process to die: 26500>
<May 5, 2016 1:26:25 AM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>

Shouldn't it empty the cache automatically and assign some memory to my process ?

Should i empty the cache ? If yes, How can i do that ?

Will it help me resolve my issue because i am not able to start any java processes on this system.

Any drawback or issues with release the 41199488k cached

Last edited by mohtashims; 05-05-2016 at 02:34 AM..
 

10 More Discussions You Might Find Interesting

1. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

2. Shell Programming and Scripting

Processes in Shared Memory

Hello , I would like to know how to check if a given process id belongs to particualr shared memory segment . Please help Thanks in advance (3 Replies)
Discussion started by: rmv
3 Replies

3. Shell Programming and Scripting

Reserve resources (memory and processes)

I have a shell script which sets some variables and then calls modules of a program in succession, one by one. Problem is that the script is executed on servers with many users, so sometimes the script starts running, runs for 10 minutes and then breaks due to lack of resources when other users run... (1 Reply)
Discussion started by: tetreb
1 Replies

4. Homework & Coursework Questions

processes and shared memory

Hi again! I have 2 questions ..: How can i create exactly one number of processes ? For example i want to create l*n processes and i tried this: for(i=0;i<l*n;i++){ pid=fork()} But it creates more than l*n Also, i want each child to run another x.c program with 3 command line... (1 Reply)
Discussion started by: giampoul
1 Replies

5. Homework & Coursework Questions

processes and shared memory

Hi again! I have 2 questions ..: How can i create exactly one number of processes ? For example i want to create l*n processes and i tried this: for(i=0;i<l*n;i++){ pid=fork()} But it creates more than l*n Also, i want each child to run another x.c program with 3 command line... (1 Reply)
Discussion started by: giampoul
1 Replies

6. Solaris

How get memory and cpu usages of user's processes?

I have the processes (100+) by the oracle id and I'd to get the summarized view of the oracle processes' usage of the memory and the cpu. top would give me some, but not all. Thanks (3 Replies)
Discussion started by: iwmi
3 Replies

7. AIX

Identify All Processes memory and cpu usage.

Hi All, Anyone has script to monitor AIX total processes memory and cpu usage that contribute to the total memory and CPU utilize so far ? The purpose of this is to analyze process memory trend. Thanks. Best Regards, ckwan (2 Replies)
Discussion started by: ckwan
2 Replies

8. UNIX for Dummies Questions & Answers

Finding the most memory consuming processes in Linux

Platform: Oracle Linux 6.4 To find the most memory consuming processes, I tried the following 2 methods 1. Method1 # ps aux | head -1 ; ps aux | sort -nk +4 | tail -7 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 95 0.0 0.0 0 0 ? ... (2 Replies)
Discussion started by: kraljic
2 Replies

9. Programming

JVM processes are not getting memory allocation as soon as started

Hi, i have this scenario, when i start about 20 java processes simultaneously in unix and run ps -eaf command i can see that processes are running but memory is not getting allocated to them immediately and it stays ideal for at least 10-15 min. Meanwhile i run free command to check the RAM,... (5 Replies)
Discussion started by: Vishal Gangrade
5 Replies

10. AIX

AIX memory usage by processes

Hi, i have 2 identical web servers using AIX. I use nmon analyser to check their performance. The server A exceeds 20% memory usage for system, 5% for cache and the rest 75% for processes. While, it uses 4% of Paging Space. The server B exceeds 20% for system, 45% for cache and 35% for processes.... (24 Replies)
Discussion started by: dim
24 Replies
XSYSINFO(1x)							 Debian GNU/Linux						      XSYSINFO(1x)

NAME
xsysinfo - Display Linux kernel parameters in graphical form SYNOPSIS
xsysinfo [-help] [-update n] [-[no]title] [-[no]labels] [-[no]loadavg] [-[no]load] [-[no]mem] [-[no]swap] [-[no]smp] DESCRIPTION
Xsysinfo is an X application to display some Linux kernel parameters in graphical form. It is like a mix of top, free and xload with the difference that the values are shown in form of a horizontal bar. The displayed values are: CPU load average, CPU load, memory and swap sizes (details see below). OPTIONS
-update n Set update rate to n milli-seconds -title Show title string -notitle Don't show title string -labels Show gauge labels -nolabels Don't show gauge labels -loadavg Show CPU load average value -noloadavg Don't show CPU load average value -load Show CPU load value -noload Don't show CPU load value -smp Show separate SMP loads -nosmp Don't show separate SMP loads. -mem Show memory info -nomem Don't show memory info -swap Show swap info -noswap Don't show swap info -help Display options DISPLAY
Xsysinfo display the following values: CPU load average CPU load average between 0.000-8.000. The gauge's bar is subdivided into segments, where one segment represents a load value of 1.0. The bar's full length is automatically scaled, depending on the displayed value. CPU load percentage CPU load time to CPU idle time subdivided in three segments: user load, system load and nice load. On an SMP system the -smp option replaces the single total load meter with a separate meter for each processor. Memory The memory gauge's bar is subdivided into two segments with the amount of physical memory, which is used by processes on the left and physical memory used for the page and buffer cache on the right. The length of the whole bar, which is the sum of these two val- ues, shows the amount of physical memory currently used by the system. Swap The percentage of swap space used by the system to total amount of swap space. AUTHORS
Xsyinfo is written by Gabor Herr <herr@iti.informatik.th-darmstadt.de> and currently maintained by Ronald Wahl <ronald.wahl@informatik.tu- chemnitz.de>. This manual page was created by Roland Rosenfeld <roland@spinnaker.de> for the Debian GNU/Linux system (but may be used by others). Debian Project December 2005 XSYSINFO(1x)
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy