yangzhg commented on issue #1896: Add hardware info in fe httpserver home page #1894 URL: https://github.com/apache/incubator-doris/pull/1896#issuecomment-535824534 the example out put like ``` GNU/Linux Ubuntu 16.04.6 LTS (Xenial Xerus) build 3.10.0_3-0-0-15 Booted: 2019-09-25T06:29:46Z Uptime: 2 days, 00:50:52 Running without elevated permissions. Intel Core Processor (Haswell) 8 physical CPU package(s) 8 physical CPU core(s) 8 logical CPU(s) Identifier: Intel64 Family 6 Model 60 Stepping 1 ProcessorID: 0F81FBFF003006C1 Context Switches/Interrupts: 369591523 / 1551842989 CPU, IOWait, and IRQ ticks @ 0 sec:[28696890, 3270050, 7332860, 996865660, 69640, 0, 112260, 11280660] CPU, IOWait, and IRQ ticks @ 1 sec:[28697840, 3270080, 7332970, 996867860, 69640, 0, 112260, 11281370] User: 23.8% Nice: 0.8% System: 2.8% Idle: 55.0% IOwait: 0.0% IRQ: 0.0% SoftIRQ: 0.0% Steal: 17.8% CPU load: 45.0% CPU load averages: 1.37 0.64 0.38 CPU load per processor: 71.1% 67.6% 28.9% 57.9% 58.5% 5.1% 61.8% 42.9% Current Frequencies: 2.4 GHz, 2.4 GHz, 2.4 GHz, 2.4 GHz, 2.4 GHz, 2.4 GHz, 2.4 GHz, 2.4 GHz Memory: 14.0 GiB/15.5 GiB Swap used: 0 bytes/0 bytes Processes: 156, Threads: 525 PID %CPU %MEM VSZ RSS Name 25431 198.5 1.7 8.9 GiB 267.3 MiB java 31605 0.4 0.0 1.3 GiB 6.8 MiB python 31966 0.4 0.3 685.1 MiB 46.6 MiB xx 3800 0.3 0.0 1.8 GiB 7.3 MiB xxx 32715 0.2 0.2 4.8 GiB 32.1 MiB pppp Disks: /dev/vda: (model: Unknown - S/N: Unknown) size: 21.5 GB, reads: 60324 (1.6 GiB), writes: 321767 (27.1 GiB), xfer: 65583 ms |-- /dev/vda1: vda1 (ext4) Maj:Min=252:1, size: 21.5 GB @ / /dev/vdb: (model: Unknown - S/N: Unknown) size: 257.7 GB, reads: 486715 (10.6 GiB), writes: 941413 (84.7 GiB), xfer: 177225 ms File System: File Descriptors: 1600/1614626 / (Local Disk) [ext4] 12.5 GiB of 19.6 GiB free (63.8%), 2.5 M of 2.6 M files free (95.5%) is /dev/vda1 and is mounted at / /dev/vdb (Local Disk) [ext4] 161.1 GiB of 236.1 GiB free (68.2%), 15.0 M of 15.7 M files free (95.6%) is /dev/vdb and is mounted at /home none (Mount Point) [tmpfs] 7.6 GiB of 7.8 GiB free (97.3%), 2.0 M of 2.0 M files free (100.0%) is none and is mounted at /download none (Mount Point) [tmpfs] 7.4 GiB of 7.8 GiB free (95.0%), 2.0 M of 2.0 M files free (99.7%) is none and is mounted at /modules none (Mount Point) [tmpfs] 7.8 GiB of 7.8 GiB free (100.0%), 2.0 M of 2.0 M files free (100.0%) is none and is mounted at /tmp none (Mount Point) [tmpfs] 7.8 GiB of 7.8 GiB free (100.0%), 2.0 M of 2.0 M files free (100.0%) is none and is mounted at /bin Network interfaces: Name: eth0 (eth0) MAC Address: aa:aa:aa:aa:aa:aa MTU: 1500, Speed: 0 bps IPv4: [10.1.2.3] IPv6: [] Traffic: received 3865166 packets/2.4 GiB (0 err); transmitted 2503939 packets/389.9 MiB (0 err) Network parameters: Host name: hostname Domain name: hostname.domain.com DNS servers: [10.10.10.10, 10.10.10.20] IPv4 Gateway: 10.1.2.3 IPv6 Gateway: ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
