Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple computer CPU monitor?



For a more graphical solution, you could take a look at Ganglia: <http://ganglia.sourceforge.net/>. I've seen it used on Xeon and Athlon clusters, and the Ganglia team claims compatibility with Mac OS X.

There are even links toward the bottom of the above-linked page for live demos of Ganglia running so you can see what output you might expect.

-Albert


One simple way to do so from the command line is (zsh approach, modify
accordingly for other shells):

    for node in node1 node2 node3 node4; do
        rsh $node print "node $node: \$(uptime)"
    done

where  node1, node2,... are the names for the nodes you want to status .
We use this on our Linux computational clusters to monitor how busy they
are (mind you, they are inaccessible to pubic access, so rsh is not a
security risk for us). The script is also readily adaptable to other
commands, such as w for monitoring who is logged in.

If you have a compute cluster and a numerical naming convention such as
n1, n2,...n64 for the nodes, then the first line can be modified to be

    for node in n{1..64}; do

where the {1..64} would specify a range of values, in this instance 1
through 64. The variable node then become n1, n2,...n64.

Don Jones

 >Is anyone aware of a utility for monitoring the CPU usage of each
 >processor in an Xserve cluster?
 >
 >It'd be nice to have the ability to see "at a glance" how busy the
 >cluster is ...
 >
 >Kerry
 >_______________________________________________
 >scitech mailing list | email@hidden
 >Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/
scitech
 >Do not post admin requests to the list. They will be ignored.
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.

--

======
Albert I. Reuther, Ph.D., MBA
Technical Staff, Embedded Digital Systems
MIT Lincoln Laboratory
244 Wood Street
Lexington, MA 02420-9108
Email: email@hidden
Phone: 781.981.5699
Fax  : 781.981.5255
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.