Results 1 to 8 of 8
Hi All,
I want to check the RAM bandwidth & IO/s(Input & Output Transfer rate) while running application.
Is there any command to check in shell ?
For checking DISK ...
- 07-16-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 11
RAM bandwidth and IO/s
Hi All,
I want to check the RAM bandwidth & IO/s(Input & Output Transfer rate) while running application.
Is there any command to check in shell ?
For checking DISK bandwidth & IO/s we have iostat command.
Please specify how to check for RAM.
Thanks in advance.
- 07-17-2009 #2
top commands reveals the about of memory consumed after each second. You may install htop as an external package which shows it every sec. Hope this helps
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 07-18-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
For memory info, try vmstat. However, it doesn't show for specific processes. For info on specific processes, use top or htop.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-19-2009 #4Just Joined!
- Join Date
- May 2009
- Posts
- 11
top and vmstat gives the memory usage for process, but i want bandwidth and Transfer rate of RAM which will tell the speed at which RAM operates while running any application .
- 07-19-2009 #5
try htop it shows the total memory usage.
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 07-19-2009 #6Just Joined!
- Join Date
- May 2009
- Posts
- 11
apart from showing graphical representation for memory,cpu and swap i haven't find any column for bandwidth(MB/s) or Transfer rate(IO/s) in htop.
For checking bandwidth and Transfer rate(IO/s) for disk, iostat will give clear picture.
i just want to know is there any command for checking the same thing for ram ?
- 07-19-2009 #7
I dont know about command but there is a file in /proc which contains all information about memory.
Code:cat /proc/meminfo
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 07-19-2009 #8Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
I'm not aware of any tools that show bandwidth. You would need to write your own tool to do that, keeping in mind that you need to code it so as to avoid cache usage as well as triggering the paging system as either will skew such benchmarks quite significantly. There may be ways of disabling the on-chip (level 1) cache via a processor instruction, and off-chip (level 2) cache via some bios or in/out port instruction, and there are ways to pin specific user-space memory ranges into RAM and not swap them to disc, but since I haven't had the need to do that on Linux systems I am not sure how you would do that, off hand.
In any case, this is not simple code to write, though you might find some FOSS benchmarks that do this - remember that Google is your friend!Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
