Re: comando batch
Gentil de Bortoli Júnior
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Francisco Welington de Sousa Lima wrote:
>> Infelizmente eu não tenho mais esta menssagem e não sei usar nohup.
>
> Francisco, _evite_ o top-posting!
>
> Usar o nohup não é complicado. Um man nohup mostraria rapidamente:
>
> $ nohup ./programa &
>
> []s
>
> - --
> Gentil de Bortoli Júnior
> Chave GPG: http://gentil.bortoli.com.br/gpg
>
> "There Is No Gene For The Human Spirit"
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFD13VOR/xCJbtXupkRAhHAAJ46AF3FkkUr+ulY5qRBzD36NKneAQCfT508
> cllKwOnvHr8w0iDRizXBhyI=
> =HGTY
> -----END PGP SIGNATURE-----
>
>
> --
> To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
voronoi:~/voteMUBA> ps ux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
wel 4864 0.0 0.1 2292 1080 ? Ss 06:51 0:00 /bin/sh
/usr/bin/
wel 4898 0.0 0.1 2988 928 ? Ss 06:51 0:00
/usr/bin/ssh-agen
wel 4918 0.0 1.0 22452 9868 ? Ss 06:51 0:00 kdeinit
Running..
wel 4921 0.0 0.9 21752 8740 ? S 06:51 0:00 kdeinit:
dcopserv
wel 4923 0.0 1.0 22464 9800 ? S 06:51 0:00 kdeinit:
klaunche
wel 4926 0.0 1.3 23904 12448 ? S 06:51 0:00 kdeinit: kded
wel 4934 0.0 0.7 12072 6960 ? R 06:51 0:00
/usr/bin/artsd -F
wel 4938 0.0 1.6 30320 14872 ? S 06:51 0:00 kdeinit:
knotify
wel 4939 0.0 0.0 1496 332 ? S 06:51 0:00 kwrapper
ksmserve
wel 4941 0.0 1.2 22604 11108 ? S 06:51 0:00 kdeinit:
ksmserve
wel 4942 0.0 1.4 24644 13264 ? R 06:51 0:01 kdeinit:
kwin -se
wel 4945 0.0 1.2 23016 11436 ? S 06:51 0:00 kdeinit:
khotkeys
wel 4946 0.0 1.6 26476 15060 ? S 06:51 0:00 kdeinit:
kdesktop
wel 4948 0.0 1.7 27608 15780 ? S 06:51 0:01 kdeinit:
kicker
wel 4950 0.0 1.3 23924 12496 ? S 06:51 0:00 kdeinit:
klipper
wel 4951 0.0 1.1 23276 10568 ? S 06:51 0:00 kdeinit:
kio_file
wel 4977 0.0 0.2 3632 2248 ? S 06:55 0:00
/usr/lib/gconf2/g
wel 5002 0.0 1.5 26124 14268 ? R 07:11 0:00 kdeinit:
konsole
wel 5003 0.0 0.1 2612 1500 pts/1 Ss 07:11 0:00 /bin/bash
wel 5010 0.0 0.1 2812 1440 pts/1 R 07:11 0:00 -csh
wel 5015 0.0 0.1 2288 1016 pts/1 S 07:12 0:00 /bin/sh
./m16.dat
wel 5016 23.8 5.2 49376 47792 pts/1 R 07:12 1:52 ./m16z2n9
wel 5019 0.3 1.6 26616 14892 ? S 07:12 0:01 kdeinit:
konsole
wel 5020 0.0 0.1 2608 1476 pts/2 Ss+ 07:12 0:00 /bin/bash
wel 5028 0.0 0.0 2500 844 pts/1 R+ 07:19 0:00 ps ux
voronoi:~/voteMUBA> 0.0000000E+00 0.9999625
2.0000001E-03 0.9937943
4.0000002E-03 0.9876124
6.0000001E-03 0.9814270
8.0000004E-03 0.9752139
outro terminal
wel@voronoi:~/voteMUBA$ nohup ./m16z2n9 &
nohup: appending output to `nohup.out'
[1] 5176
wel@voronoi:~/voteMUBA$
usei com o programa rodando e devo usar com program sem rodar.
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
wel@ufpi.br,wel@fisica.ufc.br, wel@sobral.org
Reply to: