Skip to content

Tag: linux

Linux /proc/pid/smaps proportional swap (like Pss but for swap)

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…

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 …

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…