Linux tunneb paljusid failisüsteeme - proc on üks neist. Ma
ei tunne ennast linux'is eriti kodus ja eriti veel protsessidest rääkides
aga, oleks patt mitte mainida nii huvitavat kataloogi: Siin on iga käimasoleva
protsessi jaoks oma kataloog mis on seotud protsessi puutuva infoga. Eriti
huvitavad on mulle teadaolevatest:
1. | bash# cat cpuinfo
processor : 0 cpu : 586 model : Pentium 75+ vendor_id : GenuineIntel stepping : 12 fdiv_bug : no hlt_bug : no f00f_bug : yes fpu : yes fpu_exception : yes cpuid : yes wp : yes flags : fpu vme de pse tsc msr mce cx8 bogomips : 47.92 bash# |
2. | bash# cat modules
vfat 4 2 smbfs 6 0 msdos 2 0 fat 6 [vfat msdos] 2 isofs 5 0 nls 1 [vfat fat isofs] 0 ne 2 1 8390 2 [ne] 0 ppp 5 0 slhc 2 [ppp] 0 bash# |
3. | bash# cat version
Linux version 2.0.34 (root@suvi) (gcc version 2.7.2.3) #1 Sat Aug 22 15:37:34 EST 1998 bash# |
4. | bash# cat filesystems
ext2 xiafs minix nodev proc nodev nfs iso9660 msdos nodev smbfs vfat bash# |
5. | bash# cat interrupts
0: 3342082 timer 1: 114911 keyboard 2: 0 cascade 4: 337397 + serial 10: 7710 NE2000 13: 1 math error 14: 53192 + ide0 15: 0 + ide1 bash# |
6. | bash# cat devices
Character devices: 1 mem 2 pty 3 ttyp 4 ttyp 5 cua 7 vcs Block devices:
|
7. | bash# cat uptime
33492.76 30673.94 bash# |
8. | bash# cat pci
PCI devices found: Bus 0, device 20, function 0: VGA compatible controller: ATI Mach64 VT (rev 64). Medium devsel. Fast back-to-back capable. IRQ 255. Non-prefetchable 32 bit memory at 0xe0000000. I/O at 0x6100. Bus 0, device 7, function 2: USB Controller: Intel 82371SB PIIX3 USB (rev 1). Medium devsel. Fast back-to-back capable. IRQ 255. Master Capable. Latency=32. I/O at 0x6000. Bus 0, device 7, function 1: IDE interface: Intel 82371SB PIIX3 IDE (rev 0). Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. I/O at 0xf000. Bus 0, device 7, function 0: ISA bridge: Intel 82371SB PIIX3 ISA (rev 1). Medium devsel. Fast back-to-back capable. Master Capable. No bursts. Bus 0, device 0, function 0: Host bridge: Intel 82437VX Triton II (rev 2). Medium devsel. Master Capable. Latency=32. bash# |
9. | bash# cat mounts
/dev/root / ext2 rw 0 0 /dev/hda2 /nt.40 vfat rw 0 0 /dev/hda5 /os2 vfat rw 0 0 /dev/hda8 /hda8 ext2 rw 0 0 none /proc proc rw 0 0 bash# |
Ja seal on neid veel :)
Jah, kes asja tunneb sai siit päris täpselt teada mis sorti
süsteem mul on!