It seems (from looking at the Linux kernel source) that the Swap: metric in /proc/pid/smaps is the total swap accessible by the given pid. In the case where there is shared memory involved, this seems to be an over-approximation of actual swap usage. For example when summing swap usage of a parent pid with it…
Tag: linux
Terminal – current directory symbol [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
SCP gives “File or directory not found”
I am having an issue. I am using the SCP command to transfer files from my desktop of my mac osx too my virtual server. The thing is I ran the command and successfully transferred one file from my desktop over to the server, no problem. So i use the same command which is: scp filename_I_want_to_transfer user@…
What is the difference between exit() and exit_group()
What is the difference between exit() and exit_group(). Any process that has multiple threads should use exit_group instead of exit? To answer the question why do you ask – we are having an process that has around forty threads. When a thread is locked up, we automatically exit the process and then rest…
process a file remotely using ssh
I have this report.tex file which I convert to pdf as follows: These commands are placed in a file called linux_build This works great. However, this works on my Linux machine and most of my work I do on my Mac I checked out MacTex which is enormous (> 4GB) so I decided to process the latex file remotely (…
How to channel all traffic to tor on linux [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Monitor a Pacemaker Cluster with ocf:pacemaker:ClusterMon and/or external-agent
Im trying to configure Pacemaker cluster events notifications via external agent to receive notifications when failover switching happens. I searched for below links https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/s1…
How to install java locally – no root – on linux, if possible?
I need java 1.7 and server has only got 1.6. I have no root privileges. I tried to google out something but it seems like nobody was doing it. Can I somehow compile it or get ready binaries so I could put those into my PATH. Could you help? System is Redhat. Answer It is quite easy… Download the JDK
installing rails with gem , error loading command : install undefined method ‘invoke_with_build_args`
I’m try to install rails on Debian. when run this command gem install rails I gave this error: even when I try this command: gem install I gave this error: I used this link to build ruby from sources ruby 2.1.2 build instruction what can I do to overcome this error? Answer For who compile from source, t…
GNU ARM – nano.specs not found
Last days I’ve been trying to compile a STM32F4xx project with Ubuntu 14.04LTS, Eclipse and GNU ARM plugin for Eclipse. Now it says that nano.specs is missing. Here is my build log: I found some nano.specs files on my computer. What should I do? Just remove linker flag (I can’t actually do that, b…