The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
24 views

Enabling syncookies in /proc not working

I'm trying to enable syncookies by echoing '1' in de /proc file like this: echo 1 > /proc/sys/net/ipv4/tcp_syncookies However after running this command, there is still a '0' in the file... ...
0
votes
0answers
28 views

Mount proc filesystem in a docker container [migrated]

i want to install gitlab vcs in a docker container with ubuntu base image on it. But when i run gitlab-ctl recofigure, it can't write to a file on proc fs. How to mount or run docker to provide rw ...
1
vote
0answers
53 views

Cannot change CPU affinity on 3.13 kernel for eth0 interrupts [closed]

We are running 3.13 kernel (Ubuntu 14.04) on an IBM x3550 servers. I think I may have found a bug changing IRQ affinity for eth0 internet interface, that corresponds to IRQ 43 on this device. ...
1
vote
1answer
205 views

What is the unit of “mem” and “memory” in /proc/net/sockstat

What is the unit of mem and memory in /proc/net/sockstat? Bytes, KBytes, Pages? [kbrandt@ny-kbrandt01: ~] cat /proc/net/sockstat sockets: used 153 TCP: inuse 7 orphan 0 tw 0 alloc 8 mem 1 UDP: inuse ...
4
votes
3answers
3k views

How do I do 'mount --bind' in /etc/fstab?

I'm trying to figure out how to add "mount --bind /proc/ /chroot/mysql/proc" to /etc/fstab, but how can I to do this?
1
vote
0answers
75 views

/proc/slabinfo: Input/output error

I am using Ubuntu 12.04 and XFS (kernel 3.2.0-38-generic). Because XFS inode cache use too much memory, I want to limit the number of objects used to cache XFS inode. According to the manual, I can ...
0
votes
1answer
65 views

Read in effective RAM usage on Linux

I'm running some programs on *nix inside of a container and I'm attempting to closely calculate the amount of RAM my process is using. It is my understanding that this information should be under ...
0
votes
0answers
16 views

How to call the proc_register() function/ execve()

Is there any way monitoring the calling of the function " proc_register"? so that each time a proc registery is called (ot there is a new process creation) i will get the notification/alert/other..?
0
votes
1answer
135 views

A ghost process started automatically and drains CPU [duplicate]

I am running an Ubuntu virtual machine that has few sites installed on it. I think due to my error and wrong permissions a malicious code was uploaded on the server and the "worm" had root access for ...
3
votes
2answers
107 views

Get BIOS complete detail from proc filesystem

Does anyone know how can i get the detailed description about bios settings using proc filesystem. I know commands like dmidecode can provide information about bios but they provide very limited ...
1
vote
0answers
162 views

Receive errors counter in /proc/pid/net/dev

Can anyone explain what gets reported in /proc/pid/net/dev in the receive "errs" column: $ cat /proc/1372/net/dev Inter-| Receive | Transmit face ...
0
votes
1answer
468 views

How to check if sockets are sending/receiving data on linux?

I often have to debug processes which involve a server client tcp connection. I'd like to check, during times where a client might seem stuck, whether the server is sending it data or not. I can use: ...
0
votes
1answer
29 views

Proc files visible to all in Lenny, but not in Squeeze

I noticed that in my lenny distributions of debian that the proc files are read all in that any user can see if a process is running. In squeeze I noticed that the proc files are readable just to ...
1
vote
1answer
509 views

Linux - incorrect Idle time values from /proc/uptime

I am curious as to why I am getting an incorrect Idle Time from the /proc/uptime on my server. Output of cat /proc/uptime from my server: $> cat /proc/uptime: 1218960.08 15958635.85 $> ...
3
votes
2answers
2k views

Number of file descriptors: different between /proc/sys/fs/file-nr and /proc/$pid/fd?

I would like to check how many file descriptors are actually used: cat /proc/sys/fs/file-nr 12750 0 753795 The first column (12750) indicates the number of file descriptors allocated since ...
0
votes
1answer
834 views

can I delete the files in the proc folder without consequence?

I see my proc folder getting bigger and bigger and I have limitation in terms of number of files. Can I delete those files or will it have consequences? thanks
2
votes
2answers
3k views

How to change SMP affinity of an IRQ on Ubuntu PV domU inside Xen XCP?

I'd like to change IRQ SMP affinity for reasons, outlined in this question: CPU0 is swamped with eth1 interrupts But I can't — I see Input/output error when I try to write to ...
1
vote
1answer
55 views

File with information about filesystem block size (in Linux)

