So when I execute a linux command, say a cat command for this example, on a server with 128 GB of RAM, assuming none of this RAM is currently in use, all is free. (I realize this will never happen, but that’s why it’s an example) 1) Would this command then be executed with a heap space of all 128
Tag: linux
ActiveMQ basic JAAS authentication configuration
I am trying to configure simple JAAS authentication for ActiveMQ. I have created a xml called activemq-jaas.xml as: The other configuration files are: login.config users.properties groups.properties I started the ActiveMQ with command ./activemq start in linux terminal. But I cannot login with guest/guest cre…
how to make sysfs changes persistent in centos 7 (systemd)
Trying to fix up the fn keys on my apple keyboard on CentOS 7, I’ve set and yet after a reboot Suggestions on the internet include running update-initramfs, which doesn’t seem to exist on Centos 7, and doing the “echo 2 >> /sys/module/hid_apple/parameters/fnmode” in /etc/rc.local…
Ubuntu 12.04: Installing MonoDevelop “broken packages”/”unmet dependencies” error
I am very new to Linux, so please forgive me if the answer to my question is obvious. Since I am running an ARM device and can’t install wine, I am trying to install Mono/Develop. The problem is, whenever I try to install any of the Mono packages, I am greeted with a huge block of “unmet dependenc…
pci device info access in linux from userspace
I want to access the pci device tree information from user space programatically. Like the root complex and the devices connected to it. How can I do it please let me know. Regards, Pradeep Answer libpci or pcilib (on which lspci is based) uses sysfs, procfs, and possibly other means to access PCI information…
Disabling Auto root login on a Debian-based distro? [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 …
NASM code with user output, and then input into an argument. (code error)
I have had problems implementing user output into and argument with my below code. An example of BASH showing, a similar example function of what i would like to implement in NASM. The reason why I am creating this code is to show a comparison of different languages, used within Linux, This is one part of my …
IntelliJ Linux LWJGL 3 Add natives to
I wanted to try out the new LWJGL 3 which is currently in kind of a “beta”-state. Embarrassingly I can’t even get the HelloWorld example (http://www.lwjgl.org/guide) to run. package org.lwjgl.glfw does not exist is all I get. I added the lwjgl.jar and disruptor.jar to my module dependencies,…
Grouping some lines into one
I have an hosts file and I need to group multiple lines into one, using Linux standard commands; starting with this: I want this: The ip address is always the same, and I can easily remove it to simplify the work; the file can reach 30K+ lines, so my goal is to reduce its size using as few resources as
What is the proper method for enabling MSSQL support in Laravel homestead?
I’ve seen a lot of people talking about FreeTDS and Sybase drivers, but I can’t seem to figure out what I need to enable laravel/php access to MSSQL databases from a Linux Web Server running the Laravel Homestead Vagrant box. Answer I’m resurrecting this because it was one of the early resul…