On 3/17/2011 9:43 AM, m.roth@5-cent.us wrote:
ssh -l $TARGETUSER $TARGETHOST "[ -e /proc/cpuinfo ] -a grep
^processor | wc -l"
Or, more extremely - if you are doing much of this kind of remote inventory checking, you might consider running ocsinventory-ng with agents on the nodes.
Yes. We use ocsinventory here. Warning: there are a few systems that ocsinventory, or at least the version we put on last year, would literally crash or hang the system.
They seem to be nearing a 2.x release where the new server will talk to the old clients but not the other way around (due to the db utf8 settings). But I haven't seen any serious problems with the old agent except that on windows the service sometimes stops running, and it doesn't see the 64-bit registry.