On Thursday, October 13, 2005, at 04:15 am, Elliotte Harold wrote:
Michael Hall wrote:
Or ps -aux? Can you run a shell script? Then you could pipe the stuff
through grep and get back only the process you're looking for or
nothing if not there. Still pretty skanky but it is sort of OS
specific runtime stuff.
Adding -u would add some additional info, but I don't need any of
that. -w puts the output into "wide" mode: i.e. 132 characters instead
of 80. That's still not enough though for the length of the command.
-ww puts the output into superwide mode; i.e. as long as the process
name is with no limits.
It's easier to parse the output if you add the '-o' flag to restrict
the fields to what you're interested in:
% ps -axww -o command
It looks to me like "processes without controlling terminals" would be
sufficient given what you're looking for:
% px -xww -o command
Try this while you have the character palette showing:
% ps -xww -o pid,command | fgrep CharPaletteServer
Also see `man 1 ps` for a list of all the KEYWORDS that can be used
after '-o'
Stephen
--
"Don't have good ideas if you aren't willing to be responsible for
them."
- Alan Perlis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden