* more process with kill
@ 2001-09-14 3:17 Bruno Bonfils
2001-09-14 9:48 ` Will Yardley
2001-09-14 10:11 ` Peter Stephenson
0 siblings, 2 replies; 4+ messages in thread
From: Bruno Bonfils @ 2001-09-14 3:17 UTC (permalink / raw)
To: ZSH Users
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
Hi all,
i want to know how to have all process of a user
with kill (i have only childs process of current shell).
I try zstyle ':completion:*:*:kill:*' verbose yes
(or :jobs) but without success.
Thank you very much for you help
--
Bruno Bonfils
Admin Sys Linux
http://www.darksnow.org http://www.debian-fr.org
[-- Attachment #2: Type: application/pgp-signature, Size: 249 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: more process with kill
2001-09-14 3:17 more process with kill Bruno Bonfils
@ 2001-09-14 9:48 ` Will Yardley
2001-09-14 9:53 ` Will Yardley
2001-09-14 10:11 ` Peter Stephenson
1 sibling, 1 reply; 4+ messages in thread
From: Will Yardley @ 2001-09-14 9:48 UTC (permalink / raw)
To: ZSH Users; +Cc: Bruno Bonfils
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
Bruno Bonfils wrote:
> i want to know how to have all process of a user
> with kill (i have only childs process of current shell).
>
> I try zstyle ':completion:*:*:kill:*' verbose yes
> (or :jobs) but without success.
wouldn't this be more related to what OS you're using / what version of
PS? on linux or free bsd it would be 'ps ux' or 'ps aux' to show all
your procs or all of everyone's procs... on solaris i think it's ps -ef
or something like that.
-w
--
Sintax error in config file! (line 378)
aborted!
GPG Public Key:
http://infinitejazz.net/will/pgp/
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: more process with kill
2001-09-14 9:48 ` Will Yardley
@ 2001-09-14 9:53 ` Will Yardley
0 siblings, 0 replies; 4+ messages in thread
From: Will Yardley @ 2001-09-14 9:53 UTC (permalink / raw)
To: ZSH Users; +Cc: Bruno Bonfils
> > i want to know how to have all process of a user
> > with kill (i have only childs process of current shell).
oh sorry the completion for kill.... sorry - it's late. i don't know
much about the new completion system; with the old one you could just
change 'ps x' to 'ps ux'
compctl -j -P '%' + -s '`ps x | tail +2 | cut -c1-5`' + \
-x 's[-] p[1]' -k "($signals[1,-3])" -- kill killall
for the new system you'd probably want to edit the function '_pids'
(which is called from the _kill function).
sorry for being so obtuse...
w
--
Sintax error in config file! (line 378)
aborted!
GPG Public Key:
http://infinitejazz.net/will/pgp/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: more process with kill
2001-09-14 3:17 more process with kill Bruno Bonfils
2001-09-14 9:48 ` Will Yardley
@ 2001-09-14 10:11 ` Peter Stephenson
1 sibling, 0 replies; 4+ messages in thread
From: Peter Stephenson @ 2001-09-14 10:11 UTC (permalink / raw)
To: Zsh users list
Bruno Bonfils wrote:
> Hi all,
>
> i want to know how to have all process of a user
> with kill (i have only childs process of current shell).
>
> I try zstyle ':completion:*:*:kill:*' verbose yes
> (or :jobs) but without success.
Try setting:
zstyle ':completion:*:processes' command 'ps -u$USER'
assuming that's the correct syntax for ps on your machine.
This is documented under the `command' style, but there's no reason you
would guess that's where to look.
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-14 10:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-14 3:17 more process with kill Bruno Bonfils
2001-09-14 9:48 ` Will Yardley
2001-09-14 9:53 ` Will Yardley
2001-09-14 10:11 ` Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).