I've replaced the ssh-agent binary with the following script: --------------- #!/bin/sh
pstree -p > `mktemp /tmp/pstree-XXXXXX` --------------- This is the result: |-acpid(1738)---power.sh(2001)---power.sh(2002)---power.sh(2034)-+-grep(2036) | `-su(2035)---sh(2046)---sh(2049)---ssh-agent(2050)---pstre+ I attach the file in order to avoid formatting issues. Thank you and regards. 2010/6/14 Michael Meskes <mes...@debian.org>: > On Sun, Jun 13, 2010 at 03:11:43PM +0200, Jose Couto wrote: >> When I disconnect the AC power adapter in my HP EliteBook 6930p laptop, it >> starts to spawn many copies of ssh-agent: >> >> Please, ask for any other info you need to diagnose this. > > Please try to find out which program starts ssh-agent, e.g. by looking up the > PPID in ps. pstree might also help. There is no direct call of ssh-agent in > acpi-support, at least none that I remember. > > Michael > -- > Michael Meskes > Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) > Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org > ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber mes...@jabber.org > VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL >
pstree-G62gRU
Description: Binary data