OT: Terminal ps grep window size issue?
OT: Terminal ps grep window size issue?
- Subject: OT: Terminal ps grep window size issue?
- From: Jake Pietrykowski <email@hidden>
- Date: Fri, 18 Feb 2005 12:02:53 -0600
Hi all,
I'm aware this is off topic, but perhaps some unix savvy users may have a
suggestion, or explanation.
I'm in the terminal, attempting to find a running process for a given
application, but I'm encountering some rather odd issues, pertaining to the
size of the terminal window?
In the terminal window I do the following:
ps -aux | grep SomeApplicationName.app
The above line should return me a list of the process containing the
SomeApplicationName.app
Well...what happens is I execute that command, and I get no results.
However, if I just simply 'expand' the Terminal window, so the results will
'fit', I get the desired results.
Is grep only scanning the contents of the Terminal window? I'm have a shell
script I made, which runs every 5 minutes as a cron job, and it's not
executing. Permissions all set, etc... However, if I run the script manually
from the terminal WITH the window open wide enough...it all works OK?
Why is the size of the window affecting my grep command? Alternate methods?
Thanks if any suggestions,
Jake
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden