Ola pessoal, tokuma duvida aki...  da um aolha nessa listagem:<br><br><font size="1"><span style="font-family: courier new,monospace;"># /usr/sbin/lsof -c mc -a -u adilson</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">COMMAND  PID    USER   FD   TYPE DEVICE     SIZE   NODE NAME</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  cwd    DIR  253,0     4096 202916 /home/adilson
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  rtd    DIR  253,0     4096      2 /</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
mc      2153 adilson  txt    REG  253,0   799464  83691 /usr/bin/mc</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0    50768  49255 /lib/libnss_files-
<a href="http://2.7.so">2.7.so</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0     7308 114991 /usr/lib/gconv/ISO8859-1.so
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2</span></font><font size="1"><span style="font-family: courier new,monospace;">153 adilson  mem    REG  253,0     9240  51574 /lib/libcom_err.so.2.1
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0   128952  51550 /lib/ld-<a href="http://2.7.so">2.7.so</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0  1692524  51551 /lib/libc-<a href="http://2.7.so">2.7.so</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
mc      2153 adilson  mem    REG  253,0    20564  51552 /lib/libdl-<a href="http://2.7.so">2.7.so</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0   210324  51554 /lib/libm-
<a href="http://2.7.so">2.7.so</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0   823604  51557 /lib/libglib-2.0.so.0.1400.2
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      </span></font><font size="1"><span style="font-family: courier new,monospace;">2153 adilson  mem    REG  253,0   756824  87780 /usr/lib/libslang.so.2.1.2
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      21</span></font><font size="1"><span style="font-family: courier new,monospace;">53 adilson  mem    REG  253,0   156592  51583 /lib/libext2fs.so.2.4
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0    61670 622594 /usr/share/locale/pt/LC_MESSAG</span></font><font size="1"><span style="font-family: courier new,monospace;">
ES/mc.mo</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0    82731  83021 /usr/share/locale/pt_BR/LC_MES</span></font><font size="1">
<span style="font-family: courier new,monospace;">SAGES/libc.mo</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0    58186  32777 /usr/share/locale/pt_BR/LC_MES
</span></font><font size="1"><span style="font-family: courier new,monospace;">SAGES/mc.mo</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0 77962480  83028 /usr/lib/locale/locale-archive
</span><br style="font-family: courier new,monospace;"></font><font size="1"><span style="font-family: courier new,monospace;">mc      2153 adilson  mem    REG  253,0    25700 115070 /usr/lib/gconv/gconv-modules.c</span></font>
<font size="1"><span style="font-family: courier new,monospace;">ache</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson    0u   CHR  136,0               2 /dev/pts/0
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson    1u   CHR  136,0               2 /dev/pts/0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">mc      2153 adilson    2u   CHR  136,0               2 /dev/pts/0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
mc      2153 adilson    3u   CHR    5,0            2572 /dev/tty</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson    4u   CHR    5,2             158 /dev/ptmx
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson    5u   CHR  136,1               3 /dev/pts/1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">mc      2153 adilson    6r  FIFO    0,6           11101 pipe</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mc      2153 adilson    7w  FIFO    0,6           11101 pipe
</span><br style="font-family: courier new,monospace;"><br><br></font>Aki eu sei que o usuario adilson logou e o que está sendo executado na conta dele....até aki tudo bem...<br><br>A linha:<br><br><font size="1"><span style="font-family: courier new,monospace;">
mc      2153 adilson  txt    REG  253,0   799464  83691 /usr/bin/mc</span></font><br><br>... me informa que o utilitátrio "mc" está sendo executado....até tdo bem de novo... minha duvida é : como saber que chamou o "mc"? eu sei que ele foi chamado pelo .bash_profile da conta desse usuário... mas eu queria saber como fazer isso via comando... 
<br><br>uma vez eu fiz isso mas nao me lembro mais pq nunca mais precisei... só que agora preciso... quem puder ajudar ficaria muito grato...<br><br>t+<br><br>