Question about disk_io information again!
Hi, there are some people answered my question. Thanks lots. But I still can't find the information what I need. So, here, I would like to say some details about my problem. I am using a test software (DOTs) to test databases performance. It's is only supported on linux platforms. It need to accesses the system level files (/proc/meminfo, /proc/stat etc.) and gets CPU, disk and memory usage information by parsing the system level files. I looked into the source code where it reads and parse the system level file. I found it read /proc/stat file to get cpu, disk and page information. It is supposed that in the /proc/stat file, there are some lines start with "cpu", "disk" or "disk_io", "page", and the program get the correspoding information from those lines. But in Suse 9.3(the version I am using), I used "cat stat" to show the content of the stat file, there are not disk_io and page_in_out information. So far, I found the page_in_out information in the vmstat file. But I still can not find the disk_io information.I searched all of the file under /proc/ folder, but no resule. The result of the test software I am tring to use is supposed to be something like following: <Total Execution Time> 0 hours 1 minutes. <Current Concurrent DB Connections> 1. <JDBC APIs> Total number of QUERY 2559. Total number of UPDATE 0. Total number of INSERT 7597. Total number of DELETE 0. Total number of FAILED 0. <Average CPU> Peak of this Interval: 49% Average of this Interval: 39% Peak of all: 49% Average of all: 39% <CPU0> Peak of this Interval: 66% Average of this Interval: 40% Peak of all: 66% Average of all: 40% <CPU1> Peak of this Interval: 82% Average of this Interval: 38% Peak of all: 82% Average of all: 38% <Memory> Peak of this Interval: 257M Average of this Interval: 250M Peak of all: 257M Average of all: 250M <Disk IO> Peak of this Interval: 430/s Average of this Interval: 339/s Peak of all: 430/s Average of all: 339/s <Page In> Peak of this Interval: 0/s Average of this Interval: 0/s Peak of all: 0/s Average of all: 0/s <Page Out> Peak of this Interval: 2494/s Average of this Interval: 1964/s Peak of all: 2494/s Average of all: 1964/s Now, the disk_io is just 0, since the program can not get the information. Someone could help me? Thanks. Raymond _________________________________________________________________ Scan and help eliminate destructive viruses from your inbound and outbound e-mail and attachments. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.
participants (1)
-
raymond raymond