checkpc: checking the PCs on your local network

Sometimes, specially in small 1s computational groups, it is usual that the people uses Must the workstations for running calculations, and in case of a “trusted” network, were all the colleagues can log-in to each other’s computers, it is sometimes also the case, that everybody calculates cheap mlb jerseys everywhere. But at the moment of submitting a calculation, if your own PC is already busy, how do Here I find a computer in my network, which is not Safes running Brunch anything at the moment?

You could ssh to each host and run <it>top</it> or something like that, but that is really slow when you have a lot of computers, and you have vs. to repeat the task very often.

The solution: “checkpc
checkpc is a python script which can scan a whole network of computers and return the load of all PCs within it in less than wholesale mlb jerseys 3 seconds.

checkpc figure

checkpc monitors the load of the PCs in your network

It can use pssh (parallel ssh) so that it submits all the cheap nfl jerseys requests at one time, and receives the replies in something between Dorian. 1 and 2 seconds trajectory after (depending on the load of the systems).

pssh (or ssh) connect wholesale mlb jerseys to each host and execute an script locally (~/.checkpc_local) which returns the hostname, CPU load, Memory load, cores in use, and who is consuming the most of the CPU in the current workstation.

Finally, as usual in my system administration scripts I put some colors, so it is faster and nicer to find out where to send the calculation.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.