Terminal Commands for Identifying  Apps as 32-Bit, 64-Bit, or Both

I posted a prior topic on this matter, but cannot find it. I have seen these what I am asking about, but can't locate them. I am trying to identify the terminal commands noted in my subject.
Message was edited by: donv (The Ghost)
Message was edited by: donv (The Ghost)

This is what I was looking for:
In terminal, type: file /Applications/Safari.app/Contents/MacOS/Safari
What is returned is below. The second/third line identifies Safari as a universal binary with two architectures. The fourth/fifth line identifies the architectures as 32 bit and 64 bit. I am not sure what the sixth/seventh line does unless it identifies Safari as being compatible with PowerPC.
xxxx-MacBook-Pro:~ donv1$ file /Applications/Safari.app/Contents/MacOS/Safari
/Applications/Safari.app/Contents/MacOS/Safari: Mach-O universal binary with 2
architectures
/Applications/Safari.app/Contents/MacOS/Safari (for architecture x86_64):
Mach-O 64-bit executable x86_64
/Applications/Safari.app/Contents/MacOS/Safari (for architecture i386): Mach-O
executable i386
For any wondering. If SL is started in 64-bit kernel mode, then it will run Safari as a 64-bit program. The same will happen if SL is started in 32-bit mode. Leopard also will run Safari as a 64-bit program. Suppose one has a purely 64-bit program. The same things will happen. Note also that some 32-bit programs will run in 64-bit mode, and, at least in some cases, they will run faster in 64-bit mode. On the other hand, some 32-bit programs will not run in 64-bit mode.
Thus, at this time, the benefits from being able to start in 64-bit mode are minimal. That is, one might be able to run some 32-bit programs slightly faster than in 32-bit mode. On the other hand, this minor benefit would, IMO, be offset by not being able to run certain 32-bit or 64-bit programs simultaneously. I'll be sticking with 32-bit mode.
If there currently is more to the story than I have told, then please pile on. I am always interested in avoiding misinformation.
Message was edited by: donv (The Ghost)
Message was edited by: donv (The Ghost)
Message was edited by: donv (The Ghost)
Message was edited by: donv (The Ghost)
Message was edited by: donv (The Ghost)

