is there a way to ping sql server from another one. i can do it by running xp_cmdshell 'ping machine_name', but i need to catch output, so i can act accordingly. it's sql server 2000.

thanks.