Skip to main content

Questions tagged [proc]

The proc filesystem in Unix-like operating systems presents information about processes and other system information. Typically, it is mapped to a mount point named `/proc` at boot time.

Filter by
Sorted by
Tagged with
2 votes
1 answer
289 views

In this answer we see as a generic solution: $ pstree -s 5698 init───mdm───mdm───init───at-spi-bus-laun───dbus-daemon But for a more specific problem, if I launch foo from bash which then forks ...
Ken Y-N's user avatar
  • 156
1 vote
0 answers
77 views

I set my /etc/fstab like this proc /proc proc defaults,nosuid,nodev,noexec,relatime,hidepid=4,gid=adm 0 0 When I reboot, users with adm doesn't see external processes. ...
willnode's user avatar
  • 259
1 vote
1 answer
185 views

I've written a little tool to grep inside the adddress space of a proces with a start and end delimiter in ECMAScript regex syntax. I'm parsing /proc/pid/maps twice to determine the largest mapping ...
Edison von Myosotis's user avatar
2 votes
1 answer
105 views

Inside a Tcl proc, I need to refer to variables both in the context of this proc as well as the level above because the file that is getting sourced uses variables there. So I tried writing something ...
Chris's user avatar
  • 37
0 votes
1 answer
85 views

I'm most interested in the files which provide system information, like /proc/mdstat, /proc/crypto, and /proc/cpuinfo. /proc/mdstat demonstrates this most concisely: #!/usr/bin/env sh cat '/proc/...
RokeJulianLockhart's user avatar
0 votes
1 answer
687 views

I am using Ubuntu 22.04.3 LTS When I execute ls /proc/$$/fd I got the following result 0 1 2 255 But when I execute ls /proc/$$/fd/* I got the following result ls: cannot access '/proc/126708/fd/...
tahzibi.jafar's user avatar
1 vote
0 answers
558 views

So my computer is behaving weirdly in many ways which might or might not be related to hardware problems. This question is about a reproducible symptom of that, which I'm trying to investigate. When I ...
nonagon's user avatar
  • 11
1 vote
0 answers
351 views

I would like to run my process in a container without /proc/ filesystem. How can it be achieved? My intention is, that an attacker can not use a security flaw in a containerized application to read e....
entropie's user avatar
0 votes
1 answer
341 views

Why is it on linux systems with multiple processor cores (most systems of today), that the loadavg doesn't compensate for this? When 1 core on my system is being utilized by 1 process, the loadavg ...
user9503's user avatar
  • 213
21 votes
2 answers
6k views

I am freshly installing a distribution and want to set up a swap partition so that it is compatible with hibernate. First, I must determine the amount of physical memory the system has. $ grep ...
Jacob Birkett's user avatar
1 vote
1 answer
228 views

If I configure both Case 1 and Case 2 in the same Linux server, which case will take precedence over the other? Case 1 – echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all Case 2 – ...
Coding_A_Nation's user avatar
0 votes
1 answer
187 views

I'm writing a convenience script that will allow me to bring up an existing terminal upon pressing a keyboard shortcut, and spawn a new one if none currently exists. Ideally, this would be agnostic to ...
ijustlovemath's user avatar
0 votes
1 answer
553 views

so there i am using chroot to chrooting into debian bootstrap everything worked just right on root account until i added a new user to figure out that i cannot do update or access xdisplay or ...
amera's user avatar
  • 21
0 votes
1 answer
1k views

Context: CentOS 7 host Ubuntu container Dockerfile: FROM ubuntu ENTRYPOINT ["/bin/bash"] Observation: Building and running the above container, a new bash process will be launched on the ...
Neal Eastwood's user avatar
0 votes
1 answer
3k views

I wanted to run vscode as non root user so I switched to another user by "su - username" and run "code" but it gave an error "grep : /proc/version : permission denied" ...
Onkar Gupta's user avatar

15 30 50 per page