I wonder if filesystem block size is presented in any of file in /proc or /sys directory.
1
vote
1answer
476 views

CPU frequency shows different numbers from time to time

I have a web server with CentOS 5.8. My hosting provider says that I have e6600 with 2.4GHZ. I tried the following and I get different clock speeds each time. Is my CPU underclocked? cat ...
1
vote
1answer
146 views

why in /proc file system have this infomation

run: lsof|grep delete can find some process open fd, but system said that it has been deleted: mingetty 2031 root txt REG 8,2 15256 49021039 /sbin/mingetty (deleted) I look in ...
1
vote
1answer
147 views

Write to the stdin of a running process (without changing the way of starting the program) [closed]

In this post there is described how to start a program and then to send data to the stdin of the program (with FIFOs). But what to do if the program is already running, and I cannot re/start the ...
6
votes
2answers
690 views

Write to the stdin of a running process with the same effect/behaviour of directly writing

This post answers only partial my question. My problem is that writing to the stdin of the running process using the FD of process on the /proc filesystem does not have the same effect. Problem: ...
0
votes
1answer
829 views

Accidentally moved FUSE mounted mount point, not cannot unmount. Any option besides reboot?

I mounted a disk image using a few different FUSE modules and then subsequently renamed the parent directory. The mounts have disappeared from the mtab and now the OS refuses to unmount them. ...
3
votes
2answers
262 views

how to free up space from deleted open file? [duplicate]

Possible Duplicate: Linux server out of space I deleted an open file and the disk usage was not reduced. Will it free up the space if I deleted the link in /proc/PID/fd/N ? what will ...
1
vote
1answer
317 views

is doing mount -t proc none /proc unsecure for a chroot environment?

What does mount -t proc none /proc do inside the chrooted environment? After doing that, when I run htop or ps aux inside the chrooted environment, I can see the actual root's processes. Does it ...
3
votes
2answers
325 views

linux procfs file times

When examining a "long" directory listing of a /proc/<pid>/ directory under Linux, I've noticed that the pseudo-file entries within the directory have sometimes different times associated with ...
2
votes
1answer
2k views

What's the difference between `lsof -p <pid> | wc -l` and `ls /proc/<pid>/fd | wc -l`?

Background: I'm playing around with monitoring the ulimit for running processes for a particular user. (I had occasionally seen processes that were getting started with an incorrect limit.) I asked a ...
1
vote
2answers
124 views

pwdx returning gibberish

pwdx is supposed to print out the current working directory of a process given a process id. Normally this looks something like: $ sudo pwdx 1 1: / $ pwdx $$ 5251: /home/foo One one machine I ...
0
votes
1answer
162 views

“Used” memory in top larger than the VmSize of all pocesses listed in /proc/?

It used to be my understanding that top's definition of memory "use" was the number of physical pages mapped to any processes. However, recently I saw something that made me think otherwise. I'd ...
0
votes
1answer
242 views

VPS exceedingly slow, /proc/meminfo looks suspicious

A VPS I'm using has become unbearably slow. Over ssh, things like changing directories or opening small files take 5+ seconds to complete. The website hosted on it, however, performs with reasonable ...
0
votes
1answer
1k views

detect specific device is USB / SATA apart from dmesg output

Suppose in a linux machine you have both SATA and USB devices present, and if they are all detected properly, how do you know whether a specific device(sda1/ sdb1) is USB device OR SATA device. Note: ...
1
vote
2answers
2k views

Where is /proc/scsi/scsi in Debian 6?

I recently installed Debian 6 in a VM on ESXi 4.1, but I noticed there is no /proc/scsi/scsi. Am I missing a module which provides that, or is there a different way of doing things like echo "scsi ...
0
votes
3answers
240 views

What creates /dev/stderr in FC14?

I'm wondering what creates /dev/stderr on FC14. rpm -qf doesn't show any package ownership. I've dug through the init scripts and can't find it anywhere. To provide some context, I'm creating a ...
1
vote
2answers
339 views

Restricting /usr/bin/top to the current user with AppArmor

Is it possible to restrict /usr/bin/top on Linux with AppArmor so it will display only the processes of the current user? In addition to that, /bin/ls /proc must not show any of the PIDs belonging to ...
1
vote
2answers
2k views

Permission denied on /proc/ some process

I am using chkroot to scan my system and it gave me permission denied error /proc/23746/fd/0: Permission denied /proc/23746/fd/1: Permission denied /proc/23746/fd/2: Permission denied ...