1、 外文原文 For example, this line from /proc/tty/driver/serial might describe serial port 1 (which would be COM2 under Windows): 1: uart:16550A port:2F8 irq:3 baud:9600 tx:11 rx:0 This indicates that the serial port is run by a 16550A-type UART, uses I/O port 0x2f8 and IRQ 3 for communication, and runs a
2、t 9,600 baud.The serial port has seen 11 transmit interrupts and 0 receive interrupts. See Section 6.4,Hardware Devices, for information about serial devices. 7.4 Kernel Information Many of the entries in /proc provide access to information about the running kernels configuration and state. Some of
3、these entries are at the top level of /proc; others are under /proc/sys/kernel. 7.4.1 Version Information The file /proc/version contains a long string describing the kernels release number and build version. It also includes information about how the kernel was built: the user who compiled it, the
4、machine on which it was compiled, the date it was compiled, and the compiler release that was usedfor example: % cat /proc/version Linux version 2.2.14-5.0 () (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) #1 Tue Mar 7 21:07:39 EST 2000 This indicates that the system is running a 2.2.14 release of the Linux kernel, which was compiled with EGCS release 1.1.2. (EGCS, the Experimental GNU Compiler System, was a precursor to the current GCC project.)