On Thu, 24 Jun 2004, Laurent Daudelin wrote:
> On 24/06/04 14:51, "Frank P. Eigler" <[EMAIL PROTECTED]> wrote:
> > On Wed, 23 Jun 2004, Laurent Daudelin wrote:
> >> on 23/06/04 20:08, Frank P. Eigler at [EMAIL PROTECTED] wrote:
> >>
> >>>> If you don't get any error message, then it's because the command is
> >>>> recognized. Now, why you don't get anything back, I don't know. Did you
> >>>> just
> >>>> do "system_profiler" to see or did you also included the 'grep' command?
> >>>
> >>> I did the full command, copy & pasted from above ("system...Memory").
> >>
> >> Frank,
> >>
> >> I don't really know if 'system_profiler' is supported in 10.2.8 but if you
> >> don't get any error, it should.
> >>
> >> Just try 'system_profiler', nothing else, and see if it works.
> >
> > Yup - gives me appx 200 (!) pages of info. Non man entry so I can't
> > tell what the permitted arguments are for it.
>
> That probably means that you didn't use the 'grep' command properly.
[snip]
Perhaps. I don't know thw proper syntax. That's why I copy&pasted. It seem
the command *does* work for most folks, but it didn't for me. Hence my
query.

> So, a command like:
>
> system_profiler | grep Memory
>
> should return only the lines output by 'system_profiler' that contains the
> word "Memory". Watch out for cases because Unix is case sensitive...

That I knew. I tried that one and got:

Memory Overview:
    Com_TouchMemory: 1 msec
    Com_TouchMemory: 1 msec
    Com_TouchMemory: 0 msec
    Com_TouchMemory: 0 msec
    Com_TouchMemory: 1 msec
    Com_TouchMemory: 0 msec

So, it seems some work and some don't.
-- 
Non Illegitimi Carborundum

-- 
G-Books is sponsored by <http://lowendmac.com/> and...

 Small Dog Electronics    http://www.smalldog.com  | Refurbished Drives |
 -- Check our web site for refurbished PowerBooks  |  & CDRWs on Sale!  |

      Support Low End Mac <http://lowendmac.com/lists/support.html>

G-Books list info:      <http://lowendmac.com/lists/g-books.html>
  --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[EMAIL PROTECTED]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-books%40mail.maclaunch.com/>



---------------------------------------------------------------
>The Think Different Store
http://www.ThinkDifferentStore.com
---------------------------------------------------------------


Reply via email to