free memory in debian linux


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users free memory in debian linux
# 1  
Old 06-30-2011
free memory in debian linux

hi- im running glassfish 3.1 on debian server and there are times where I need to start the domain when we cannot access the web application. I checked the memory and it's confusing me. Am i still ok? can you explain the below?

Code:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   2032   744 ?        Ss   Jun29   0:03 init [2]
root         2  0.0  0.0      0     0 ?        S    Jun29   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/0]
root         6  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/1]
root         7  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/1]
root         8  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/1]
root         9  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/2]
root        10  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/2]
root        11  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/2]
root        12  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/3]
root        13  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/3]
root        14  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/3]
root        15  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/4]
root        16  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/4]
root        17  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/4]
root        18  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/5]
root        19  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/5]
root        20  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/5]
root        21  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/6]
root        22  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/6]
root        23  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/6]
root        24  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/7]
root        25  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/7]
root        26  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/7]
root        27  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/8]
root        28  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/8]
root        29  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/8]
root        30  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/9]
root        31  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/9]
root        32  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/9]
root        33  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/10]
root        34  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/10]
root        35  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/10]
root        36  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/11]
root        37  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/11]
root        38  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/11]
root        39  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/12]
root        40  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/12]
root        41  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/12]
root        42  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/13]
root        43  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/13]
root        44  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/13]
root        45  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/14]
root        46  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/14]
root        47  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/14]
root        48  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/15]
root        49  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/15]
root        50  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/15]
root        51  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/16]
root        52  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/16]
root        53  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/16]
root        54  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/17]
root        55  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/17]
root        56  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/17]
root        57  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/18]
root        58  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/18]
root        59  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/18]
root        60  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/19]
root        61  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/19]
root        62  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/19]
root        63  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/20]
root        64  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/20]
root        65  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/20]
root        66  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/21]
root        67  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/21]
root        68  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/21]
root        69  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/22]
root        70  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/22]
root        71  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/22]
root        72  0.0  0.0      0     0 ?        S    Jun29   0:00 [migration/23]
root        73  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksoftirqd/23]
root        74  0.0  0.0      0     0 ?        S    Jun29   0:00 [watchdog/23]
root        75  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/0]
root        76  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/1]
root        77  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/2]
root        78  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/3]
root        79  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/4]
root        80  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/5]
root        81  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/6]
root        82  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/7]
root        83  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/8]
root        84  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/9]
root        85  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/10]
root        86  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/11]
root        87  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/12]
root        88  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/13]
root        89  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/14]
root        90  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/15]
root        91  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/16]
root        92  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/17]
root        93  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/18]
root        94  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/19]
root        95  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/20]
root        96  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/21]
root        97  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/22]
root        98  0.0  0.0      0     0 ?        S    Jun29   0:00 [events/23]
root        99  0.0  0.0      0     0 ?        S    Jun29   0:00 [cpuset]
root       100  0.0  0.0      0     0 ?        S    Jun29   0:00 [khelper]
root       101  0.0  0.0      0     0 ?        S    Jun29   0:00 [netns]
root       102  0.0  0.0      0     0 ?        S    Jun29   0:00 [async/mgr]
root       103  0.0  0.0      0     0 ?        S    Jun29   0:00 [pm]
root       104  0.0  0.0      0     0 ?        S    Jun29   0:00 [sync_supers]
root       105  0.0  0.0      0     0 ?        S    Jun29   0:00 [bdi-default]
root       106  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/0]
root       107  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/1]
root       108  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/2]
root       109  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/3]
root       110  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/4]
root       111  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/5]
root       112  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/6]
root       113  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/7]
root       114  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/8]
root       115  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/9]
root       116  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/10]
root       117  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/11]
root       118  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/12]
root       119  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/13]
root       120  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/14]
root       121  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/15]
root       122  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/16]
root       123  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/17]
root       124  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/18]
root       125  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/19]
root       126  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/20]
root       127  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/21]
root       128  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/22]
root       129  0.0  0.0      0     0 ?        S    Jun29   0:00 [kintegrityd/23]
root       130  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/0]
root       131  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/1]
root       132  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/2]
root       133  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/3]
root       134  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/4]
root       135  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/5]
root       136  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/6]
root       137  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/7]
root       138  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/8]
root       139  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/9]
root       140  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/10]
root       141  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/11]
root       142  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/12]
root       143  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/13]
root       144  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/14]
root       145  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/15]
root       146  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/16]
root       147  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/17]
root       148  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/18]
root       149  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/19]
root       150  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/20]
root       151  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/21]
root       152  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/22]
root       153  0.0  0.0      0     0 ?        S    Jun29   0:00 [kblockd/23]
root       154  0.0  0.0      0     0 ?        S    Jun29   0:00 [kacpid]
root       155  0.0  0.0      0     0 ?        S    Jun29   0:00 [kacpi_notify]
root       156  0.0  0.0      0     0 ?        S    Jun29   0:00 [kacpi_hotplug]
root       157  0.0  0.0      0     0 ?        S    Jun29   0:00 [kseriod]
root       182  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/0]
root       183  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/1]
root       184  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/2]
root       185  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/3]
root       186  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/4]
root       187  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/5]
root       188  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/6]
root       189  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/7]
root       190  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/8]
root       191  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/9]
root       192  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/10]
root       193  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/11]
root       194  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/12]
root       195  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/13]
root       196  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/14]
root       197  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/15]
root       198  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/16]
root       199  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/17]
root       200  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/18]
root       201  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/19]
root       202  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/20]
root       203  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/21]
root       204  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/22]
root       205  0.0  0.0      0     0 ?        S    Jun29   0:00 [kondemand/23]
root       206  0.0  0.0      0     0 ?        S    Jun29   0:00 [khungtaskd]
root       207  0.0  0.0      0     0 ?        S    Jun29   0:01 [kswapd0]
root       208  0.0  0.0      0     0 ?        SN   Jun29   0:00 [ksmd]
root       209  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/0]
root       210  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/1]
root       211  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/2]
root       212  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/3]
root       213  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/4]
root       214  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/5]
root       215  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/6]
root       216  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/7]
root       217  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/8]
root       218  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/9]
root       219  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/10]
root       220  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/11]
root       221  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/12]
root       222  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/13]
root       223  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/14]
root       224  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/15]
root       225  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/16]
root       226  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/17]
root       227  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/18]
root       228  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/19]
root       229  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/20]
root       230  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/21]
root       231  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/22]
root       232  0.0  0.0      0     0 ?        S    Jun29   0:00 [aio/23]
root       233  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/0]
root       234  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/1]
root       235  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/2]
root       236  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/3]
root       237  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/4]
root       238  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/5]
root       239  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/6]
root       240  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/7]
root       241  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/8]
root       242  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/9]
root       243  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/10]
root       244  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/11]
root       245  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/12]
root       246  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/13]
root       247  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/14]
root       248  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/15]
root       249  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/16]
root       250  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/17]
root       251  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/18]
root       252  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/19]
root       253  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/20]
root       254  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/21]
root       255  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/22]
root       256  0.0  0.0      0     0 ?        S    Jun29   0:00 [crypto/23]
root       468  0.0  0.0      0     0 ?        S    Jun29   0:00 [cciss_scan]
root       479  0.0  0.0      0     0 ?        S    Jun29   0:00 [ksuspend_usbd]
root       480  0.0  0.0      0     0 ?        S    Jun29   0:00 [khubd]
root       489  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/0]
root       490  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/1]
root       491  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/2]
root       492  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/3]
root       493  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/4]
root       494  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/5]
root       495  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/6]
root       496  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/7]
root       497  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/8]
root       498  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/9]
root       499  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/10]
root       501  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/11]
root       502  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/12]
root       503  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/13]
root       504  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/14]
root       505  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/15]
root       506  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/16]
root       507  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/17]
root       508  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/18]
root       509  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/19]
root       510  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/20]
root       511  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/21]
root       512  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/22]
root       513  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata/23]
root       514  0.0  0.0      0     0 ?        S    Jun29   0:00 [ata_aux]
root       526  0.0  0.0      0     0 ?        S    Jun29   0:00 [scsi_eh_0]
root       527  0.0  0.0      0     0 ?        S    Jun29   0:00 [scsi_eh_1]
root       541  0.0  0.0      0     0 ?        S    Jun29   0:00 [usbhid_resumer]
root       593  0.0  0.0      0     0 ?        S    Jun29   0:00 [kjournald]
root       639  0.0  0.0   2392   908 ?        S<s  Jun29   0:00 udevd --daemon
root       853  0.0  0.0   2388   764 ?        S<   Jun29   0:00 udevd --daemon
root       857  0.0  0.0   2388   724 ?        S<   Jun29   0:00 udevd --daemon
root       978  0.0  0.0      0     0 ?        S    Jun29   0:00 [kpsmoused]
root      1207  0.0  0.0      0     0 ?        S    Jun29   0:00 [kjournald]
root      1213  0.0  0.0      0     0 ?        S    Jun29   0:04 [kjournald]
daemon    1258  0.0  0.0   1808   492 ?        Ss   Jun29   0:00 /sbin/portmap
statd     1270  0.0  0.0   1936   792 ?        Ss   Jun29   0:00 /sbin/rpc.statd
root      1470  0.0  0.0  28472  1752 ?        Sl   Jun29   0:00 /usr/sbin/rsyslogd -c4
root      1491  0.0  0.0      0     0 ?        S    Jun29   0:03 [flush-104:0]
daemon    1539  0.0  0.0   2160   416 ?        Ss   Jun29   0:00 /usr/sbin/atd
root      1562  0.0  0.0   1704   604 ?        Ss   Jun29   0:00 /usr/sbin/acpid
root      1824  0.0  0.0   3784   800 ?        Ss   Jun29   0:00 /usr/sbin/cron
104       1834  0.0  0.0   2580   788 ?        Ss   Jun29   0:00 /usr/bin/dbus-daemon --system
root      1846  0.0  0.0   5496   988 ?        Ss   Jun29   0:00 /usr/sbin/sshd
avahi     1859  0.0  0.0   2952  1572 ?        S    Jun29   0:00 avahi-daemon: running [bdoucrsa01.local]
avahi     1860  0.0  0.0   2840   480 ?        S    Jun29   0:00 avahi-daemon: chroot helper
101       1861  0.0  0.0   6488   908 ?        Ss   Jun29   0:00 /usr/sbin/exim4 -bd -q30m
root      1890  0.0  0.0   1708   552 tty1     Ss+  Jun29   0:00 /sbin/getty 38400 tty1
root      1891  0.0  0.0   1708   552 tty2     Ss+  Jun29   0:00 /sbin/getty 38400 tty2
root      1892  0.0  0.0   1708   548 tty3     Ss+  Jun29   0:00 /sbin/getty 38400 tty3
root      1893  0.0  0.0   1708   544 tty4     Ss+  Jun29   0:00 /sbin/getty 38400 tty4
root      1894  0.0  0.0   1708   548 tty5     Ss+  Jun29   0:00 /sbin/getty 38400 tty5
root      1895  0.0  0.0   1708   548 tty6     Ss+  Jun29   0:00 /sbin/getty 38400 tty6
root      3299  0.0  0.0   8284  2812 ?        Ss   Jun30   0:00 sshd: crsuser [priv]
crsuser   3337  0.0  0.0   8284  1632 ?        S    Jun30   0:03 sshd: crsuser@pts/3
crsuser   3338  0.0  0.0   5592  2880 pts/3    Ss   Jun30   0:00 -bash
crsuser   3353  0.3  0.0   2584  1300 pts/3    S+   Jun30   2:49 top
root      4048  3.1 20.0 907728 725836 ?       Sl   Jun30  25:53 /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java -cp 

