Questions tagged [proc]

Proc refers to Procfs filesystem in *nix based operating system.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Find correct /dev/usb/hiddevX for a vendor:product

How do I find out which hiddev device belongs to a particular vendor or product id? The device I need appears as /dev/usb/hiddevX where X depends on the order other devices was plugged in. lsusb -...
0
votes
1answer
47 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://...
1
vote
1answer
2k 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 ...
0
votes
0answers
34 views

Allow access to /proc/self for processes that get started from PHP

To run an application who allow to sign pdf online I need to allow access to /proc/self for processes that get started from PHP. How to do that from plesk + Ubuntu? Is a safe option for the VPS? I ...
1
vote
0answers
58 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
0answers
100 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
2answers
203 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
0answers
107 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
0answers
2k 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
0answers
741 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 ...
19
votes
4answers
6k 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
1answer
1k 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
0answers
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 ...
3
votes
1answer
1k 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
0answers
178 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
2answers
2k 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
2answers
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
2answers
2k 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
1answer
254 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
1answer
627 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 ...
4
votes
1answer
5k 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 ...
1
vote
1answer
563 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....
4
votes
1answer
18k 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
1answer
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
1answer
549 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 ...
9
votes
1answer
3k 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
0answers
973 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
1answer
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 ...
1
vote
1answer
298 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
1answer
299 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
1answer
85 views

Stat a PID for claim time?

Is it possible to stat a process ID to get the time it was claimed?
0
votes
1answer
956 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
1answer
3k 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
1answer
420 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
3answers
3k 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
2answers
2k 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
1answer
10k 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....
3
votes
1answer
1k 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
1answer
398 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
1answer
3k 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
1answer
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: ...
2
votes
1answer
1k views

How to backup /proc folder with >2000 subfolders and 140TB kcore file?

I found the /proc folder with >2000 subfolders and a kcore data with 140TB. All created at the same time. What is this? All the folders are named from 1 to 2634 and have all 44 subentries... Using ...
1
vote
1answer
171 views

mouse stopped working, checked htop, and HOLY WOW my kcore file is 140 petabytes!! (see screen shot)

My mouse suddenly stopped working on my Ubuntu plex server v12.04 LTS. It still works as a remote plex server so I'm not too concerned. But I did try to login locally with it and ran htop to see if I ...
6
votes
2answers
11k views

mount:can't read proc/mounts

I've installed Ubuntu, but when it is loading it gives following error: mount:can't read proc/mounts. Can't fount such file or directory However, OS continues loading but when I try to enter system ...
2
votes
3answers
6k views

ps error /proc must be mounted - but works as root

This is an OpenVZ VPS box. For example: $ ps Error: /proc must be mounted To mount /proc at boot you need an /etc/fstab line like: /proc /proc proc defaults In the meantime, run "mount /...
3
votes
1answer
428 views

How do I disinfect Ubuntu that is running a virus?

My 12.04 system has just been infected with a virus and it is self-replicating a load of rubbish directories in the /proc/ area. This may crash my computer completely soon. I cannot delete any of ...
0
votes
2answers
819 views

Having access to buffered videos in ram [closed]

I read that you-tube buffered videos are the in RAM while playing them and you need not download them again. just copy the flash file to another location. However,when I copied it to the home ...
2
votes
1answer
3k views

What is the use of /proc/PID/cpuset?

In /proc filesystem, what is the use of /proc/<pid>/cpuset? I tried to open this file in each of the process id directories inside the /proc folder: $ cat /proc/2882/cpuset / Can some one ...
6
votes
1answer
7k views

Not able to understand and map output of /proc/net/tcp

The output of /proc/net/tcp on my ubuntu 12.10 is the following: sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ...
5
votes
1answer
6k views

(/proc/kcore) What is this magical file which can somehow take up 140.7 TB on a 500 GB HDD?

I was cramped for hard drive space, so I was looking for a place where some files might have been duplicated during a restore. The culprit turned out to be root trash, but this stuck out like a sore ...