From 2db82c0a7e19d596c876ede8a8ff106aaa733ee5 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 14 Apr 2021 20:43:58 -0700 Subject: [PATCH] add systeminfo example --- EXAMPLES.md | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/EXAMPLES.md b/EXAMPLES.md index 686eb1fa..414053cf 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -2869,6 +2869,72 @@ systemctl list-unit-files | jc --systemctl-luf -p # or: jc -p systemct } ] ``` +### systeminfo +```bash +systeminfo | jc --systeminfo -p # or: jc -p systeminfo +``` +```json +{ + "host_name": "TESTLAPTOP", + "os_name": "Microsoft Windows 10 Enterprise", + "os_version": "10.0.17134 N/A Build 17134", + "os_manufacturer": "Microsoft Corporation", + "os_configuration": "Member Workstation", + "os_build_type": "Multiprocessor Free", + "registered_owner": "Test, Inc.", + "registered_organization": "Test, Inc.", + "product_id": "11111-11111-11111-AA111", + "original_install_date": "3/26/2019, 3:51:30 PM", + "system_boot_time": "3/30/2021, 6:13:59 AM", + "system_manufacturer": "Dell Inc.", + "system_model": "Precision 5530", + "system_type": "x64-based PC", + "processors": [ + "Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~2592 Mhz" + ], + "bios_version": "Dell Inc. 1.16.2, 4/21/2020", + "windows_directory": "C:\\WINDOWS", + "system_directory": "C:\\WINDOWS\\system32", + "boot_device": "\\Device\\HarddiskVolume2", + "system_locale": "en-us;English (United States)", + "input_locale": "en-us;English (United States)", + "time_zone": "(UTC+00:00) UTC", + "total_physical_memory_mb": 32503, + "available_physical_memory_mb": 19743, + "virtual_memory_max_size_mb": 37367, + "virtual_memory_available_mb": 22266, + "virtual_memory_in_use_mb": 15101, + "page_file_locations": "C:\\pagefile.sys", + "domain": "test.com", + "logon_server": "\\\\TESTDC01", + "hotfixs": [ + "KB2693643", + "KB4601054" + ], + "network_cards": [ + { + "name": "Intel(R) Wireless-AC 9260 160MHz", + "connection_name": "Wi-Fi", + "status": null, + "dhcp_enabled": true, + "dhcp_server": "192.168.2.1", + "ip_addresses": [ + "192.168.2.219" + ] + } + ], + "hyperv_requirements": { + "vm_monitor_mode_extensions": true, + "virtualization_enabled_in_firmware": true, + "second_level_address_translation": false, + "data_execution_prevention_available": true + }, + "original_install_date_epoch": 1553640690, + "original_install_date_epoch_utc": 1553615490, + "system_boot_time_epoch": 1617110039, + "system_boot_time_epoch_utc": 1617084839 +} +``` ### /usr/bin/time ```bash /usr/bin/time --verbose -o timefile.out sleep 2.5; cat timefile.out | jc --time -p