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
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
I agree. Here's the link:
subject: load factor /load balancing of server
jQuery in Action, 3rd edition