procfs
Linux app sends UDP without socket
fellow coders. I\'m monitoring my outgoing traffic using libnetfilter_queue module and an iptables rule[详细]
2023-04-07 11:28 分类:问答Linux procfs inode number changed whill process was running
I\'m working on security software(SW) for Linux. One thing that our SW does on is that when some process is started, the SW stat()s the process\'s /proc/ entry and remembers the entry\'sinode number.[详细]
2023-04-06 08:39 分类:问答How to get jobid from procfs in Linux
I would like to get the jobid from procfs in Linux. I see only Pid , Ppid in the /proc//status files. But I needed j开发者_开发知识库obid too. Please let me know if there is a way to get the info.[详细]
2023-04-05 19:33 分类:问答Calculating user, nice, sys, idle, iowait, irq and sirq from /proc/stat
/proc/stat shows ticks for user, nice, sys, idle, iowait, irq and sirq like this: cpu6214713 286 1216407 121074379 260283 253506 1973开发者_运维百科68 0 0 0[详细]
2023-04-02 02:15 分类:问答reading and writing from a file in linux kernel
I\'m writing a patch for VFS FAT implmentation on kernel 3.0 I want to add posix attributes to FAT files that are created in linux.[详细]
2023-03-26 04:28 分类:问答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 cputime, disk usage and network usage. I looked at /proc/pid/stat , but I am not sure whe[详细]
2023-03-18 17:01 分类:问答Avoid related processes in process listing
How can I generate a process listing, that does not include the current process, its shell and any related processes in the process group, and the SSHD process generated to handle the session?[详细]
2023-03-17 07:09 分类:问答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 equates to STATE column from netstat(8) or ss(8).[详细]
2023-03-05 22:27 分类:问答Is there anything like /proc for windows [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not cur开发者_JAVA技巧rently accepting answers.[详细]
2023-03-01 12:54 分类:问答PCI device driver exporting information to /proc file system
I was asked this question in an interview. You are writing a PCI driver and you want to export the hardware-related information to the /proc filesystem. The interesting thing is that I searched the dr[详细]
2023-02-28 04:41 分类:问答