General :: Monitoring A Box - Memory Usage ?
Jul 15, 2010I wanted to know the best way to monitor memory usage, us space and processes and receive an email if a problem occurs?
View 2 RepliesI wanted to know the best way to monitor memory usage, us space and processes and receive an email if a problem occurs?
View 2 RepliesI was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
View 14 Replies View RelatedI have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.
View 1 Replies View RelatedI am looking for free database that has low memory usage and innodb and memory like engins that has C API and support trigger and client/server support for using in embedded linux systems.
View 8 Replies View RelatedUnder SuSE, (Mem: 31908592k total, 31421504k used,) how do i know which process or program using my memory?
View 2 Replies View RelatedI am a bit worried about my linux vserver box. No more memory is left. To investigate this issue, i was looking at "top". But it deeply confuses me. It seems that no more memory is left, altough the process list in top never adds up to 100%
[Code]...
Maximize Linux Memory usage
View 11 Replies View RelatedIn linux, how can I display memory usage of each process if i do a 'ps -ef'?I would like to the 'virtual memory', 'res memory', 'shared memory' of each progress. I can get that via 'top', but I want the same info in 'ps -ef ' so that I can pipe the output to 'grep {my process name}'.
View 3 Replies View RelatedI"m unable to find the memory usage however top shows me the following results.
Tasks: 90 total, 2 running, 88 sleeping, 0 stopped, 0 zombie
Cpu(s): 21.1%us, 1.4%sy, 0.0%ni, 74.0%id, 2.4%wa, 0.0%hi, 1.0%si, 0.0%st
Mem: 8313376k total, 7969976k used, 343400k free, 185496k buffers
[code]....
and free shows the following.
total used free shared buffers cached
Mem: 8118 7764 354 0 181 7335
-/+ buffers/cache: 247 7870
Swap: 4000 0 4000
Total: 12119 7764 4354
how can i find the usage of memory which is being showed by top and free.
I have a toy Linux box with 256mb RAM running Ubuntu 10.04.1 LTS. Here is the output of free -m:
total used free shared buffers cached
Mem: 245 122 122 0 19 64
-/+ buffers/cache: 38 206
[code]....
We run Jboss app server that of course is all multithreaded under one JVM. I have couple of question regarding monitoring on per thread basis:
1. Is there a way to see which thread is bound to which CPU core?
2. Is there a way to see the CPU, Memory usage per thread? Something like prstat on Sun box which is real time and gives detailed information about threads per CPU
What originally seemed like an easy thing to calculate has given me a big headache. Perhaps someone can help me with my issue. I am trying to find, in particular, how much memory certain application processes are taking. The process always is the same name, main_server, but with an argument to tell it what to do when running as a daemon.
When running the following command against all "main_server" processes, it produces a result in megabytes based on the output of the rss field in 'ps'.
Code:
CALC=0
for ea in
`ps -e -orss=,args= |
sort -b -k1,1n |
pr -TW$COLUMNS |
grep main_server |
grep -v "grep main_server" |
[Code]...
Currently I am left scratching my head. For capacity planning purposes, it would be nice to know how many more 'main_server' processes could run on the system without causing it to swap. Knowing the buffer and cache usage will go down as running processes demand more memory, I prefer to look at the free memory excluding cache and buffers. However, since 'ps' is reporting the processes are using more memory than free reports is in use without those things, I have no way to know how many more processes the system can support. I played around with different fields in 'ps', such as vsize, size, etc, but with no luck in matching up any numbers.
Command top displays the pids (tasks) by order of CPU usage. Could I make it order them by memory usage?
View 3 Replies View RelatedI was playing with top to understand ram memory usage of every thread but i am in trouble with some basic questions:
- what difference is between 'thread' and 'process'?
- what does 'virtual image size' means, and Resident size, Shared Mem size, Code size, Data+Stack size, Swapped size? I thought that the only important field is 'Memory usage', but it is represented as a percent value...
I have googled a bit, but nothing really helped me. before opening top i thought that memory is divided in several pages by every process/thread (?) and that this occupied memory would be counted as 'used memory', and nothing else.
I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the execution in a low memory environment without creating a virtual machine?
View 1 Replies View RelatedI'm trying to meter my memory usage. When I use these different programs, they all show me using different amounts of RAM.
View 2 Replies View Relatedhow to find the only particular user (usage) of memory information
View 6 Replies View RelatedI wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs?
View 3 Replies View RelatedI woukld like to know the kernel command or linux kernel file name where i can get the process actual physical RAM usage in linux version 2.6.21 or hiher version.
View 2 Replies View RelatedI am sure that all of us know the result of top command in linux. i want to get the value that the top command return as CPU usage, memory usage. so how do i do(programming relation)?
View 3 Replies View RelatedI need to find the memory usage of a shared library loaded in Linux environment.
I need this information for deciding on whether to make the library part in to application or a seperate application itself.
I'm using CONKY on Ubuntu 9.10, and trying to display network usage statistics for my 3G internet. I want to display something like the following:
Code:
Today---------------------
UP : xxxMb DOWN : xxxMb
Past Week:----------------
UP : xxxMb DOWN : xxxMb
Past Month:---------------
UP : xxxMb DOWN : xxxMb
I have the following script for .conkyrc
Code:
${voffset 4}${font Liberation Sans:style=Bold:size=8}TELKOM 3G (${addr ppp0}) $stippled_hr${font}
Down: $color${downspeed ppp0} k/s ${alignr}Up: ${upspeed ppp0} k/s
${downspeedgraph ppp0 25,90 000000 ff0000} ${alignr}${upspeedgraph ppp0 25,90 000000 00ff00}$color
[code]....
Since this is my number 1 place for asking questions, I figured I would go here first. So I live in New Zealand where good internet doesn't exist yet, and I'm in a flat with 3 other people and we get 40gb a month which hasn't been lasting more than 2 weeks. It is somewhat of a mystery where all our data has gone, so I need a way to monitor usage. We use a variety of operating systems including linux, xp & windows 7 on my pc, and xbox 360. Is there any kind of integrated solution I can use to monitor everything with password protection so it can't be disabled? I have tried looking in the router, but it doesn't give me many statistics, and I think it combines lan with wan usage. At this stage I don't have the money to make a linux box to put between the router and the switch that can monitor everything, but if it comes to it, I will shell out for one.
View 3 Replies View RelatedI have a server rack that I lease out to others. I need a way to monitor each persons bandwidth usage. How can I do this without installing software on their machines or disrupting traffic flow? I have no access to the router, as it is owned by the colo company. I do have access to the switch and firewall, as well as my machines (linux) on the rack.
View 2 Replies View RelatedI was wondering how do you slap a packet analyzer like Wireshark somewhere between all the computers in a house and the router, so you can tell what websites are being accessed? I mean websites, specifically. I'm not trying to monitor bittorrent, IRC or other things yet - I'll get to that later. I just want to break this insanely complex task into smaller bites for now.Also, since my ISP has bandwidth caps but does not have a means for consumers to monitor total network usage, I'd like to figure out how to use Wireshark to do that as well. This, I am assuming, is easier when wireshark is running on the pipeline going into the router.
View 6 Replies View RelatedI've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":
Code:
[root@server1 ~]# free -m
total used free shared buffers cached
Mem: 12011 7946 4065 0 4 23
-/+ buffers/cache: 7919 4092
[code]....
I just wanted to use a network bandwidth usage monitoring application. Scenario: I am using an EV-DO based USB broadband modem with a limited GB plan. For additional data usage they charge per MB. Currently I use either wvdial (mostly) or pon to start the connection. So if there is any network monitoring application which could log time used and data used for the session, it would be great. Actually debian has too many different network monitoring applications, But I am not sure which one suits well for this purpose.
View 5 Replies View RelatedCan you suggest bandwidth monitoring software for GUN/Linux that will log bandwidth based on usage/consumption.
Not options:
- slurm or any other "real time" bandwidth monitoring
- /sbin/ifconfig <interface> | grep "RX bytes" or the like
What do you use to monitor your monthly, daily, hourly bandwidth consumption (assuming that you do).
I have a home PC which connects through internet via a Zyxel ADSL router. I use Fedora 14 as my one and only operating system and sometimes I am seeing the LEDs of my modem blinking very fast which means that something is downloading. I want to know which application download what on my PC. Is there any tool in Fedora that can show which application uses my network?
View 5 Replies View RelatedBack in school I remember using an application that would identify active IP addresses on a network, and basically show you a log of activity. We actually monitored another lab and went in and showed them what we saw (all the machines had IP addresses on the monitors.) We could see websites, bandwidth, etc.
I'm trying to find an application that would do this again. I've been trying to monitor my networks to see what machines are performing unauthorized operations. ISP is showing high bandwidth usage and there is no way checking email and browsing is using this amount, 200GB a month! Something is going on here.