Can any one suggest me the java code to find the i/o usage of a process?
I am able to calculate memory usage and cpu usage of a process through jav code but unable to do so for io usage.

Recommended Answers

All 8 Replies

i/o usage of a process?

That sounds like Operating System stuff. It would probably require native code.

What is a native code. Can you please elaborate.

Instructions for the CPU in your PC. Something that it can read and execute directly.

Instructions for the CPU in your PC. Something that it can read and execute directly.

Hi
Ok , i got the point . So can you please suggest some code for that.

JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet Explorer, Firefox, Chrome, Opera, and Safari.

* JavaScript was designed to add interactivity to HTML pages
* JavaScript is a scripting language
* A scripting language is a lightweight programming language
* JavaScript is usually embedded directly into HTML pages
* JavaScript is an interpreted language (means that scripts execute without preliminary compilation)
* Everyone can use JavaScript without purchasing a license

can you please suggest some code for that

Sorry Java is NOT native code. C and assembly are.
Try asking your question on a forum for those languages

please send me some of java programs
for practice secssion

If you use google, it will return links to all the java programs that you want.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.