Activity Monitor command-line equivalent

Hi,
Is there a way to gather all the informations that we can find in the Activity Monitor (cpu, memory, open file-descriptors for each process) via the Terminal ??
In fact, I am looking for a procfs (/proc) equivalent...

Hello ccharbo,
You could use the top command. Does procfs (/proc) not provide all the information you are looking for?
[Mac OS X Manual Page For top(1)|http://developer.apple.com/mac/library/documentation/Darwin/Reference/Ma nPages/man1/top.1.html]
B-rock

Similar Messages

  • What is the command line equivalent of the *compress* tool in *Finder*

    I have an automatic build setup for our iPhone Apps. The one issue i face everytime is that the zip file that i create in the build using zip command is always rejected by iTunesConnect server as invalid binary. When i compress the .APP folder manually using Compress from the *Finder menu*, that archive is always accepted. The size of the zip files generated is slightly different.
    Does anyone know what would be the command line equivalent of the Compress used by the Finder ? I want to automate this process so that someone does not have to do a manual compress before uploading it to iTunesConnect.
    Thanks in advance,
    -TRS

    a Mac user wrote:
    That is odd, are you sure you are using the command line correctly then? Because zip-ing from the command line should be the exact same one as from the utility in OS X.
    It's not the same, though. As someone else pointed out, the Finder uses a program called "Archive Utility.app", found in "/System/Library/CoreServices". A quick look at the binary shows that it uses the following Unix command line apps:
    /usr/bin/macbinary
    /usr/bin/file
    /usr/bin/tar
    /usr/bin/applesingle
    /usr/bin/binhex
    /usr/bin/ditto
    /usr/bin/gunzip
    /usr/bin/bunzip2
    /usr/bin/uudecode
    /usr/bin/atos
    I would have to look into how iTunesConnect accepts files.
    iPhone apps are signed binaries, so if one byte is different when they arrive at the app store, they won't be accepted. The command line zip leaves out some information and so the package appears to have been tampered with and they're rejected.
    charlie

  • Export release build command line equivalent

    Good morning Flex community,
    I am trying to build my project via the command line. Right now I can build easily with mxmlc.  But I would like to know the command line equivalent to 'Export Release Build' in the FlexBuilder IDE.  One major disadvantage to using mxmlc (w/ no args) is I only get the .SWF file.  I want all the image files, assets, and resources associated with my project.(this is what export release build does)
    Any suggestions? Or am I making myself clear? Thanks!

    I would create a ant/.bat file which does all that, compile and copy the generated files and other assets to a new build location.

  • Batch Monitor Command line Check Progress

    Hey all,
    i was wondering if there is a way to check progress of a file i sent to compressor using command line.
    Thanks
    Lars

    ok so i found a pdf which tells me this:
    Below is a synopsis of the command for monitoring batches. The Batch Monitor
    command is located in /Applications/Utilities/Batch Monitor.app/Contents/MacOS.
    Batch Monitor [-clustername <name>] [-clusterid <user name:password@IP address:port
    number>] [-jobid <identifier> -batchid <identifier>] [-timeout <seconds>] [-query
    <seconds>] [-help]
    i tried putting that in but the result i get is Batch: garbled time
    any ideas
    Thanks
    ars

  • Command line equivalent of Work Group Manager's export feature

    Hello everyone,
    I am have a hard time upgrading from Lion Server to Mountain Lion Server, especially with Open Directory. What I wish to do, is to import the existing users and groups of an existing server running Lion Server into a new (fresh) Open Directory master created on another server that is running Mountain Lion Server.
    I have tried several options. Those that did *not* work for me include:
    Trying to make create a replica of the Lion Open Directory on the Mountain Lion Server
    Trying to backup the OD of the Lion Server using slapconfig
    What seems to work (for the moment), is to use the export feature of Work Group manager on Lion and to import the users/groups using the import feature of Mountain Lion Server app.
    My question is: is there a command line way to do the export ? Since Work Group manager seems to be kind of deprecated in ML, I assume there must be some other way (i.e., from the command line) to do the user/group import and export.
    Thanks for your help !

    Notice that the old Archive and Restore options are gone. To run a backup, run the slapconfig command along with the -backupdb option followed by a path to a folder to back the data up to: 
    sudo slapconfig -backupdb /odbackups
    To restore a database (such as from a previous version of the operating system where such an important option was actually present) use the following command (which just swaps backupdb with -restoredb) 
    sudo slapconfig -restoredb /odbackups
    /usr/sbin/ServerBackup -cmd backup -source /

  • Maintenance activity through command line

    Hi All,
    I'm trying to automate the "Maintenance plan". I was able to do it through GUI by logging into SQL studio.
    But, I'm supposed to automate by embedding the SQL command into jython.
    Would be greatfull if somebody can provide me complete steps for maintenance plan.
    Below is the Maintenance plan I'm expecting for:
    DBE – Full Backup
    1. Schedule the job to run every night at 5 AM.
    2. Configure the tasks in the following order: Back Up Database (Full),
    Maintenance Cleanup Task (3 days) and Clean Up History (older than 4
    weeks).
    DBE – Integrity Checks
    1. Schedule the job to run every Saturday night at 6 AM.
    2. Configure the tasks in the following order: Check Database Integrity and
    Update Statistics.
    DBE – Optimization
    1. Schedule the job to run every Saturday night at 10 PM.
    2. Configure the tasks in the following order: Rebuild Index.

    Once DB is created, we perform post-installation activity, which includes creating maintenance plan. After which we release the server into production. That's when "SQL DBA's" come into picture.
    I have done some research and finally got something, please help me in refining the below:
    USE master;
    GO
    EXEC dbo.DatabaseBackup
    @Databases = 'USER_DATABASES',
    @Directory = 'E:\Backup',
    @BackupType = 'FULL',
    @Verify = 'Y',
    @Compress = 'Y',
    @CheckSum = 'Y'
    GO
    EXECUTE dbo.DatabaseIntegrityCheck
    @Databases = 'USER_DATABASES',
    @CheckCommands = 'CHECKDB',
    @PhysicalOnly = 'Y'
    GO
    EXECUTE dbo.IndexOptimize @Databases = 'USER_DATABASES',
    @FragmentationLow = NULL,
    @FragmentationMedium = 'INDEX_REORGANIZE,INDEX_REBUILD_ONLINE,INDEX_REBUILD_OFFLINE',
    @FragmentationHigh = 'INDEX_REBUILD_ONLINE,INDEX_REBUILD_OFFLINE',
    @FragmentationLevel1 = 5,
    @FragmentationLevel2 = 30,
    @UpdateStatistics = 'ALL',
    @OnlyModifiedStatistics = 'Y'
    GO
    EXECUTE dbo.IndexOptimize @Databases = 'USER_DATABASES',
    @FragmentationLow = NULL,
    @FragmentationMedium = 'INDEX_REORGANIZE,INDEX_REBUILD_ONLINE,INDEX_REBUILD_OFFLINE',
    @FragmentationHigh = 'INDEX_REBUILD_ONLINE,INDEX_REBUILD_OFFLINE',
    @FragmentationLevel1 = 5,
    @FragmentationLevel2 = 30
    the last two steps are redundant.. you do not both of them..just have one of them..
    Hope it Helps!!

  • Can't change activation only mode to off using the command line in Windows 7 64 bit

    I used the command line to turn activation only mode on and now when I use teh command to turn it off it will not change the iTunes setup. I am on Windows 7 64 bit. I tried uninstalling itunes and reinstalling and it is stillin activation only mode.

    Hi! Thx for your quick reply! I am still unsure what to do tho---see my questions below in bold:
    Windows 7 comes with its own version of the standard PostScript driver. = Where is this driver? I have no idea how to find it, it doesn't show up in my Printer menu in FM?
    Given that PostScript generated by a driver can be highly device-specific, you need to install the driver as modified by the PPD file for the device in question. Most printer manufacturers in fact provide a PostScript driver installer that associates their printer's PPD file with the standard Windows Printer driver and subsequently creates what is called a PostScript printer driver instance for the particular device on the I/O port you designate. = ??? I've only updated a PPD file for watermarks and have no idea what this means...is there a step-by-step instruction for this? I just need to download a PS driver to select that works & doesn't freeze up my FM when creating a .ps file.
    The real question thus is exactly what are you trying to generate PostScript for? = I create a PS, & then use Distiller to create a PDF. This enables me to have a PDF that automatically has Bookmarks, the TOC/LOF/LOT & all corss-refs are hyperlinked, etc.
    If you are trying to create PostScript for distillation into PDF, Acrobat installs a PostScript driver instance of its own, labelled Adobe PDF, that is associated with the Acrobat Distiller PPD. = I have tried the Adobe PDF selection from my Printer menu in FM, but it freezes up FM and I have to close the whole program & no PDF generates.
    BTW, although you may be successful in installing and running FrameMaker 8 on Windows 7, in fact Adobe officially does not support FrameMaker 8 on Windows 7. = I don't know what to say---the upgrade is too expensive for some of us folks out here right now, so we all need to work with what we have for now!
    I appreciate your help, thank you.

  • Run App Engine through command line but have it show up in Process Monitor

    We are trying to run Application Engine through command line and have it show up in the Process Monitor.
    We have successfully ran the Application Engine through command line. We also can successfully run the Application Engine through PIA.
    Only when you run the AppEng through PIA it goes through the Process Scheduler and shows up in the Process Monitor.
    We would like to be able to do this through command line as well. Has anyone done this before?

    I'm not sure if it is (easily) doable.
    => Fire a process through the front end appl is nothing but insert few rows in process scheduler tables settings (PSPRCSRQST, PSPRCSQUE), then the process scheduler is taking information from there every x seconds and eventually run the command (on the process scheduler server) keeping an eye on the process result in the tables to post the result.
    => Fire psae through command line (or pssqr) bypass the process scheduler, you can run it from any client... so even without any clue about Process Scheduler server or even without Process Scheduler at all (cf. the very first AE running during an installation is VERSION without anything else than the client).
    So finally, your AE program has no clue where it should run outside the client you are fired the command from (i.e. on the batch server as it is running when you are fired the same AE through the front end application), nothing more about the process scheduler configuration file, and where the output files should be posted.
    Maybe not by running the AE from the command line, but by simulating the actions as it would be from the front end application, for instance by inserting in the tables whatever you want to run... but it sounds odd. Probably some developer might have done this before... but this should be reconsidered by Peopletools version/patch level (or through CI ?)
    Nicolas.
    added the last paragraph
    Edited by: N Gasparotto on May 21, 2010 2:46 PM

  • Is ther any program similar to Process Monitor(Procmon) to use command line?

    Hi.  I need to find some kinds of program like process monitor in terms of using command line
    there is a little bit restrictions to use ProcMon for exploiting command line.
    well, I tried to find such programs like multimon, yapm and so on..
    They are really good. However I couldn't use command line for them.
    Any guys can solve my problem?
    help me

    I agree, the procmon forum is the best place to ask about this.
    You do have command line options available to you:
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • Checkin activity via DTR command line tool

    Hello,
    I tried to maintain Access Control Lists in my DTR (Web AS 640, SP16), and now I have a weird situation:
    The NW Developer Studio shows that acl.xml unter /ws is checked out by user superadmin (that's correct as I used that one to maintain the ACLs), but it doesn't show any activity of superadmin.
    DTR command line tool shows the activity:
    >acts -U superadmin -o -uf
    ActualName      State
    act_w_system_config_active_u_superadmin_t_2006_06_06_12_42_33_GMT_6dca269b-9cb4-4d96-a663-fbe98c715265  Open
    But when I try to checkin the tool cannot find the activity any more:
    >checkin -a act_w_system_config_active_u_superadmin_t_2006_06_06_12_42_33_GMT_6dca269b-9cb4-4d96-a663-fbe98c715265 -w //
    system/config/active/ -U superadmin
    The specified activity does not exist. Please check and try again.
    Any idea how I can get rid of this lock on acl.xml in /ws?
    Thanks and best regards,
    Cornelia

    Hi,
    perhaps your release is higher equal to 711.
    From 7.11 onwards the DI command line tools are not provided in the eclipse/tools folder anymore.
    Instead they are provdided in the SCA file DICLIENTS.SCA  --> tcdicmd_tools~sda.sda
    Extract this SDA file from the SCA and then unzip it to get the DI command line tools.
    Hint: Once you rename the SCA to zip, you can extract with a normal extractor like winzip or winrar. Once you managed to extract the file tcdicmd_tools~sda.sda rename it also to zip and extract it too using normal extractor tools. Then you'll have a similar folder structure like on lower releases in the eclipse/tools folder was.
    You find the SCA file here:
    http://service.sap.com/patches --> Browse our Download Catalog - SAP NetWeaver and complementary products
    -- SAP NETWEAVER CE -- SAP EHP1 FOR SAP NW CE 7.1 -- Entry by Component -- NW Development
    Infrastructure --> DI CLIENTS 7.11
    (Obviously if you have 720 or 730 then adjust the path accordingly)
    See also https://cw.sdn.sap.com/cw/docs/DOC-109423
    I hope this helps.
    Best Regards,
    Ervin

  • My mac seems to be frozen on an internet page.  I cant force quit.  I can't control+options+command+esc.  I can't access my activity monitor.  I can see my mouse moving but when I click on anything, it doesn't seem to engage or recognize it.  Fix?

    My mac seems to be frozen on an internet page.  I can't force quit.  I can't control+options+command+esc.  I can't access my activity monitor.  I CAN see my mouse moving but when I click on anything, it doesn't seem to engage or recognize it.  Fix?

    Thank you.  There is a bigger issue.  It is not the web page that is the problem.  It is that I can see my mouse moving and can move it along the bottom toolbar and the options will highlight but I can't click on anything.  I can see the apple icon to get to force quit but cant click on it. 
    I used your suggestion and force quit came up but I can't select the option to force quit... not even with my arrows and enter/return key.  Any other thoughts?
    Thank you.

  • Command line (top-like) ACPI monitoring?

    Does anyone know of a 'top' style command line program for monitoring ACPI? I'm thinking of writing one, perhaps adding support for manual CPU frequency scaling etc, but I'd like to see if anything is out there first.

    Which part of ACPI do you mean?
    For monitoring power consumption, there is powertop, which also shows info about the CPU's current multiplier and sleep state. The cpufreq-utils are used to manage the kernel's behavior concerning changing the multiplier, there is also a userspace governor if you want to control it manually. yacpi is a CLI tool to show battery status. There are many GUI tools that deal with these functions too, i.e. the Xfce or Gnome power managers. Buttons are managed by acpid.

  • How to use long capture filter with Network Monitor 3.4 command line

    I want to exclude all traffic from a list of subnets in my capture. This makes for a rather long and complex filter. Is there any option on the command line to refer to a file describing this filter or can one only use the /capture "my extremely long
    filter" command? So, I would have to make the entire thing into one line?

    I suppose if it's longer than 2048 or 4096, there will be a command line length limitation.  Maybe there's a way to work around it with a environment variable, but I think there will always be a limit.  Perhaps there's an easier way to right your
    filter?  Can you use something like the subnet example in the library to shorten the filter.
    Also, do you think your filter will affect capturing speed.  The more complex the filter, the longer it takes to evaluate each incoming message.  That means we have to buffer, and if the firehose is too much, we don't catch all the water :) 
    If the UI can keep up, then it shouldn't be a problem, but some firehoses are bigger than others.  Plus, there driver filters which can filter faster for NMCap.
    Moving forward, Message Analyzer (http://blogs.technet.com/blogs), is the replacement for Network Monitor, which can do the same most of the same kinds of capabilities, but using powershell.  I think you'd
    have more flexibility with variable lengths there.  Plus you can script fancy things.
    Paul

  • My activity monitor shows 24 lines of cpus.

    That would be nice, but I have only 12 cores. Has anyone else seen this?

    I thought that was possible but appreciate the validation.
    What originally caught my eye was that only every other line in the activity monitor showed any activity. So I ran the hardware diagnostics to see if there was anything amiss. No problems were found. So it looks like the hyperthreading is not being used, but all the cores do participate to some extent.
    I was involved in the signal processor industry in the 80s when the use of multiple processors was really getting going. Our system was synchronous, but even so, required a lot of planning to use efficiently. My work is mainly finite element analysis, Monte Carlo simulation and image processing, all of which can be programmed in parallel, so I expect to benefit from it at some point. So far 20-35% that you note is pretty accurate.

  • Can not find my Program in Lion Activity Monitor until reboot again

    Hi,
       I have tried to installed the datacard driver and user interface program in Lion and reboot; however, the resident program to detect the device of datacard does not exist in Activity Monitor.  I need to reboot again, then I can find it exits in Activity Monitor of Lion.  This issue does not happen in Mac Snow/Snow Leopard(32-bit/64-bit).  I use the Metapackage or terminal command line to install and both need to reboot one more time.  My script is
    sudo defaults write /Library/Preferences/loginwindow AutoLaunchedApplicationDictionary -array-add '{"Path" = "/opt/data/Monitor.app";"Hide" = "0";}'
        Is it a side effect of finder known issue in Lion ?  Or I need to use another way like "Launch Daemon" or "Launch Agent" to do?
    Many thanks for your comment.
    Jason

    I suspect it's Photoshop Express, the Adobe Touch App from the App Store
    http://www.photoshop.com/tools/expresseditor
    http://itunes.apple.com/us/app/adobe-photoshop-express/id331975235?mt=8&ls=1
    Express forum
    http://forums.adobe.com/community/psexpress

Maybe you are looking for