Originally posted by: JoelDavis
I'm trying to create an automated script, which (I feel) needs to be able to map local processes of a certain program with certain remote hosts. The script will know which remote host and local program it will be looking for during the mapping. Essentially the goal is to programmatically pull which programx's computerX is running on the server. A PS reveals the tty, but try as I might, I can't seem to find an AIX command that gets the PID/TTY/Username on the same line (or some other relationship) with the remote host's name. My thinking is if that b the case I can take the register name, map it to one of those and then be able to give the admins some more tools on repetitive tasks.
Essentially the set up is an AIX server with thin clients running applications which connect through ssh.
If the description is unclear somehow, I'd be happy to add more clarification.
TIA.
#AIX-Forum