OOagent137
2003-08-08, 15:06 PM
After running the following:
free -m
I became concerned that we're running out of memory, we were just about full. This worried me. I tried running vmstat, but that didn't help much either as far as useful info goes.
Basically, this is what I want to know. What processes are eating up the memory and what users are initiating those process request?
I've used top, so I can figure out what processes are eating up the memory (though not always what the processes actually do, Google isn't always a help on this). I assume the process "apache" represents any request to our webserver. I just want to know what domains are making the most request and what exactly on those domains is requesting them.
Also, how do I figure out what percentage of memory, CPU utilization, disk i/o percentage the user is taking up?
I'm seeing a column called "USER" w/ the top command. I'm not sure what this represents, but I see things like named, mysql, psaadmin, root, ect....I realize that root would be me, but nobody else is logged in persay. So, that looks like a program or something instead of a user. What do they represent?
I know this was a bit of a fragmented question, and I apologize for that. Any help is appreciated :)
I'm assuming RedHat 7.3 can do this. Let me know if I'm wrong. If a 3rd party script is needed, then I can continue to look into those (topics have been started on this already). Anyway, thanks for your help.
free -m
I became concerned that we're running out of memory, we were just about full. This worried me. I tried running vmstat, but that didn't help much either as far as useful info goes.
Basically, this is what I want to know. What processes are eating up the memory and what users are initiating those process request?
I've used top, so I can figure out what processes are eating up the memory (though not always what the processes actually do, Google isn't always a help on this). I assume the process "apache" represents any request to our webserver. I just want to know what domains are making the most request and what exactly on those domains is requesting them.
Also, how do I figure out what percentage of memory, CPU utilization, disk i/o percentage the user is taking up?
I'm seeing a column called "USER" w/ the top command. I'm not sure what this represents, but I see things like named, mysql, psaadmin, root, ect....I realize that root would be me, but nobody else is logged in persay. So, that looks like a program or something instead of a user. What do they represent?
I know this was a bit of a fragmented question, and I apologize for that. Any help is appreciated :)
I'm assuming RedHat 7.3 can do this. Let me know if I'm wrong. If a 3rd party script is needed, then I can continue to look into those (topics have been started on this already). Anyway, thanks for your help.