Terminal help in Panther

Discussion in 'Mac OS X 10.3 (Panther) Discussion' started by dscan99, Dec 11, 2004.

  1. dscan99 macrumors regular

    Joined:
    Dec 10, 2004
    Location:
    Nashville, TN
    #1
    Sorry for posting what is possibly a real stupid question.

    In the unix wworld, I'm used to typing "ps -ef" to list all process information. However the terminal app on my iBook G4 does not seem to like -f (illegal operation). Can someone please tell me what the Mac equivalent is? And also what is the underlying Unix flavour being used on the G4s?

    Also is killing (as in unix....) a process that's hung, recommended ??

    Thanks :)
     
  2. musicpyrite macrumors 68000

    musicpyrite

    Joined:
    Jan 6, 2004
    Location:
    Cape Cod
    #2
    If you want to see all the process information just type 'top'.

    Killing a hung application would be the same thing a using command+option+escape to quit something. Shouldn't cause a problem, unless your typing a paper and haven't saved it.
     
  3. daveL macrumors 68020

    daveL

    Joined:
    Jun 18, 2003
    Location:
    Montana
    #3
    'ps -ef' is the Unix System V version of the ps command. OS X is BSD Unix. You'd want something like 'ps aux'. If you are running Unix commands in the Terminal, you might to become familiar with the 'man' command, as in 'man ps'.
     
  4. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #4
    As far as killing hung processes goes, the preferred method depends on what kind of process it is. For GUI applications, use the Force Quit dialog, summoned by pressing Command+Option+Escape or choosing Force Quit from the Apple menu. For background or command-line only processes, use the kill command in the Terminal. To learn about kill, type "man kill".
     
  5. Westside guy macrumors 601

    Westside guy

    Joined:
    Oct 15, 2003
    Location:
    The soggy side of the Pacific NW
    #5
    On one or two occasions I've had to 'killall -9 xxxxx' on OS X. It's handy to have sshd running for those odd occasions when the Finder isn't responsive - saves a hard reboot.
     
  6. dscan99 thread starter macrumors regular

    Joined:
    Dec 10, 2004
    Location:
    Nashville, TN
    #6
    Thanks!

    Thanks Dave! That's what I was looking for!! That's interesting Mac is BSD based....
     
  7. dscan99 thread starter macrumors regular

    Joined:
    Dec 10, 2004
    Location:
    Nashville, TN
    #7
    Thanks...

    Thanks for this tidbit. That's exactly what I was looking to do.. save myself from a hard reboot.. after all that's what I did constantly int he Windows world and was not looking forward to doing the same on the Mac.
     

Share This Page