/opt/glassfish3/glassfish/modules/glassfish.jar -XX:+Unlo
root     18801  0.0  0.0   8424  2876 ?        Ss   08:45   0:00 sshd: root@pts/1
root     18805  0.0  0.0   4552  1756 pts/1    Ss   08:45   0:00 -bash
root     18809  0.0  0.0   4540  1744 pts/1    S    08:45   0:00 bash
root     18832  0.0  0.0   8284  2812 ?        Ss   Jun30   0:00 sshd: crsuser [priv]
crsuser  18835  0.0  0.0   9640  2964 ?        S    Jun30   0:02 sshd: crsuser@pts/0
crsuser  18836  0.0  0.0   5608  2964 pts/0    Ss+  Jun30   0:00 -bash
root     18983  0.0  0.0   3872  1056 pts/1    R+   08:50   0:00 ps aux


conclusion: Java is using up to 20% of the available memory

# free -km
             total       used       free     shared    buffers     cached
Mem:          3538       3337        200          0        105       2396
-/+ buffers/cache:        836       2702
Swap:        45778          0      45778
bdoucrsa01:~#


Last edited by pludi; 07-01-2011 at 04:15 AM..
# 2  
Old 07-01-2011
Let me quote this and put it in code tags so the columns line up and I can read it.

