@@ -17,3 +17,98 @@ It currently prints:
1717- List of all network interfaces with names and IP addresses
1818- Reverse Lookup for those IP addresses (IP Address => List of hostnames)
1919- Forward lookup for those hostnames (Hostname => List of IP addresses)
20+
21+
22+ Here is an example of what it looks like on my Laptop:
23+
24+ ``` json
25+ {
26+ "cpu_count" : 8 ,
27+ "physical_core_count" : 4 ,
28+ "total_memory" : 50161664000 ,
29+ "free_memory" : 2400735232 ,
30+ "available_memory" : 35192512512 ,
31+ "used_memory" : 14969151488 ,
32+ "total_swap" : 53687087104 ,
33+ "free_swap" : 53687087104 ,
34+ "used_swap" : 0 ,
35+ "total_memory_cgroup" : null ,
36+ "free_memory_cgroup" : null ,
37+ "free_swap_cgroup" : null ,
38+ "system_name" : " Arch Linux" ,
39+ "kernel_version" : " 6.7.8-arch1-1" ,
40+ "os_version" : " Linux rolling Arch Linux" ,
41+ "host_name" : " lars-laptop" ,
42+ "cpu_arch" : " x86_64" ,
43+ "disks" : [
44+ {
45+ "mount_point" : " /" ,
46+ "total_space" : 754416877568 ,
47+ "available_space" : 55915364352
48+ },
49+ {
50+ "mount_point" : " /home" ,
51+ "total_space" : 754416877568 ,
52+ "available_space" : 55915364352
53+ },
54+ {
55+ "mount_point" : " /var/swap" ,
56+ "total_space" : 754416877568 ,
57+ "available_space" : 55915364352
58+ },
59+ {
60+ "mount_point" : " /boot" ,
61+ "total_space" : 2095079424 ,
62+ "available_space" : 1896505344
63+ }
64+ ],
65+ "network_information" : {
66+ "network_interfaces" : {
67+ "wlan0" : [
68+ " 192.168.1.23" ,
69+ " fe80::90bf:60ff:fe78:836a"
70+ ],
71+ "lo" : [
72+ " 127.0.0.1" ,
73+ " ::1"
74+ ],
75+ "virbr0" : [
76+ " 192.168.122.1"
77+ ]
78+ },
79+ "reverse_lookups" : {
80+ "192.168.1.23" : [
81+ " lars-laptop.localdomain."
82+ ],
83+ "192.168.122.1" : [
84+ " lars-laptop." ,
85+ " lars-laptop.local."
86+ ],
87+ "127.0.0.1" : [
88+ " localhost."
89+ ],
90+ "::1" : [
91+ " localhost."
92+ ],
93+ "fe80::90bf:60ff:fe78:836a" : [
94+ " lars-laptop."
95+ ]
96+ },
97+ "forward_lookups" : {
98+ "lars-laptop." : [
99+ " 127.0.0.1"
100+ ],
101+ "lars-laptop.local." : [
102+ " 192.168.1.23" ,
103+ " 192.168.122.1"
104+ ],
105+ "localhost." : [
106+ " 127.0.0.1"
107+ ],
108+ "lars-laptop.localdomain." : [
109+ " 127.0.0.1"
110+ ]
111+ }
112+ }
113+ }
114+ ```
0 commit comments