Similar Messages

  • Slipstreaming: Is there a Terminal Command or an App to Slipstream 10.5 with 10.5.8 Combo Update so It Become One .DMG for Burning Purposes?

    Hi. Is there a Terminal command or an App for OS X (Snow Leopard which I'm using now as a backup OS X from an external USB drive) that can slipstream the 10.5.8 combo update to 10.5 retail installer (I 10.5.8 for an experiment) to be burned to either DVD and other media like with this Windows 8 app:
    http://lifehacker.com/how-to-slipstream-windows-updates-into-your-installatio-15 62956432
    Thank you in advance. Have a great week.
    God bless, Matt. 16:18, 1 Timothy 3:15

    Ya, I'd love to have the computers connected to the Xserver, unfortunately against my heeding, I was ordered to take them off of the Xserver, so they only have a local account that automatically logs in on startup, and even though I have Parental Controls set, I can not stop them from going to Safari, selecting an inappropriate image and setting it as the background, so now I’ve been ordered to fix all of the backgrounds that people are messing with.
    My Xserver is running OS X 10.4.11 Server Edition. Yes, I would love a new server, but that’s not happening due to budget cuts.
    So what I am hoping for is a command that I can put into Apple Remote Desktop v3.5.3 and push out to all of the computers via its Unix commands and reset all the desktops to their default image.

  • Terminal command for setting software update to defaults

    terminal command for setting software update to defaults?

    didn't even think of that...seems to be the most obvious things, seem to be the first to be overlooked.
    Will let you know.

  • Known issue: Cortana terminates when typing a voice command for an app (Windows 10 Insider Preview SDK and tools, April 2015 release)

    When typing a voice command for an app, e.g., "Find mom on MyApp", Cortana terminates without executing the voice command.

    Use the microphone to input voice commands for your app.

  • Terminal Command for "Folders On Top" in Mountain Lion

    Looking for a terminal Command that will place all "Folders On Top", even in sub-folders. The utility I was using on Lion does'nt work on ML anymore.

    Looks like to me there has been a recent update to TotalFinder.  Claims to support 10.8, now. See
    http://www.macupdate.com/app/mac/33373/totalfinder
    I misunderstood your questions.  I thought you wanted to display the files in the Terminal.  You want to change the way the finder displays files.
    Robert

  • What Is The Terminal Command For PRAM & SMC Reset?

    Hi Folks - Cant get my Macbook Pro to shut down (instead it does a re-start) thus the key combination for these re-sets doesnt seem to function (no chimes). I saw in another thread a terminal command entry "sudo nvram boot-args=”-p -r” but I also saw it mentioned that entering that casued the following to pop-up "Note that resetting the PRAM will wipe out the contents of the boot-args environment variable, which means the command would need to be reissued each startup." Whats with "reissued each startup"? Also would like a an SMC re-set command. THANKS in advance!

    I dont know of a terminal command but here is how to reset the SMC:
    Resetting the System Management Controller (SMC)
    Resetting the SMC on Mac portables with a battery you can remove
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery (to remove the battery - click here: MacBook or MacBook Pro).
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • Terminal command for sata link speed?

    OS10.6.7. MBP 5.3 with 256GB SSD.
    Since the "negotiated link speed" for the SSD is 3 GB/s most of the time, it varies from 3 GB/s to 1.5 GB/s once in a while. Is there a terminal command to "force" the SSD to always connect with a "negotiated link speed" of 3GB/s??
    <Edited by Host>

    If you "force" it, then you aren't "negotiating". I suggest letting it work the way it wants. You already get faster speed with that than most of us regular people could imagine.

  • Terminal command for Folder List?

    What is the command line for Terminal to print out a list of folders on my HD? It doesn't have to actually send the result to my printer. I would happy with just a list on the screen.

    Open Firefox and drag the folder into its open window.  You'll get this type of presentation:
    You can print the Firefox window. Much easier than messing with the Terminal (especially for those of us that are terminally challenged )
    OT

  • Terminal Commands for Bluetooth?

    Hello,
    When looking at my system settings via the System Info function, I learn that there is a discrepancy between the actuall settings and whatever I belive is going on based on the System Preferences window.

    (My post didn't show up in it's entirety. Here is my complete post)
    Hello,
    When looking at my system settings via the System Info function, I learn that there is a discrepancy between the actual settings and whatever I believe is going on based on the System Preferences window.
    I have shut down all Bluetooth functionality using System Preferences, a I have disabled Bluetooth in the network settings. When viewing System Info, Bluetooth is enabled, live and well with specific custom settings. Does anyone know of a Terminal command(s) to shut down and prevent Bluetooth from working (I'm mainly concerned with file sharing but would like to shut down all functionality.
    Also, the same for the Airport as well.
    Danke

  • AT COMMAND FOR IDENTIFY CONNECTED GPRS NETWORK

    HI i am connecting GPRS terminal with the network .i want AT command to identify which Network(3g orGprs) the terminal connected......

    Hi Joe,
    In the future please do not use all capitals in your title, it comes off as yelling and is not conducive towards helping get a response on these forums. Also, be sure to give as much detail as possible regarding your application/issue. How are you connecting your GPRS terminal to your PC? Are these VISA serial commands you are sending to the device? What is the brand/model of the device? Let me know and I'll try my best to assist you with this issue.
    Regards
    Doug W
    Applications Engineer
    National Instruments

  • Terminal command for tabs to open in same window

    anyone know the terminal command to have all links open in tabs instead of a new window - why does mac call it tabs when it does not even actually work - any help would be great - i had the command and i deleted it......driving me nuts

    Greetings,
    There is no such command; there is a command to force targeted links to open in new tabs, but it will have no effect on links that are controlled by JavaScript. Open Terminal and enter:
    defaults write com.apple.Safari TargetedClickCreateTabs -bool true
    press Enter or Return, then quit Terminal and restart Safari.

  • Terminal Commands for Internet Connect VPN?

    I could maybe do this as an applescript but I'm hoping there are terminal commands which I can incorporate into an rsync script...
    I need to open a PPTP VPN connection on a computer (Internet Connect VPN client, 10.4.8) , to connect to VPN services on OS X Server (10.4.8). The configuration works fine but really needs manual intervention at times. I would like to just script the equivalent of hitting the 'connect' button, so this can be run by cron.
    Any ideas or links?
    Ta.
    -david

    I did repair permissions with disk Utility and I used Onyx to delete the various caches, but that didn't work.
    Everything is functioning. The problem isn't on the VPN server side, because I can log into the VPN on my Powerbook and the status shows correctly. There's definitely something going on with my G5.
    This isn't a really huge deal, but it would be nice if the status indicated that I'm connected when I'm connected.

  • Need terminal command for setting display colors ASAP!!!!!

    Hello everyone,
    I was being dumb and figured, oh what will this do?
    I know, I know one of those button pushers...anyway I set the Display colors to 256 on my Xserve, which has no video card in it, and now all I see in Chicken of the VNC is a black screen. Im sure there is a terminal command out there where
    I can ssh into the Xserve, and change the colors back, but I can't find it...could someone post it up here or point me in the right direction please?
    Thanx in advance!!!!!!!

    didn't even think of that...seems to be the most obvious things, seem to be the first to be overlooked.
    Will let you know.

  • Must you pay for an app a twice to use it on both the iPhone and iPad?

    Must you pay for an app a second time if you want to use it on both the ipod and the ipad?

    Not as long as you sync with the same iTunes account. The iTunes terms allow you to use that App across as many devices as you own, using the same iTunes account

  • [Guide] Useful terminal commands for troubleshooting/system status.

    Hi everyone.  I'm looking for a concise list of useful commands to run incase something should happen to be going wrong somewhere (and also a 1-line for what they do)...the kind of output you'd post in a bug report.  Some other good commands would help make "whats going on under the hood" more clear.
    Also, if you have some useful directories (like /var/log), I'll take them too.
    Current List (Thanks to all the posts below):
    iwconfig, ifconfig | currently running wireless and overall link/state status.
    dmesg | down/n/dirty low level system activity log
    htop (non-built-in) | Process monitor
    iftop, nethogs (non-built-in) | Bandwidth usage monitor
    lsmod | Currently loaded modules
    pstree | Currently running processes in a tree-text format
    df -h | Hard drive space usage
    ps -A -ao rss,comm | sort -rn | sed -n '1,5{s/^/\t/;s/ /\t/p}' | Top 5 ram hogs and how much
    xsel -o -p |  Clipboard monitoring (non-built-in)
    xsel -o -b |
    /var/log - looking for a log from a system process...probably here.
    ~/.XXXX - User installed programs house their config files here... ~/ = Your username's home directory.  Equivalent to Application Data on Windows.
    Last edited by dr/owned (2009-03-21 15:57:21)

    ltrace -- strace-like, but shows library calls, not only system ones.
    vmstat -- shows many essential system parameters at a glance, first tool to start investigating bottlenecks
    lsof -- "list open files"; as network sockets, pipes, ... are all "files", there are many interesting informations to gather. But I use it for two purposes mainly: to identify file descriptors in strace/ltrace output and for finding deleted, but still open files eating disk space.
    I like atop also, for its ability to show aggregated data, grouped by user or process name.

Maybe you are looking for

  • How to have email conversation take on appearance of most recent message?

    I've setup a variety of email rules to change the background colour of messages based on a particular header field.  Basically, messages are coloured red, orange, yellow, or green, depending on their state in a workflow. The problem is that collapsed

  • ALV reports emailed in background job

    Hi, we have a background job that emails a report to some users. So far so good but the emailed result is a (not very nicely formated) txt file. Is there any way to specify the format of the output so that the report is emailed as a pdf or an html or

  • What is the step by step process to create a table in data dictionary?

    hi, What is the step by step process to create a table in data dictionary? regards.

  • [?] SendXMLtoClient in a JSP App

    Please, I'm looking for a method to use the SendXMLtoClient with a WebApplication with JSP pages. I would like the user could put a value to the workflow instance throw a dialog box. The SendXML toClient works very well in the Java Application "Worli

  • Mac Pro HDD bay failure

    I have an early 2008 mac pro quad core 2.8, all was fine until i tried to install windows 7 on the drive in bay 3, I never got past formatting the drive, upon restart that drive did not mount and did not appear in disc utility, i had to remove place