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.

sscanf in Python

I'm looking for an equivalent to sscanf() in Python. I want to parse /proc/net/* files, in C I could …

python parsing split scanf procfs
Get list of open files (descriptors) in OS X

I would like to get a list of open files in a process on os x (10.9.1). In Linux I was …

macos osx-mavericks file-descriptor procfs
How to know linux scheduler time slice?

I'm looking for the value of the time slice (or quantum) of my Linux kernel. Specific Questions: Is there a /…

c linux linux-kernel embedded-linux procfs
Entries in /proc/meminfo

I can make sense of most of the information contained in /proc/meminfo like total memory, buffers, cache etc. Could …

linux memory procfs
Get local network interface addresses using only proc?

How can I obtain the (IPv4) addresses for all network interfaces using only proc? After some extensive investigation I've discovered …

python linux networking ipv4 procfs
How do VmRSS and resident set size match?

I parse data from /proc/[pid]/statm to get a clue about memory usage of a certain process. man proc …

linux procfs
dmesg is not showing printk statement

I'm trying to create a proc entry. My init_module function is as below int init_module() { printk(KERN_INFO "…

linux-kernel procfs
Getting Linux process resource usage (cpu,disk,network)

I want to use the /proc to find the resource usage of a particular process every second. The resources include …

linux resources cpu-usage procfs
What do the counters in /proc/[pid]/io mean?

I'm creating a plugin for Munin to monitor stats of named processes. One of the sources of information would be /…

linux linux-kernel procfs
How can i match each /proc/net/tcp entry to each opened socket?

I'm trying to parse socket info from /proc/net/tcp and while I can identify some fields, such as memory …

c linux networking procfs