1

I want to repeat this question using python. Reason is I have access to 10 nodes in a cluster and each node is not identical. They range in performance and I want to find which is the best computer to use remotely based on memory and cpu-speed/cores available.

EDIT: Heck, even just a command line interface would be useful. Any quick and dirty solutions?

1
  • cat /proc/cpuinfo will work. I can call it from python if i need. Commented Aug 13, 2009 at 18:47

1 Answer 1

1

Take a look at the SIGAR library which has an extensive API for collecting system data cross-platform. It also has libraries available in many languages (Python, Java, Erlang, Ruby, etc).

Sign up to request clarification or add additional context in comments.

2 Comments

I don't have root access for any installs on the nodes. Will that be an issue?
No, I've used the Java version and it was just a JAR file I dropped in place.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.