• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OT: Terminal ps grep window size issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: OT: Terminal ps grep window size issue?
      • From: Rodrigo Ávila Ferreira <email@hidden>
    • Re: OT: Terminal ps grep window size issue?
      • From: Martin Orpen <email@hidden>
  • Prev by Date: Re: Finder Timeout
  • Next by Date: Re: OT: Terminal ps grep window size issue?
  • Previous by thread: Re: Finder Timeout
  • Next by thread: Re: OT: Terminal ps grep window size issue?
  • Index(es):
    • Date
    • Thread