Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
29 views

VM Periodic Task Thread, VM Thread and WebSphere MQ Trace Monitor consume 100+% cpu in linux [closed]

My standalone java application uses nio selector for socket connection, ibm mq classes (version 7.0.1.3) to listen queue and topic and ORACLE_JDBC_DRIVER for db.Three different thread running for ...
0
votes
1answer
48 views

Httpd service suddenly stop

When I try to access my site suddenly I cannot access it anymore, and I tried to check my error log and found this. [Sun Jul 19 03:10:01.233369 2015] [auth_digest:notice] [pid 2570] AH01757: ...
3
votes
2answers
83 views

SSH Connection Timed Out

Hi I have looked all over the internet but could not find a solution. I am not saying that I didn't find anything, I am saying that I tried so many things and nothing worked. So hopefully someone can ...
1
vote
2answers
51 views

Is there way to force Linux to unswap when there is low CPU usage?

After working more than 1 day on my machine swap becomes about 1GB. Some of my panel plugins go to swap so they become laggy. Moreover system doesn't unswap until I make it to do it swapoff ...
0
votes
0answers
28 views

Linux VM as a firewall

I have 3 vms a->b->c. I want to setup b as a firewall. Traffic is routed from a to c through b and I put a file on c. How do I show that b works as a firewall (first show that you are able to transfer ...
1
vote
2answers
100 views

Execute CURL command only once in script?

To explain a little, I am currently monitoring a folder for any changes and when changes are detected it simply uploads the detected files to my server via rsync. This is working without any issues : ...
2
votes
2answers
79 views

How to call in a kernel level function in user space [closed]

I've developed some helper functions in the kernel. They're called by other functions in the kernel. Currently, they make my custom kernel panic :( For now (i.e. debugging), I made them as a passive ...
0
votes
1answer
35 views

Writing an install script for CentOS

Every time I deploy a VPS server, I install VNC server. But every time I have to do this: yum groupinstall Desktop yum install tigervnc-server yum install vnc yum install firefox (etc.) Can I ...
-1
votes
0answers
28 views

How to list Networking capabilities? [closed]

How to obtain information on following questions on baic network capabileties: Is there Infiniband, which configuration? Is IPoIB configured? Is there fiber channel Is there Ethernet, which one? On ...
0
votes
2answers
89 views

Dynamic change of Linux root password everyday

I want to change my root password everyday based on the date. The password will be like a combination of a string and the date. The below code is working fine. echo -e "pass"$(date ...
0
votes
0answers
22 views

How to redirect roundcube log to stdout

Installed roundcube from source on top of debian. I wanna redirect roundcbe logs to stdout. How to achieve this?
0
votes
1answer
39 views

How to create Swap from already created mount points

I have prepared a CentOS 6.5 with all mount points at formatting time, including swap. Now, when I am trying to run command swapon, it shows 0 0 0. And when I am trying to create it again using ...
0
votes
1answer
17 views

How do I read from memory.pressure_level in a cgroup?

I want to see the memory pressure of the cgroup. But simple cat memory.presure_level fails. How do I know the current memory pressure of a cgroup?
2
votes
1answer
51 views

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) ...
1
vote
0answers
15 views

GDM flashing and can't login

I recently switched to ubuntu gnome from windows and am very inexperienced. I was using ubuntu fine for awhile and then this morning I had trouble signing in because my login prompt continuously ...
0
votes
1answer
25 views

If dual boot Linux with windows 8 will I still be able to upgrade to windows 10

So I am planning to dual boot Linux will Windows 8 and am wondering if I will still be able to get the Windows 10 upgrade. According to this article it sounds like I might not be able to: Microsoft's ...
0
votes
0answers
30 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
0
votes
1answer
62 views

Routing tables with two network interfaces

When I try to access the internet with my raspberry pi via ethernet, it works, but when I do ifdown eth0 and try to ping any server outside my home network, it tells me connect: Network is ...
0
votes
2answers
30 views

GRUB, device not found, root delay problem

My Kali suddenly froze, when I reset my computer, I started getting GRUB's device not found error. After disconnecting and reconnecting my HDDs many times, I finally got it to a state where GRUB's ...
1
vote
1answer
60 views

What is the purpose of ext2 dynamic node size?

I've looked in some documentation of ext2 and according to them (see sources) at rev 1.0 it is possible to set the size of the inodes but it doesn't clarify what is the purpose of the extra bytes ...
0
votes
1answer
43 views

Forward traffic from first to second server

I have 2 Servers, 1 normal Server without ddos protection and 1 ddos protected v-Server, i try to forward traffic through the v server to the main server. So if someone access to my v-server like tcp ...
3
votes
1answer
58 views

What does “kernel:NMI watchdog: BUG: soft lockup” followed by other errors mean?

I have my terminal always opened (Fedora 22), because all my work I do from there. Sometimes I search some info in browser or just have fun. After 20-30 minutes of browsing (browser starts not from ...
0
votes
0answers
17 views

Formating VGA info to conky

I'm trying get conky working on my system, and I'm stuck on how to format an specific shell variable to display my VGA. From shell I get my VGA using: lspci | grep VGA The output: 01:00.0 VGA ...
3
votes
0answers
28 views

Setting mouse acceleration using xset and xinput

I am having trouble sorting out how the different commands for setting mouse acceleration relate to each other. I will post the different settings that I have set by gathering information from ...
2
votes
1answer
55 views

Is there any advantage to using the -j2 argument when building Linux systems in VirtualBox?

I'm using BuildRoot to build root filesystem images, from within VirtualBox. The builds are very slow. Is there any advantage to running "make -j2" in the virtual machine? The /proc/cpuinfo from ...
1
vote
1answer
28 views

NMI received for unknown reason 20 — Do you have a strange power saving mode enabled?

I am using Debian GNU/Linux 7.8 (wheezy). While running my MATLAB program today, I got this message in terminal. Message from syslogd@sas21 at Jul 18 16:40:49 ... kernel:[1747708.091929] Uhhuh. NMI ...
1
vote
0answers
35 views

Automatic solution to reduce Linux kernel package size at compile time

Are there automatic solutions to disable unused Linux kernel parts (in particular unused modules) before compilation to fasten compilation? A daemon, that logs used kernel functions (or modules) at ...
3
votes
0answers
53 views

How can I make my user services wait till the network is online?

I have written a couple of systemd user service files which I want users to enable and which need a working network connection. I thought that would be as easy as: Wants=network-online.target ...
1
vote
0answers
18 views

mount LVM RAID 5 with missing disk

I have a software RAID 5 (LVM, XFS) with three 2 TB drives. Is it possible to mount the RAID with one missing drive (instead of having to rebuild it)? How would this be done? [Edit] My /etc/fstab ...
0
votes
0answers
21 views

Arch Linux Wireless Problems

I've got a problem with my wireless connection, the wireless bar is always showing 3 bars, I am using NetworkManager with dhclient and the strangest thing happens, I am getting a huge lag spike every ...
1
vote
0answers
46 views

How to get an RPi2 running Kali to tether to an iPhone 5S?

I’ve got Offensive Security’s version of Kali Linux running on a Raspberry Pi 2 and I’m trying to tether it to an un-jailbroken AT&T iPhone 5S. From my research it looks like I need to install ...
0
votes
1answer
73 views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysql.so'

I am running PHP 5.6 on Linux. When I try to load a PHP page, I'm getting the following PHP error. PHP Startup: Unable to load dynamic library /usr/lib64/php/modules/php_mysql.so' When I look ...
5
votes
1answer
132 views

How does gnome do to reboot the machine without root privileges?

I am reading the book Linux kernel development, in chapter 5 "System Call Implementation" page 77 says For example, capable(CAP_SYS_NICE) checks whether the caller has the ability to modify ...
1
vote
1answer
43 views

Why does bash parameter expansion not work inside systemd service files?

I am trying to use systemd's EnvironmentFile and add an option to the command when it is set in the file. I have the following in the unit file: ExecStart=/usr/bin/bash -c "echo ${PORT:+port is ...
0
votes
0answers
46 views

How to convert a merged file generated by cat command into individual files in terminal?

I have already merged several files into one file using cat command in linux. Now, I need the individual files; please let me know how I can recover individual files from merged file? Thanks a lot
1
vote
0answers
11 views

Is there a way/program to count the discharge cycles of my laptop battery?

I have read posts online that after a number of discharge cycles (~30 cycles) you must perform a calibration by doing a full discharge, then letting the battery rest for 5-10 hours and then a full ...
0
votes
1answer
21 views

Are there CLI programs or commands to manipulate *.gdbm files

Modem-manager-gui stores it's all the messages to a *.gdbm file. Deleting sms.gdbm file removes all the messages but I'm trying to do a shell program to delete received and sent separately. I tried ...
1
vote
1answer
40 views

What is the relation (similary and differences) between /proc/devices and /dev entries in Linux?

When we register a driver, the "name" parameter shows up in /proc/devices yet we can write to the devices using the entry in /dev corresponding to the device. What are the core ideas behind /proc and ...
1
vote
0answers
17 views

Chromium web browser: user specific /etc/chromium/policies/managed/ policy file

I am helping with the set up of a Linux-based Library kiosk thin client solution. We are using Chromium for the web browser, which is launched by a shell script with various command line options. ...
1
vote
2answers
62 views

2 passwords for login

On Linux, I would like to to set up a user account in such a way that the user would have to enter 2 passwords to log in. Is this possible, and what would be the implications of this?
0
votes
3answers
77 views

How to rename all files with special characters and spaces in a directory?

How can i rename all the files in a specific directory where the files contains blanks spaces and special characters ($ and @) in their names? I tried the rename command as follows to replace all the ...
15
votes
3answers
939 views

Simple way to see the content of directories in Linux/UNIX file systems

In the past, I learned that in Linux/UNIX file systems, directories are just files, which contain the filenames and inode numbers of the files inside the directory. Is there a simple way to see the ...
1
vote
0answers
11 views

Clubbing Remote Processing Power

I have few systems with following configurations. Computer_Name Total_Processing_Power Used_Processing_Power Total_RAM Used_RAM Computer1 2GHz 1.2Ghz 2GB ...
0
votes
1answer
11 views

Is it possible to have some shared objects be preloaded asynchronously during boot?

If I recall correctly, the same shared object is not loaded into memory twice when it's used by multiple processes. Is it possible to have some shared objects preloaded into memory asynchronously ...
1
vote
0answers
71 views

i915 - Intel BayTrail - graphics artifacts

I just noticed I have some kind of graphics artifacts which effect visual discomfort like so called "blurry"; And, moreover, I am not sure I have correct DPI settings right now (give me advise ...
1
vote
1answer
62 views

Cannot run ssh after upgrade to OpenSSL 1.0.1p

I upgrade OpenSSL 1.0.1p lsof | grep libssl The result firewalld 665 root mem REG 253,0 445544 805308545 /usr/lib64/libssl.so.1.0.1e gmain 665 1197 ...
2
votes
1answer
22 views

sshfs remount hangs

On Fedora 21 current patches, in a local LAN environment, I'm mounting 2 filesystems with sshfs. The remote server is on a reliable LAN network, the ssh keys are correctly setup for passwordless ...
-1
votes
0answers
15 views

Development Environment for Linux [duplicate]

I have an access to an old linux box where I develop code. Even though I have sudo access, I cannot do major changes in that box. By major changes I mean that I cannot modify /usr/bin /usr/lib. I ...
0
votes
1answer
21 views

Using imagemagick to crop video

I want to crop a video that I have in yuv format using imagemagick. I am using the following command: convert -size 1280x720 my_clip_1280_720s.yuv -verbose -crop 352x288 +repage my_clip_352_288.yuv ...
3
votes
2answers
118 views

rm not deleting file, thinks its a directory

I have a hard drive with windows loaded on it hooked up to my Linux machine for backing up some of the information. I want to delete one of the 'temporary internet files' folders and it deleted all ...