commande shell "jobs"
Le
josephb

Bonsoir,
Est-ce un cas particulier, chez moi (Lion), mais la commande bash
builtin <jobs> avec ou sans argument, ne répond pas dans le terminal.
Pouvez-vous tester et me dire ce qu'il en est chez vous, merci.
Le help de jobs :
jobs [-lnprs] [jobspec ] or jobs -x command [args]
Lists the active jobs. The -l option lists process id's in addition
to the normal information; the -p option lists process id's only.
If -n is given, only processes that have changed status since the
last notification are printed. JOBSPEC restricts output to that job.
The -r and -s options restrict output to running and stopped jobs only,
respectively. Without options, the status of all active jobs is
printed. If -x is given, COMMAND is run after all job specifications
that appear in ARGS have been replaced with the process ID of that
job's process group leader.
--
J. B.
Est-ce un cas particulier, chez moi (Lion), mais la commande bash
builtin <jobs> avec ou sans argument, ne répond pas dans le terminal.
Pouvez-vous tester et me dire ce qu'il en est chez vous, merci.
Le help de jobs :
jobs [-lnprs] [jobspec ] or jobs -x command [args]
Lists the active jobs. The -l option lists process id's in addition
to the normal information; the -p option lists process id's only.
If -n is given, only processes that have changed status since the
last notification are printed. JOBSPEC restricts output to that job.
The -r and -s options restrict output to running and stopped jobs only,
respectively. Without options, the status of all active jobs is
printed. If -x is given, COMMAND is run after all job specifications
that appear in ARGS have been replaced with the process ID of that
job's process group leader.
--
J. B.
Cette commande ne répond plus depuis le 5 octobre 2011.
--
[SbM]
"If the French were really intelligent, they'd speak English" (W. Sheed)
........
Cette commande ne montre rien sous SL.
C'est un truc qui date des jobs sur carte perforées ?
--
Jean-Pierre
Ah, merci, et tu as vu ça où ?
--
J. B.
Un peu de poésie dans ce monde de brutes, ça fait du bien. ;-)
--
DV
J'allais le dire! :-D
--
/)
-:oo= Guillaume
)
Je nettoyais mon clavier, et le coup est parti tout seul.
c'est pas la date ou Steve Jobs est partis au Paradis ?
--
/ Mes Services - http://www.metamaitre.com
--o-- Forum "Méta-Science" - http://www.meta-science-forum.info/
/ <08-D<X=8 - Il doit bien y avoir... http://minilien.fr/a0pn0y
Mais pourquoi cette date ?
Après un googling ... OK, vu :-)
--
Jean-Pierre
Pour en être à se rappeler la date de sa mort il faut vraiment avoir peu
de vie à soi.
--
J. B.
Je te rassure : je ne m'en rappelais pas, merci Google. :)
Sur ce je retourne à ma vie à moi. :)
--
[SbM]
"If the French were really intelligent, they'd speak English" (W. Sheed)
si ma memoire est bonne ce n'est que pour les sous process du shell courant
donc si dans ton terminal tu a des process suspendsu ou bien en arriere plan
[ ~]$ less toto &
[1] 29593
[ ~]$ jobs -l
[1]+ 29593 Arrêté (via la sortie sur tty) less toto
[ ~]$ kill %1
[1]+ Complété less toto