Tag Info

So you need a general purpose linux-world-wide utility for scripts etc to get this information? I'm afraid getting such specific information won't be easy. I'm not familiar with clinfo package, I presume you have to sudo apt-get install it.
Because if it doesn't have to be general, you could write a OpenCL application which would obtain this info. I believe ...

You need to tune these settings, now you have:
save 300 1000
save 60 80000
save 900 1
Explained:
save N M
means
save redis dataset to disk every Ns if at least M keys changed
My advice is start with the default, which is save 300 1000. It is quite a reasonable setting. My guess is that on your machine these three saves accumulate somehow and then ...

I have experiment with echo 1 | sudo tee /proc/sys/vm/oom_kill_allocating_task, but it still lags for a few minutes before actually kill the problematic program. In my testing earlyoom is the best for this case, to install it, just type:
yaourt --needed --noconfirm -S --force earlyoom
sudo cp /usr/bin/earlyoom /usr/local/bin/
sudo systemctl enable earlyoom
...

After a lot more searching I think I have convinced myself that there is no simple way to get what I want.
So, what did I end up doing? I installed LiME from github (https://github.com/504ensicsLabs/LiME)
git clone https://github.com/504ensicsLabs/LiMe
cd /LiME/src
make -C /lib/modules/`uname -r`/build M=$PWD modules
The above commands create the lime.ko ...

Do not panic, all is fine. Here is explanation why:
Excerpt:
To see how much ram is free to use for your applications, run free -m and look at the row that says "-/+ buffers/cache" in the column that says "free". That is your answer in megabytes:
$ free -m
total used free shared buffers cached
Mem: 1504 ...

This problem might be caused by an incorrect sizing of the maximum size of the connection tracking table and the hash table. The Linux kernel tries to allocate contiguous pages to track the connection tables for the iptables nf_conntrack module. As you don't have enough physical memory, conntrack fails back to vmalloc.
This table is not dynamically created ...

First of all you don't need to free up any buffers or cache yourself unless you have a sepcific requirement. Linux saves caches for improving the performance of memory access. Buffers are just temporary location and both cache and buffers will keep changing depending on the tasks which Linux is doing.
There is a link which describes the fields very nicely ...

If you believe it's just a load issue you may have to either configure limits.conf or put it in a cgroup and limit resources such that there's always a healthy amount of memory and cpu available at any given point in time. It will slow down the indexing (which would likely finish on its own eventually even with a blackout) but the VM should remain usable in ...

A couple of things need to be clarified here:
There is virtually no difference between a program being on the hard storage or in memory. If the kernel doesn't find the file already mapped into memory, mmap happens and from then on, the file is accessed through the memory pages, mapped into the virtual memory of a program. Note that this whole mechanism is ...

Your question is quite difficult to understand and may contain some misconceptions.
Does this mean that a program is loaded into primary memory only when execution control is given to it(or OS has decided that it is the next program to be executed)
In UNIX, control is handed over to the next program through the execve() system call (and variants). This ...

Just to update, check this out. The functions with address 0 should just be the address 0 from the original object file that the function was defined in. The library I'm working with happens to define many functions in separate files, therefore many of the important ones appear to have 0x0 as their address. If you add -o to the command line, it should ...

this one should work regardless the linux distribution you are running. You need to cover the redirection when running sudo.
$ sudo sh -c "$(which echo) 3 > /proc/sys/vm/drop_caches"
Credits: http://unix.stackexchange.com/a/148442/101951
(i added the which echo part though)