Bruno de Oliveira Schneider > On 1/26/06, Francisco Welington de Sousa Lima wrote: >> Ele rodara até terminar daqui há uns 3 dias se a área ficar aberta , >> seu eu fechar a área ele morre em vinte minutos. > > Bom, então se o processo fica rodando em primeiro plano com o terminal > aberto, ele roda até terminar. Se você fechar o terminal ele roda por > mais uns 20min e depois morre, certo? Esse comportamento também > acontece com o script do Gentil? > > Talvez esse programa precise interagir com um terminal. Quando ele chega > no ponto de interação e nota que não há terminal ele aborta a execução. > Esse programa precisa de algum tipo de interação? Ele lê ou escreve > alguma coisa? > > A propósito se o problema for esse, o screen deve resolver. > > Uma outra tentativa seria seria rodar redirecionando a entrada e a > saída, para que o programa não "sinta a falta" do terminal. Exemplo: > > voronoi:~/voteMUBA> nohup ./m16z2n20 </dev/null >saida.txt & > > Ainda não vi você testar o nohup. > > Você ainda não disse ter provas de que o problema é só com o usuário > wel. > > -- > Bruno de Oliveira Schneider > http://www.dcc.ufla.br/~bruno/ veja coloquei para rodar em segundo plano; [EMAIL PROTECTED]:~/voteMUBA$ tcsh voronoi:~/voteMUBA> ./m16. m16.dat* m16.dat~* voronoi:~/voteMUBA> ./m16.dat & [1] 2748 voronoi:~/voteMUBA> fechei este terminal e abri outro voronoi:~/voteMUBA> exit exit [EMAIL PROTECTED]:~/voteMUBA$exit What manual page do you want? [EMAIL PROTECTED]:~$ ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 1504 512 ? S 06:58 0:00 init [2] root 2 0.0 0.0 0 0 ? SN 06:58 0:00 [ksoftirqd/0] root 3 0.0 0.0 0 0 ? S< 06:58 0:03 [events/0] root 4 0.0 0.0 0 0 ? S< 06:58 0:00 [khelper] root 5 0.0 0.0 0 0 ? S< 06:58 0:00 [kacpid] root 36 0.0 0.0 0 0 ? S< 06:58 0:00 [kblockd/0] root 46 0.0 0.0 0 0 ? S 06:58 0:00 [pdflush] root 47 0.0 0.0 0 0 ? S 06:58 0:00 [pdflush] root 49 0.0 0.0 0 0 ? S< 06:58 0:00 [aio/0] root 48 0.0 0.0 0 0 ? S 06:58 0:00 [kswapd0] root 191 0.0 0.0 0 0 ? S 06:58 0:00 [kseriod] root 300 0.0 0.0 0 0 ? S 06:58 0:00 [kjournald] root 552 0.0 0.0 0 0 ? S 06:58 0:00 [kjournald] root 712 0.0 0.0 0 0 ? S< 06:58 0:00 [ata/0] root 713 0.0 0.0 0 0 ? S 06:58 0:00 [scsi_eh_0] root 714 0.0 0.0 0 0 ? S 06:58 0:00 [scsi_eh_1] root 777 0.0 0.0 0 0 ? S 06:58 0:00 [khubd] root 1029 0.0 0.0 0 0 ? S 06:58 0:00 [pciehpd_event] root 1049 0.0 0.0 0 0 ? S 06:58 0:00 [shpchpd_event] root 1688 0.0 0.0 2376 864 ? Ss 06:58 0:00 dhclient -e -pf / daemon 1693 0.0 0.0 1612 464 ? Ss 06:58 0:00 /sbin/portmap root 2045 0.0 0.0 2260 820 ? Ss 06:58 0:00 /sbin/syslogd root 2048 0.0 0.1 2436 1496 ? Ss 06:58 0:00 /sbin/klogd Debian- 2088 0.0 0.1 5140 1720 ? Ss 06:58 0:00 /usr/sbin/exim4 - root 2095 0.0 0.0 2240 728 ? Ss 06:58 0:00 /usr/sbin/inetd lp 2122 0.0 0.0 2464 884 ? Ss 06:58 0:00 /usr/sbin/lpd -s root 2133 0.0 0.1 3468 1500 ? Ss 06:58 0:00 /usr/sbin/sshd root 2137 0.0 0.1 2376 924 ? Ss 06:58 0:00 /sbin/rpc.statd daemon 2140 0.0 0.0 1684 664 ? Ss 06:58 0:00 /usr/sbin/atd root 2146 0.0 0.0 1756 716 ? Ss 06:58 0:00 /usr/sbin/cron root 2165 0.0 0.2 4512 2232 ? S 06:58 0:00 /usr/sbin/apache www-data 2166 0.0 0.2 4512 2224 ? S 06:58 0:00 /usr/sbin/apache www-data 2167 0.0 0.2 4512 2224 ? S 06:58 0:00 /usr/sbin/apache www-data 2168 0.0 0.2 4512 2224 ? S 06:58 0:00 /usr/sbin/apache www-data 2169 0.0 0.2 4512 2224 ? S 06:58 0:00 /usr/sbin/apache www-data 2171 0.0 0.2 4512 2224 ? S 06:58 0:00 /usr/sbin/apache root 2177 0.0 0.2 9264 2368 ? Ss 06:58 0:00 /usr/bin/gdm root 2188 0.0 0.0 1500 484 tty1 Ss+ 06:58 0:00 /sbin/getty 38400 root 2191 0.0 0.0 1500 484 tty2 Ss+ 06:58 0:00 /sbin/getty 38400 root 2192 0.0 0.0 1500 484 tty3 Ss+ 06:58 0:00 /sbin/getty 38400 root 2193 0.0 0.0 1500 484 tty4 Ss+ 06:58 0:00 /sbin/getty 38400 root 2194 0.0 0.0 1500 484 tty5 Ss+ 06:58 0:00 /sbin/getty 38400 root 2195 0.0 0.0 1500 484 tty6 Ss+ 06:58 0:00 /sbin/getty 38400 root 2232 0.0 0.3 9844 2996 ? S 06:58 0:00 /usr/bin/gdm root 2271 1.2 1.5 98084 14420 ? S 06:58 1:27 /usr/X11R6/bin/X wel 2490 0.0 0.1 2292 1080 ? Ss 06:59 0:00 /bin/sh /usr/bin/ wel 2524 0.0 0.1 2988 928 ? Ss 06:59 0:00 /usr/bin/ssh-agen wel 2545 0.0 1.0 22452 9868 ? Ss 06:59 0:00 kdeinit Running.. wel 2548 0.0 0.9 21752 8740 ? S 06:59 0:00 kdeinit: dcopserv wel 2550 0.0 1.0 22464 9804 ? S 06:59 0:00 kdeinit: klaunche wel 2553 0.0 1.3 23904 12448 ? S 06:59 0:00 kdeinit: kded wel 2561 0.0 0.7 12072 6940 ? S 06:59 0:00 /usr/bin/artsd -F wel 2563 0.0 1.7 31536 16116 ? S 06:59 0:00 kdeinit: knotify wel 2566 0.0 0.0 1496 332 ? S 06:59 0:00 kwrapper ksmserve wel 2568 0.0 1.2 22604 11104 ? S 06:59 0:00 kdeinit: ksmserve wel 2569 0.0 1.4 24748 13404 ? S 06:59 0:02 kdeinit: kwin -se wel 2571 0.0 1.2 23016 11424 ? S 06:59 0:00 kdeinit: khotkeys wel 2573 0.0 1.6 26512 15124 ? S 06:59 0:01 kdeinit: kdesktop wel 2575 0.0 1.7 27684 16076 ? S 06:59 0:03 kdeinit: kicker wel 2576 0.0 1.1 23276 10568 ? S 06:59 0:00 kdeinit: kio_file wel 2578 0.0 1.3 23924 12496 ? S 06:59 0:04 kdeinit: klipper wel 2591 0.0 0.2 3760 2320 ? S 06:59 0:00 /usr/lib/gconf2/g wel 2748 0.0 0.1 2288 1016 ? S 08:45 0:00 /bin/sh ./m16.dat wel 2749 90.4 5.2 49376 47872 ? R 08:45 13:06 ./m16z2n9 wel 2771 0.1 1.6 26616 14792 ? S 08:49 0:00 kdeinit: konsole wel 2772 0.0 0.1 2600 1468 pts/1 Ss 08:49 0:00 /bin/bash wel 2778 0.0 0.2 4132 1932 pts/1 S+ 08:49 0:00 ssh portal.fisica wel 2782 2.4 3.2 100060 29360 ? S 08:55 0:07 /usr/lib/mozilla- wel 2818 2.8 1.5 25992 14168 ? S 09:00 0:00 kdeinit: konsole wel 2819 0.0 0.1 2600 1468 pts/3 Ss 09:00 0:00 /bin/bash wel 2824 0.0 0.0 2500 848 pts/3 R+ 09:00 0:00 ps aux [EMAIL PROTECTED]:~$ O programa continua rodando até terminar, mas somente se eu deixar minha área de trabalho aberta seu fechar o programa morre em 10 minutos e no /var/log/messages não há mensagens de nada, antes eu fazia isto , colocava para rodar e fechava a área e o programa rodava até terminar agora simplesmente ele parou de fazer isto.
F. W. S. Lima Departamento de Física Centro de Ciência da Natureza Campus Petrônio Portela Universidade Federal do Piauí Teresina-Piauí-Brasil [EMAIL PROTECTED],[EMAIL PROTECTED], [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]