Questions tagged [proc]
Proc refers to Procfs filesystem in *nix based operating system.
74
questions
1
vote
0
answers
41
views
Help with booting issue
When I boot up I get this message and can’t log on.
[ 0.185085] ×86/cpu: SGX disabled bBIOS.
Gave up waiting for root file system device.
Common problems:
Boot args (cat /proc/cmdline)
Check ...
0
votes
0
answers
353
views
Ubuntu 22.04 missing /proc/version_signature
I run Ubuntu 22.04 on a Dell Latitude E7440
sudo pro status
WARNING:root:failed to process /proc/version_signature.
SERVICE ENTITLED STATUS DESCRIPTION
esm-apps yes enabled ...
0
votes
0
answers
251
views
/etc setting to ping as non-root freely
Since some not long time ping stopped working as non-root (I'm not sure if it distro-wide or maybe it is my custom kernel). The ping is fixed by this command:
sysctl -w net.ipv4.ping_group_range="...
-1
votes
1
answer
588
views
kcore file on /proc/ 128tb
my vm with windows with shared folders and my ubuntu showing the file on KDE Dolphin
/proc/kcore - 128TB
a link to the file
ok, i creating a project in a Windows VM, the Linux+Windows, copying my host ...
1
vote
0
answers
306
views
could not open file /proc/asound/card0/pcm0p/info
if I start sonic-pi on my ubuntu system, I get the following error:
[GUI] - could not open file /proc/asound/card0/pcm0p/info
In fact the whole directory pcm0p doesn't exist. This is as deep as I can ...
1
vote
1
answer
3k
views
Permanently setting intel pstate driver to "passive"
My i5-11600K CPU is using the intel_pstate frequency scaling.
By default, the driver is in "active" mode and will throttle up ALL 6 physical cores, even if there is only work for one core.
...
5
votes
0
answers
240
views
Why is update-notifier.desktop scanning /proc/3782/fd without permission?
Why is that, occasionally, update-notifier spits out a large number of "Permission denied" lines in journalctl?
Dec 04 08:55:32 ML systemd[1]: NetworkManager-dispatcher.service: Succeeded.
...
2
votes
0
answers
336
views
Running cat /proc/iomem shows “Killed” message
I'm trying to see the content of the /proc/iomem. Upon running both
$ cat /proc/iomem
$ cat sudo /proc/iomem
I'm getting the same message killed in the terminal. And the
dmesg shows the following,
[ ...
0
votes
1
answer
251
views
Are /proc/sys/net/ipv4/icmp_echo_ignore_all and net.ipv4.icmp_echo_ignore_all equivalent?
According to the following test, it seems that net.ipv4.icmp_echo_ignore_all and /proc/sys/net/ipv4/icmp_echo_ignore_all are exactly the same. Are they exactly the same? If so, which way is the best ...
0
votes
0
answers
60
views
What is the correct way to see what signals a process handles?
EDIT: Since my question was not clear let me reformulate: how can one find what signals a process handles? From this answer: https://unix.stackexchange.com/questions/85364/how-can-i-check-what-signals-...
0
votes
1
answer
901
views
How to get (from terminal) total number of threads per core?
I want to know how can I get the total number of running threads per core (in the runqueue) in the terminal (to be used in a bash script)?
0
votes
1
answer
270
views
How do I locate a file returned by lsof?
I'm using Ubuntu Linux 16. I recently noticed a substantial discrepancy between what "df" reports and what "du" reports for the total size of my "/" directory. So following this link -- https://...
2
votes
2
answers
19k
views
Unknown symbol in module but what symbol?
I compile a driver following the documentations. But when I try loading them via
insmod onebox_wlan_nongpl.ko
, I receive an error message:
insmod: Error: could not insert module ...
1
vote
0
answers
317
views
/proc directory structure shows only processes but also contains directories for threads
I was studying about the internals of Linux where I came to know about how the file descriptors of processes are kept under /proc/PID/fd. I tried to poke around an Ubuntu 18.04 installation and came ...
3
votes
0
answers
112
views
File descriptor 255 for terminal? [duplicate]
I was learning about the proc filesystem mechanism and I randomly tried to check the file descriptors of bash itself. Can someone explain what the file descriptor number 255 doing here (like I ...
2
votes
2
answers
2k
views
/proc directory stored in a RAM or Hard drive?
I want to know what is the /proc and what kind of stuffs included in that? And if the /proc store in RAM or Hard drive?
Thanks
0
votes
0
answers
209
views
/proc/ioports is empty in beagleboard
I am trying to find the port addresses in Ubuntu in beaglebone black. When I try to open /proc/ioports file, it shows the file is empty.
Can someone help me with this?
0
votes
0
answers
4k
views
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message
I was trying to install Ubuntu 18.04 here: the 'grub-efi-amd64-signed' package failed to install into /target/
Finaly I created a new partition sdb8 efi and then Installed Linux successfully. ...
4
votes
0
answers
944
views
Ubuntu Bionic and i7-8550U
I've installed Ubuntu Bionic on an HP Probook 470 G5 with an i7-8550U CPU.
But in /proc/cpuinfo I see:
siblings: 1
cpu cores: 1
I believe I should see:
siblings: 8
cpu cores: 4
If I'm right, what ...
39
votes
6
answers
22k
views
How do I split a "/proc/*/environ" file in separate lines?
I'm trying to get the content of any /proc/*PID*/environ file in more readable format. I'm able to do that in the way shown below, but I'm sure this isn't the proper way.
$ cat "/proc/$(pgrep gnome-...
4
votes
1
answer
2k
views
What is /proc/sys/vm/pagecache in Ubuntu?
Redhat says in some of their docs
Page cache is a disk cache which holds data of files and executable programs, for example pages with actual contents of files or block devices. Page cache (disk ...
1
vote
0
answers
21
views
Proper location for proc edits
My hardware/kernel combination expose a particular bug(ish) that means my laptop doesn't sleep when the lid is closed. The fix is easy - it's simply:
root# echo XHC1 >/proc/acpi/wakeup
My ...
4
votes
1
answer
2k
views
How is "sendmail: MTA: accepting connections" a correct commandline?
cat /proc/21637/cmdline says sendmail: MTA: accepting connections which I cannot imagine to be a correct command line. Since I don't have sendmail installed nor do I find it in PATH and not even ...
1
vote
0
answers
222
views
Directory "/proc/sys/net/" missing in Ubuntu 14.04.4 on Windows
I have been trying to trouble-shoot connectivity issues with Bash on Ubuntu on Windows (Ubuntu 14.04.4 LTS), and I discovered I don't have a /proc/sys/net directory.
me@mycomp:~$ ll -a /proc/sys/
...
3
votes
2
answers
4k
views
Finding my swap partition
It looks like I have 40 GB of swap:
wuser@wavesftwDell:~$ cat /proc/swaps
Filename Type Size Used Priority
/dev/dm-1 ...
6
votes
2
answers
3k
views
Why there are 2 directories having same content?
cd /proc/$$/root/bin
cd /bin
After running ls command on both the directory, I found that content of both directories are same (which is nothing but list of commands).
Is there any specific reason ...
0
votes
2
answers
3k
views
Cannot read the changes in net.ipv4.ip_local_reserved_ports
I'm new to Ubuntu and I tried to edit this file net.ipv4.ip_local_reserved_ports
but cannot read changes. I got empty after I checked the file again.
3
votes
1
answer
345
views
What controls the device name in /proc/mounts?
In /proc/mounts, my system used to show /dev/mapper/sda2_crypt as /. After used for some days, including kernel and software upgrading, the line changed to /dev/dm-0 as /. What happened? I booted into ...
1
vote
1
answer
1k
views
How to get CPU Utilization for a certain process
I am running Ubuntu 14.04 on my machine. I need to get the CPU utilization for a process running at a required monitoring interval.
I have tried the following have a few questions about them.
I ...
5
votes
1
answer
7k
views
Directory "/proc/sys/net/bridge" missing
I upgraded my Trusty to Linux 3.19 and the directory /proc/sys/net/bridge disappeared.
What's going on?
My bridge exist, I can see it through brctl show, but where is the directory under /proc? If I ...
3
votes
1
answer
2k
views
How do I edit a file in /proc that can be viewed with cat, but is not editable by mousepad and abiword?
As the question says, I need to edit my /proc/acpi/wakeup file, but when I open it with any text editor, it shows blank file. cat command, on the other hand, displays correct file contents in terminal....
8
votes
1
answer
36k
views
How to check if ICMP blocking is enabled in a system..?
A VLAN pool enabled newly is not pinging the device. Connectivity issues are not there.
Can this be because if ICMP Blocking is enabled?
How to check the status of the same?
3
votes
1
answer
2k
views
Recursive directory listing of /proc
I'm trying to obtain a recursive directory listing of my filesystem using the command
$ ls -alRc
from root directory.
Everything is running fine except the /proc directory listing, which results ...
1
vote
1
answer
734
views
/proc/net/dev on ubuntu 12.04 x86
How can i prevent reset byte count in /proc/net/dev when there is higher than 4gb of transfert? The 'bytes' counter in /proc/net/dev wraps after bytes > 2^32.
I understand that there are other ...
11
votes
1
answer
6k
views
Absurdly large /proc/kcore file -- what does it mean?
I had to abort a backup of my system because it stalled on the file /proc/kcore. I check its size and, well, the file is enormous. Checking Google, it seems that many other people have absurdly large ...
5
votes
0
answers
2k
views
What controls apport's behavior for saving core dumps?
apport is configured (default) to handle my system's core dumps (in /proc/sys/kernel/core_pattern: |/usr/share/apport/apport %p %s %c %P). It's behavior is mysterious to me:
Sometimes it saves core ...
1
vote
1
answer
1k
views
What is the format of /proc/[pid]/sched file? What is option avg_per_cpu in it?
I'm wondering if there is some documentation for /proc/[pid]/sched file in linux? this is not present in man proc. I need to understand what are the different field in there and what is avg_per_cpu ...
2
votes
1
answer
477
views
What does it mean for /proc/kpagecount to be zero
for some entries in /proc/kpagecount, all the 64 bit entry is zeros and yet the page is allocated (confirmed from /proc/kpageflags). What does it mean for kpagecount to be zero for certain physical ...
2
votes
2
answers
594
views
Modules in /proc/modules address issue
If I cat of the /proc/modules the RAM address location of modules is always 0x0000000000000000.
Any ideas?
vmnet 51316 13 - Live 0x0000000000000000 (OX)
parport_pc 32701 0 - Live 0x0000000000000000
...
1
vote
1
answer
102
views
Stat a PID for claim time?
Is it possible to stat a process ID to get the time it was claimed?
0
votes
1
answer
1k
views
directories under /proc directory
when I tried $ ls /proc ,I found a lot of directories(numbered - for PID and other subdirectories...) as follows :
I am describing only some of the numbered subdirectories,and other subdirectories
$...
0
votes
1
answer
5k
views
Restrict user access to /proc and /sys
I have one big problem: setfacl does not seem to work for /proc and /sys, but I would like to restrict one specific users rights and I do not find it acceptable for that user to read stuff like /proc/...
0
votes
1
answer
464
views
Screen freezes after screen saver when watching fullscreen videos. Disable screensaver when using flash
Update: libflashplayer is installed on my system, firefox just isnt using it.... I discovered this hack-sawing through my root directory with ls -R / | grep libflashplayer
I want to disable the ...
2
votes
3
answers
5k
views
Lot of "file not found" when using sudo find / -type s
In the attempt to understand why I keep getting the following error
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
while using the command sudo find /...
1
vote
2
answers
3k
views
writing to /proc/irq/*/smp_affinity as root
Here is the command I issued:
root@vishal-Think:~# echo "0" > /proc/irq/0/smp_affinity
And here is the error:
-bash: echo: write error: Input/output error
The ls command shows that root has ...
3
votes
1
answer
14k
views
/proc/kcore too big
After experiencing a DDoS attack, somehow /proc/kcore is very huge, I use a small PHP class to check the current disk space, and how many has been used.
It shows the following:
Total Disk Space: 39....
4
votes
1
answer
2k
views
Why does "echo EHC1 > /proc/acpi/wakeup" change Enabled to Disabled
I have a very basic question. I understand what echo does, and how it directs a string to the file /proc/acpi/wakeup.
My question is what is actually happening when I direct the word EHC1 to /proc/...
0
votes
1
answer
461
views
Reading device info from inside proc module
I want to read graphic card info in proc module.I created a proc module and loaded it to kernel.What I want is to show graphic card info when I call the proc from terminal.
Such as " cat /proc/...
2
votes
1
answer
4k
views
Can't change brcm_monitor0 in /proc
I am trying to change the value in the file /proc/brcm_monitor0 from 0 to 1.
This file is used to set Broadcom wifi modules into monitor mode.
The default method to do this is:
sudo -s
echo 1 > /...
3
votes
1
answer
5k
views
Can't upgrade procps on 12.04
If I'm performing apt-get upgrade I get the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
...