![]() How to check how many processor and volume groups IBM AIX eServer have.Monitor General Server / Desktop system health in console on Linux and FreeBSD.Linux watch Windows equivalent command bat script – How to Run a command every XXX seconds on Windows.Speed up WordPress / Joomla CMS and MySQL server on Linux with tmpfs ram file system / Decrease Website pageload times with RAM caching.Check Windows load avarage command – Get CPU usage from Windows XP / 7 / 8 / 2012 server cmd prompt.Boost local network performance (Increase network thoroughput) by enabling Jumbo Frames on GNU / Linux.Here is a link to output file generated by system_prifler As the manual describes it, system_profiler (reports system hardware and software configuration.) cmd: ![]() If you need more verbose information on system hardware and resources, check out system_profiler. Kernel configured for up to 4 processors.ĭefault processor set: 98 tasks, 621 threads, 4 processors 2003 onwards of Mac OS have hostinfo – (host information) command, providing admin with quick way to get System Info on Mac OSĭarwin Kernel Version 12.5.0: Sun Sep 29 13:33: root:xnu-2050.48.12~1/RELEASE_X86_64 Quick command to get Kernel / how many CPUs, available memory and load avarage on Mac OS Xįrom y. $ top -l 1 | head -n 10 | grep PhysMem | sed 's/, /n /g' It is also possible to get memory statistics on Mac PC running top in non-interactive mode and grepping it from output: To show inactive memory in Gigabytes every 10 seconds Use this obscure one liner to free -m Linux memory command like output from Mac terminal You can then extract useful information from the output file (even while it's still running), this will get you cpu load on Mac OS system spitting stats every 10 seconds. That gathers 10 sets of metrics at 10 second intervals. To check Load from Mac OS command line use: Check out Mac OS X HDD Input / Output statistics Mac OS X comes with sar – (system activity reporter), top (process monitor) and vm_stat (virtual memory statistics) command – these ones are equivalent of Linux's sar (from sysstats package), top and Linux vmstat (report virtual memory statistics).ġ. ![]() To start Activity Monitor open Finder and launch it via :Īpplications -> Utilities -> Activity MonitorĪs a Linux guy, I like to use command line and there Mac OS X is equipped with a good arsenal of tools to check CPU load and Memory. Mac OS X has already a GUI tool called Activity Monitor (existing in Mac OS 10.3 onwards) in earlier verions, there was tool called Process Viewer and CPU Monitor. Mac has plenty of instruments to debug OS issues as it is UNIX (BSD) based. Thus cause it is among popular OSes, it very possible sooner or later as a sysadmin you will have to troubleshoot issues on at least Mac OS X notebook. For the usual admin having to administer a Mac OS X based server is something rarely to do, however it might happen some day, and besides that nowadays Mac OS X has about 10% percentage share of PC desktop and laptops used on the Internet ( data collected from w3cschools log files). You might be stunned to find out Mac OS X has a server variant called Mac OS X server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |