TAILIEUCHUNG - Linux erver hacks 2003 phần 3

và cách giải quyết vấn đề hơn có thể phù hợp trong một khối duy nhất (mà những con người chỉ có thể thang máy, có nghĩa là). Nếu bạn chưa bao giờ được sử dụng này Đó là lý do tại sao chúng tôi tạo ra Hacks Linux Server, Tập hai, một bộ sưu tập thứ hai của lời khuyên vô cùng hữu ích | 16 Fun with proc Looks like we have 192MB installed in this machine 201330688 1024 1024 192 more or less . Notice the restricted file permissions That is the system s defense against anyone attempting to read the memory directly. Of course you re root and can do whatever you like. There s nothing preventing you from running grep or strings on kcore and looking for interesting tidbits. This is the system memory and things get cached in there until overwritten making it possible to hunt down accidentally lost data or track down naughty people doing things they oughtn t . Grovelling over kcore is actually not much fun and is typically only a method used by the very desperate or very bored . Some other notable status files root@catlin proc cat interrupts CPUO 0 34302408 XT-PIC timer 1 2 XT-PIC keyboard 2 0 XT-PIC cascade 3 289891 XT-PIC orinoco_cs 8 1 XT-PIC rtc 9 13933886 XT-PIC etho 10 25581 XT-PIC BusLogic 8T-958 14 301982 XT-PIC ideo NMI 0 ERR 0 These are the system counters for every interrupt that has ever been called its number and the driver that called it. root@catlin proc cat partitions major minor blocks name 8 0 8971292 sda 8 1 8707198 sdal 8 2 257040 sda2 3 64 29316672 hdb 3 65 29310561 hdbl This is a list of all of the hard disk partitions and devices that were discovered at boot along with their respective sizes. Here we have a 9GB SCSI disk and a 30GB IDE disk. All available partitions are represented here regardless of whether they are currently mounted making it a handy reference to see if there are any unmounted disks on the system . Let s leave the system parameters and take a look at the structure of an individual process. root@catlin proc cd 1 root@catlin proc l Is -1 total 0 -r--r--r-- 1 root root 0 Aug 28 22 05 cmdline Irwxrwxrwx 1 root root 0 Aug 28 22 05 cwd - 32 I Server Basics Fun with proc 16 -r--------1 root root 0 Aug 28 22 05 environ Irwxrwxrwx 1 root root 0 Aug 28 22 05 exe - sbin init root root 0 Aug 28 22 05 id -r--r--r-- 1 .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.