[edit] Argh, I can't, copy-pasting ruins the spacing and I can't even quote you to get it, it just vanishes completely because you put it in quote instead of code tags. Could you repost in code tags?

---------- Post updated at 11:01 PM ---------- Previous update was at 10:58 PM ----------

That 2396 in cache counts as free memory by the way, don't be alarmed because of the low count in 'free'.

---------- Post updated 07-01-11 at 11:08 AM ---------- Previous update was 06-30-11 at 11:01 PM ----------

Yes, Java is using 20% of available memory. The important column is RSS, for "resident set size", which only counts memory actually in RAM and physically in use.

Sometimes there's complications like lots of shared libraries artificially inflating the memory count(imagine a 10MB shared library used in 100 processes, which'd total a gig, even though it's using the same ten megs of physical RAM for all of them) but this isn't one of them.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

2. Solaris

how to get the more memory free space (see memory free column)

Hi all, Could please let me know how to get the more memory free space (not added the RAM) in local zone. -bash-3.00# vmstat 2 5 kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr s0 s1 s1 s1 in sy cs us sy... (3 Replies)
Discussion started by: murthy76
3 Replies

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

4. Linux

Linux Server free memory decreases

Hi, I am facing one problem, On our Linux server Free memory decreases gradually but my java process memory does not increase. Please any one tell, why free memory decreases gradually (1MB in approx 15 minutes). kernel details:- Linux linux4 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT... (13 Replies)
Discussion started by: Vaibhav Agarwal
13 Replies

5. Linux

Free Linux Memory by Dropping Caches

Linux Kernels 2.6.16 and up provide a way to instruct the kernel to drop the page cache, inode and dentry caches on command. This tip can help free Linux memory without a reboot. Note: This is a non-destructive operation. Dirty objects are not freeable, hence; you must run sync beforehand. ... (0 Replies)
Discussion started by: Neo
0 Replies

6. Programming

Determining free(available) memory in MV linux

HI I'm a rookie in C programming and I'm working in Monta Vista Linux. I have to write a program that displays free memory. I have memtester(allready written by someone else) and now I have to type how much amount of memory tester will test and I want that memtester finds out himself how much of... (11 Replies)
Discussion started by: trancedeejay
11 Replies
Login or Register to Ask a Question