Top "Procfs" questions

The proc filesystem is a virtual filesystem through which kernels of Unix-like operating systems, including Linux, expose process and kernel information.

List of possible internal socket statuses from /proc

I would like to know the possible values of st column in /proc/net/tcp. I think the st column …

linux sockets ipv6 ipv4 procfs
What is alternative of create_proc_entry()

As create_proc_entry function is deprecated, what is its replacement? I was trying to create a simple proc entry …

linux-kernel procfs
How to interpret the contents of /proc/bus/pci/devices?

The first few fields of 'cat /proc/bus/pci/devices' are understandable. Field 1 - BusDevFunc Field 2 - Vendor Id + Device …

linux pci-bus procfs
Is it safe to parse a /proc/ file?

I want to parse /proc/net/tcp/, but is it safe? How should I open and read files from /proc/ …

c++ c linux unix procfs
Understanding /proc/sys/vm/lowmem_reserve_ratio

I am not able to understand the meaning of the variable "lowmem_reserve_ratio" by reading the explanation from Documentation/…

linux memory-management virtual-machine procfs
How to remount the /proc filesystem in a docker as a r/w system?

I have installed docker 0.11.1 over Ubuntu 12.04. I am trying to change the shmmax from its fixed value (32 M) to something …

linux docker ubuntu shared-memory procfs
How to share linux kernel memory with userspace (read only)

I need to share about 100KiB of kernel memory to userspace. Userspace daemon will access this memory in read-only manner …

linux linux-kernel shared-memory procfs
What is the maximum allowed limit on the length of a process name?

What is the maximum length allowed for a process name? I am reading the process name from /proc/[pid]/stat …

linux unix process procfs
Fetching the TCP RTT in Linux

I need to fetch the RTT for TCP flow. I have looked into the proc file system but not able …

linux procfs
Finding a process ID given a socket and inode in Python 3

/proc/net/tcp gives me a local address, port, and inode number for a socket (0.0.0.0:5432 and 9289, for example). I'd like …

linux sockets python-3.x python-3.2 procfs