Cheatsheet: Difference between revisions

Content added Content deleted
Line 554: Line 554:




/proc/cmdline – Kernel command line information.
/proc/cmdline – Kernel command line information.
/proc/console – Information about current consoles including tty.
/proc/console – Information about current consoles including tty.
/proc/crypto – list of available cryptographic modules
/proc/devices – Device drivers currently configured for the running kernel.
/proc/devices – Device drivers currently configured for the running kernel.
/proc/dma – Info about current DMA channels.
/proc/fb Framebuffer devices.
/proc/diskstats
/proc/dma – Info about current DMA channels.
/proc/filesystems – Current filesystems supported by the kernel.
/proc/iomem Current system memory map for devices.
/proc/fb – Framebuffer devices.
/proc/filesystems – Current filesystems supported by the kernel.
/proc/ioports – Registered port regions for input output communication with device.
/proc/loadavgSystem load average.
/proc/iomem Current system memory map for devices.
/proc/ioports – Registered port regions for input output communication with device.
/proc/locks – Files currently locked by kernel.
/proc/kmsg – holding messages output by the kernel
/proc/meminfo – Info about system memory (see above example).
/proc/loadavg – System load average.
/proc/misc – Miscellaneous drivers registered for miscellaneous major device.
/proc/modulesCurrently loaded kernel modules.
/proc/locks Files currently locked by kernel.
/proc/mountsList of all mounts in use by system.
/proc/meminfo Summary of how the kernel is managing its memory.
/proc/misc – Miscellaneous drivers registered for miscellaneous major device.
/proc/partitions – Detailed info about partitions available to the system.
/proc/modules – Currently loaded kernel modules.
/proc/pci – Information about every PCI device.
/proc/statRecord or various statistics kept from last reboot.
/proc/mounts List of all mounts in use by system.
/proc/swapInformation about swap space.
/proc/partitions Detailed info about partitions available to the system.
/proc/uptimeUptime information (in seconds).
/proc/pci Information about every PCI device.
/proc/scsi – Information about any devices connected via a SCSI or RAID controller
/proc/version – Kernel version, gcc version, and Linux distribution installed.
/proc/stat – Record or various statistics kept from last reboot.
/proc/swap – Information about swap space.
/proc/tty – Information about the current terminals
/proc/uptime – Uptime information (in seconds).
/proc/version – Kernel version, gcc version, and Linux distribution installed.


/proc/PID/cmdline – Command line arguments.
/proc/PID/cpu – Current and last cpu in which it was executed.
/proc/PID/cwd – Link to the current working directory.
/proc/PID/environ – Values of environment variables.
/proc/PID/exe – Link to the executable of this process.
/proc/PID/fd – Directory, which contains all file descriptors.
/proc/PID/maps – Memory maps to executables and library files.
/proc/PID/mem – Memory held by this process.
/proc/PID/root – Link to the root directory of this process.
/proc/PID/stat – Process status.
/proc/PID/statm – Process memory status information.
/proc/PID/status – Process status in human readable form.