Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mddiagnose(8) [mojave man page]

MDDIAGNOSE(8)						    BSD System Manager's Manual 					     MDDIAGNOSE(8)

NAME
mddiagnose -- gather information to aid in diagnosing Spotlight issues SYNOPSIS
mddiagnose -h mddiagnose [-f path] [-e path] [-p path] [-n] DESCRIPTION
The mddiagnose tool gathers system and Spotlight information in order to assist Apple when investigating issues related to Spotlight. A great deal of information is harvested, spanning system state, system and Spotlight details. What mddiagnose Collects: o A spindump of the system o Several seconds of top output o Individual samples of mds and mdworker o Paths for all files used by Spotlight to contain its database on every volume o All system logs o All spin and crash reports for the following processes: mds mdworker o Recent spin and crash reports for the following processes, for all local users: mds mdworker o The query text and result quality statistics for recent Spotlight searches. The actual results of the searches are not gathered o General information about disks and mounted network shares o The path of the last file indexed by each mdworker process on behalf of Spotlight. The path of the last file which resulted in a crash of an mdworker process. In each case, only the path is gathered, not the contents of the file o Spotlight configuration for each volume currently mounted on your system. This includes the path and size of all files used inter- nally by Spotlight as well as a listing of paths that are user excluded from indexing o Comprehensive information about internal state of Spotlight What mddiagnose Doesn't Collect: o No user data is harvested from any volume o No paths or files found by any search are returned o No database storage or user files are returned o No authentication credentials are harvested from the system OPTIONS
-h Print full usage. -m Gather a subset of the normal report. -f path Write the diagnostic to the specified path. -p path Gather Spotlight permissions and filter information. Run as owner of that file. EXIT STATUS
mddiagnose exits with status 0 if there were no internal errors encountered during the diagnostic, or >0 when an error unrelated to external state occurs or unusable input is provided by the user. Mac OS X 15 March 2011 Mac OS X

Check Out this Related Man Page

KLDCONFIG(8)						    BSD System Manager's Manual 					      KLDCONFIG(8)

NAME
kldconfig -- display or modify the kernel module search path SYNOPSIS
kldconfig [-dfimnUv] [-S sysctlname] [path ...] kldconfig -r DESCRIPTION
The kldconfig utility displays or modifies the search path used by the kernel when loading modules using the kldload(8) utility or the kldload(2) syscall. The following options are available: -d Remove the specified paths from the module search path. -f Do not display a diagnostic message if a path specified for adding is already present in the search path, or if a path specified for removing is not present in the search path. This may be useful in startup/shutdown scripts for adding a path to a file system which is still not mounted, or in shutdown scripts for unconditionally removing a path that may have been added during startup. -i Add the specified paths to the beginning of the search path, not to the end. This option can only be used when adding paths. -m Instead of replacing the module search path with the set of paths specified, ``merge'' in the new entries. -n Do not actually change the module search path. -r Display the current search path. This option cannot be used if any paths are also specified. -S sysctlname Specify the sysctl name to use instead of the default kern.module_path. -U ``Unique-ify'' the current search path - if any of the directories is repeated one or more times, only the first occurrence remains. This option implies -m. -v Verbose output: display the new module search path. If the path has been changed, and the -v flag is specified more than once, the old path is displayed as well. FILES
/boot/kernel, /boot/modules, /modules The default module search path used by the kernel. EXIT STATUS
The kldconfig utility exits 0 on success, and >0 if an error occurs. SEE ALSO
kldload(2), kldload(8), sysctl(8) HISTORY
The kldconfig utility first appeared in FreeBSD 4.4. AUTHORS
Peter Pentchev <roam@FreeBSD.org> BSD
June 15, 2001 BSD
Man Page