File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes load factor /load balancing of server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "load factor /load balancing of server" Watch "load factor /load balancing of server" New topic

load factor /load balancing of server

j krishnan

Joined: Jul 20, 2001
Posts: 27
is there any java program to find out the load factor
load factor depends on memory , cpu usage etc etc.
or how will u calculate load factor of a server is there any general formula

Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Not that I'm aware of. Of course, there are the Runtime methods freeMemory() and totalMemory(), but those only give a portion of the picture you're looking for. Since this sort of info is very platform-specific, you probably need to query the OS using Runtime exec() and an appropriate command to the OS. Good luck...

"I'm not back." - Bill Harding, Twister
subject: load factor /load balancing of server
It's not a secret anymore!