OSX: Quickly generates system records

Source: Internet
Author: User
Tags gz file

It can be used for troubleshooting. It is quite useful for system administrators.

Shortcut Key: Command + Option + Control + Shift +.

After a period of time, the sysdiagnoseplus time .tar.gz file is generated in the/private/var/tmp/folder. this includes almost all the system detection information, such as diskutil, GPT, ifconfig, odutil, logs, airport, systemconfigration, diagnosticmessages, crashes_and_spins, and fsck_hfs_var.


You can also use commands to refine your options.

------------------------------------

Sysdiagnose version: 1.2.2
Usage: sysdiagnose [-H] [-F result_directory] [process_name | PID]
-H display this help
-F result directory specify the directory where results will be stored.
[Process_name | PID] if a single process appears to be slowing down the system,
Passing in the process name or ID as the argument gathers
Addition Process-specific diagnostic data.

Description:
Sysdiagnose gathers system diagnostic information helpful in investigating system performance issues.
A great deal of information is harvested, spanning system state and configuration. The data is stored/var/tmp directory.
Sysdiagnose can be triggered upon pressing a special key chord; this is currently control-Option-command-shift-period.
What sysdiagnose collects:
-A spindump OF THE SYSTEM
-Several seconds of fs_usage ouput
-Several seconds of top output
-Data about Kernel zones
-Status of loaded kernel extensions
-Resident memory usage of user processes
-All system logs, kernel logs, opendirectory log, windowserver log, and log of power management events
-A system profiler report
-All spin and crash reports
-Disk usage information
-I/O kit Registry Information
-Network Status
-If a specific process is supplied as an argument: A list of malloc-allocated buffers in the process's heap is collected
-If a specific process is supplied as an argument: data about unreferenced malloc buffers in the process's memory is collected
-If a specific process is supplied as an argument: data about the virtual memory regions allocated in the process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.