Skip to main content

Questions tagged [proc]

procfs (or the proc filesystem) is a special filesystem in UNIX-like operating systems that presents information about processes and other system information in a hierarchical file-like structure

1 vote
1 answer
74 views

I have a cloud VM running linux-yocto 6.17 and a few daemon processes--postfix, dovecot, rspamd, nginx, sshd, fail2ban and redis. Ever since upgrading from 6.11 to 6.17, I've noticed that /proc/sys/fs/...
amateurece's user avatar
1 vote
1 answer
76 views

Why does there appear to be a discrepancy between a process stack address within /proc/PID/maps compared to the stack start address within /proc/PID/stat, where the latter is a smaller subset of the ...
genericuser99's user avatar
1 vote
1 answer
66 views

The snippet below: shows statistics for what appears to be the exact same memory mapping: same device number, same inode, same offset, same length (0x7f8656e78000-0x7f8656cbb000 = 0x7f2f4ef6a000-...
Thriller's user avatar
5 votes
1 answer
355 views

Here's an example /proc/crypto entry: name : md5 driver : md5-generic module : kernel priority : 0 refcnt : 1 selftest : passed internal : no type : shash ...
asizo's user avatar
  • 61
2 votes
1 answer
96 views

I am using OpenBSD 7.7. So I know that procfs is not mounted on /proc, and I need to use sysctl to fetch process maps. But this fails as I am not running as a root user. The secure level is set to 1 ...
well-mannered-goat's user avatar
4 votes
0 answers
146 views

The window of my text editor Xed froze with Unsaved documents just as I was doing 'File'->'Save as...' to save them... [How ironic.] Since the process still exists, I am trying to recover the text ...
The Quark's user avatar
  • 454
7 votes
2 answers
425 views

I have sshd with PID of 1957: mohsen@debian:~$ ps ax -o pid,nice,pri,cmd |grep 1957 1957 -2 21 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups According to above, my nice number is -2 ...
PersianGulf's user avatar
  • 11.3k
1 vote
0 answers
33 views

I'm running the following C program // hello.c #include <stdio.h> #include <unistd.h> int main() { while (1) { printf("Hello\n"); fflush(stdout); sleep(1); } ...
MaPo's user avatar
  • 319
0 votes
0 answers
66 views

I have seen similar questions 1, 2, and understand the difference between RSS/VSZ. I've some uses of mmap'ing distinct virtual memory regions to the same underlying physical memory. In this case, /...
muser's user avatar
  • 101
0 votes
2 answers
153 views

On Linux, I'm looking at /proc/1/cwd. This symlink is not readable as a normal user: $ ls /proc/1/cwd ls: cannot access '/proc/1/cwd': Permission denied But /proc/1 is accessible: $ ls /proc/1 <...
codeandfire's user avatar
1 vote
1 answer
158 views

The man page describes the meaning of the VmFlags: The "VmFlags" line (available since Linux 3.8) represents the kernel flags associated with the virtual memory ...
Joseph Garvin's user avatar
0 votes
1 answer
176 views

Why is GNU Coreutil's dd unable to read /proc/pid/mem? PHP is able to read it, check this: $ dd if=/proc/357668/mem bs=100 skip=93824992231424 count=1 iflag=fullblock dd: /proc/357668/mem: cannot skip ...
hanshenrik's user avatar
0 votes
1 answer
116 views

The comand dmesg --level=emerg,alert,crit,err lists all error messages with a high severity. I wondered for monitoring purposes whether the count of messages is somehow exposed in the /proc filesystem....
maxammann's user avatar
  • 103
0 votes
1 answer
82 views

When a process execs, looking at kernel code for environ_read(), it seems that if the mm_struct doesn't yet exist / is null or the env_end member of that mm_struct is null, environ_read() will return ...
Gregg Leventhal's user avatar
1 vote
1 answer
154 views

I am trying to understand the meaning of the "some" row of the Linux PSI metric for CPU. The Linux documentation (https://github.com/torvalds/linux/blob/master/Documentation/accounting/psi....
aaw's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
39