Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

system_profiler(8) [mojave man page]

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

NAME
system_profiler -- reports system hardware and software configuration. SYNOPSIS
system_profiler [-usage] system_profiler [-listDataTypes] system_profiler [-xml] dataType1 ... dataTypeN system_profiler [-xml] [-detailLevel level] DESCRIPTION
system_profiler reports on the hardware and software configuration of the system. It can generate plain text reports or XML reports which can be opened with System Information.app Progress and error messages are printed to stderr while actual report data is printed to stdout. Redirect stderr to /dev/null to suppress progress and error messages. The following options are available: -xml Generates a report in XML format. If the XML report is redirected to a file with a ".spx" suffix that file can be opened with System Information.app. -listDataTypes Lists the available datatypes. -detailLevel level Specifies the level of detail for the report: mini report with no personal information basic basic hardware and network information full all available information -timeout Specifies the maximum time to wait in seconds for results. If some information is not available within the specified time limit then an incomplete or partial report will be generated. The default timeout is 180 seconds. Specifying a time- out of 0 means no timeout. -usage Prints usage info and examples. EXAMPLES
system_profiler Generates a text report with the standard detail level. system_profiler -detailLevel mini Generates a short report containing no personal information. system_profiler -listDataTypes Shows a list of the available data types. system_profiler SPSoftwareDataType SPNetworkDataType Generates a text report containing only software and network data. system_profiler -xml > MyReport.spx Creates a XML file which can be opened by System Profiler.app AUTHORS
Apple Computer, Inc. Darwin June 30, 2003 Darwin

Check Out this Related Man Page

seaudit-report(8)					      System Manager's Manual						 seaudit-report(8)

NAME
seaudit-report - SELinux audit log reporting tool SYNOPSIS
seaudit-report [OPTIONS] LOGFILE ... DESCRIPTION
seaudit-report allows the user to generate custom audit log reports from the command line or by integration with the Logwatch tool. OPTIONS
-s, --stdin Read log data from standard input instead of from a file. File(s) specified on the command line will be ignored. -m, --malformed Include malformed log messages in generated report. -o FILE, --output=FILE Write output to FILE instead of standard output. -c FILE, --config=FILE Read configuration options from FILE instead of the default config file. --html Set output format to HTML instead of plain text. --stylesheet=FILE Specify the HTML stylesheet to use for formatting the HTML report. This option is ignored if --html is not given. See the default styesheet for an example (installed at /usr/share/setools/3.3/seaudit-report.css). -V, --version Print version information and exit. -h, --help Print help information and exit. AUTHOR
This manual page was written by Jeremy A. Mowery <jmowery@tresys.com>. COPYRIGHT
Copyright(C) 2004-2007 Tresys Technology, LLC BUGS
Please report bugs via an email to setools-bugs@tresys.com. SEE ALSO
seaudit(8) seaudit-report(8)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

checking text file

Hello, I have the following report (report.txt) file (see attached). I would like to check the file and if the field is error, then showing error message at output. 1. In the report, 1st, 2st and 3nd line can be ignore to check 2. start to check line 4 (each field use "," to split - 1st... (1 Reply)
Discussion started by: happyv
1 Replies

2. Programming

Running app after logout and monitoring

Hello! I just programmed a very simple app, it's function is to report every minute the state of the memory and cpu and put it to and xml. All this stuff is working ok since I'm logged in into the machine, but i want it to run as a service, how can I do that?? P.S: Any one knows how can I... (1 Reply)
Discussion started by: ncatdesigner
1 Replies

3. Shell Programming and Scripting

basic computer usage report

Our small company, about 5 users, need a basic script that scans mapped network drives (example: drive b,c,d, e, and f) for hard drive usage. This needs to send a report to myself in any type of basic notepad format (easy to read and decipher) for drives that have reached 80% usage... any ideas? ... (1 Reply)
Discussion started by: jessessays
1 Replies

4. Shell Programming and Scripting

Concatenation of files with same naming patterns dynamically

Since my last threads were closed on account of spamming, keeping just this one opened! Hi, I have the following reports that get generated every 1 hour and this is my requirement: 1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"... (5 Replies)
Discussion started by: Jesshelle David
5 Replies

5. Programming

Joining Columnar heading from 2 lines

Hi, Below is the format of a report generated by a custom reporting solution. I opened the report in Notepad++ and junked data and values as in the image below. https://www.unix.com/attachment.php?attachmentid=7907&stc=1&d=1575507708 I want to convert the values to a PIPE delimited format as... (2 Replies)
Discussion started by: ramkrix
2 Replies