Discussion:
Java consume zero memory??
(too old to reply)
Carfield Yim
2010-12-16 16:53:12 UTC
Permalink
In solaris 10, top show only one java process use memory.....

load averages: 0.36, 0.33,
0.33
11:26:46
97 processes: 96 sleeping, 1 on cpu
CPU states: 98.8% idle, 1.0% user, 0.3% kernel, 0.0% iowait, 0.0%
swap
Memory: 48G real, 33G free, 24G swap in use, 26G swap free

PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
7862 dvsmthku 86 59 0 0K 0K sleep 14:55 0.55% java
7645 dvsmthku 56 59 0 0K 0K sleep 4:09 0.16% java
12003 dvsmthku 57 59 0 0K 0K sleep 4:07 0.15% java
19191 dvsmthku 185 39 6 57M 44M sleep 14:13 0.07% rvrd
7800 dvsmthku 72 59 0 0K 0K sleep 1:41 0.06% java
11848 dvsmthku 51 59 0 0K 0K sleep 1:23 0.05% java
11959 dvsmthku 67 59 0 0K 0K sleep 1:19 0.05% java
4553 root 1 59 0 15M 14M sleep 28:44 0.02% se.i386
11743 dvsmthku 46 59 0 0K 0K sleep 0:11 0.02% java
7707 dvsmthku 50 59 0 0K 0K sleep 0:19 0.01% java
1668 patrol 1 29 10 39M 34M sleep 22:42 0.01%
PatrolAgent
7612 dvsmthku 51 59 0 0K 0K sleep 0:15 0.01% java
9020 dvsmthku 52 59 0 308M 287M sleep 1:34 0.00% java
383 root 37 59 0 22M 18M sleep 3:16 0.00% nscd
1509 root 19 59 0 16M 13M sleep 1:50 0.00% fmd

But 15GB memory already gone, is that we should use other command than
top to check the process resource?
John D Groenveld
2010-12-16 18:44:30 UTC
Permalink
Post by Carfield Yim
In solaris 10, top show only one java process use memory.....
What does prstat(1M) report?

John
***@acm.org
Carfield Yim
2010-12-20 03:03:24 UTC
Permalink
Post by John D Groenveld
Post by Carfield Yim
In solaris 10, top show only one java process use memory.....
What does prstat(1M) report?
John
Thanks... right prstat make a lot more sense, so I should use prstat
in solaris 10? Interesting Sun keep rolling new tools but not making
existing tools work as usual, anyway, thanks a lot

PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/
NLWP
24513 dvsmthku 461M 426M sleep 59 0 0:20:09 0.5% java/52
24446 dvsmthku 347M 330M sleep 59 0 0:14:45 0.5% java/74
24028 dvsmthku 653M 288M sleep 59 0 0:03:07 0.2% java/56
24126 dvsmthku 653M 288M sleep 59 0 0:03:07 0.1% java/56
24415 dvsmthku 696M 266M sleep 59 0 0:01:53 0.1% java/72
24281 dvsmthku 698M 262M sleep 59 0 0:01:24 0.1% java/72
h***@bofh.ca
2010-12-20 14:24:38 UTC
Permalink
Post by Carfield Yim
in solaris 10? Interesting Sun keep rolling new tools but not making
existing tools work as usual, anyway, thanks a lot
I don't believe Sun ever provided top as part of Solaris. It's always
been a third-party addon.
--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
Chris Ridd
2010-12-20 18:00:59 UTC
Permalink
Post by h***@bofh.ca
Post by Carfield Yim
in solaris 10? Interesting Sun keep rolling new tools but not making
existing tools work as usual, anyway, thanks a lot
I don't believe Sun ever provided top as part of Solaris. It's always
been a third-party addon.
They supply it in SFW, but presumably that has less of a promise of
stability/functionality than other parts of the OS.

prstat is pretty old though, isn't it?
--
Chris
John D Groenveld
2010-12-20 18:35:03 UTC
Permalink
Post by Chris Ridd
They supply it in SFW, but presumably that has less of a promise of
stability/functionality than other parts of the OS.
top is included on the Solaris 10 Companion CD but
it is unsupported:
<URL:http://www.sun.com/software/solaris/freeware/>
Not sure which version of top the OP is using.
Post by Chris Ridd
prstat is pretty old though, isn't it?
Solaris 8:
<URL:http://docs.sun.com/app/docs/doc/805-6332/6j5vhemob?l=en&a=view>

John
***@acm.org

Loading...