Skip to content

Can I use 1G superpages to back shared mmaps?

So far when I’ve tried using a file in /mnt/hugepages1G/ as the backing I get segfaults. It works fine if I use 2M superpages in /mnt/hugepages/ I think I read somewhere that I now can’t find that Linux only supports 2M pages for Shared memory? But I can’t swear to it. Can’t find it in…

get all aliases in linux shell

How to list all aliases defined in a shell. Like the command below to list all files/folders in a directory I have defined some alias in ~/.bashrc i want to list all that command Answer Are you wondering if you have a UNIX alias already set for a specific command? You can find it easily by issuing this on the

Kernel debugging – gdb step jumps out of function

I’m trying to do understand the kernel network stack for a security research for my university. That’s why I try to debug the linux kernel. So far I’m doing quite well but I ran in a problem when trying to use qemu and gdb for debugging. The problem is as follows: I boot my linux system: mak…

Ubuntu-16.04 + PHP-7.0.22 + ODBC not working

I have been trying to connect MSSQL from my ubantu 16.04 and i had use below tutorial: https://askubuntu.com/questions/578934/mssql-connection-from-ubuntu There is one problem while i am running below command from terminal is: It display below errors: I have follow instruction given by below link answer as we…

Ambari cluster + Service Auto Start Configuration by API

Ambari services can be configured to start automatically on system boot. Each service can be configured to start all components, masters and workers, or selectively. so how to enable all services in ambari cluster to start automatically on system boot by API ? Remark – by default all services are disabl…