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

2
votes
3answers
120 views

Share unchanging data from a central repository on a network

I have a bunch of different binary files (total size of all files is circa ~500GB) stored in a hard drive that is mounted to machine001. I have 200 other machines that need to access this data for ...
4
votes
3answers
4k views

Send duplicate packets over two Internet connections

I need to duplicate an RTP stream over two different (non-reliable) Internet connections. On the receiver side, I will probably run a custom program that will use a buffer and rebuild the stream ...
13
votes
5answers
20k views

How to find power draw in watts? [duplicate]

I've been asked to estimate the power consumption of the servers I run for my laboratory. I thought and I'd ask if there was some handy linux commandline to get the power consumption of the server. It ...
4
votes
3answers
2k views

How many bits is the access flags of a file?

How many bits on a linux file system is taken up for the permissions of a file?
8
votes
2answers
28k views

How to run a fresh version of AIX in a Virtual Machine with a Linux host?

I need to learn about AIX, and I only have a laptop with Fedora 14/VirtualBox on it. Is there any chance that I could run an AIX guest in my VirtualBox? My laptop has an Intel(R) Core(TM)2 Duo CPU ...
4
votes
1answer
240 views

Why ACPI Namespace keeps changing

Does anyone know why the ACPI namespace keeps changing? I had a script a while back on a Red Hat system which read the CPU temperature from '/proc/acpi/thermal_zone/THRM'. Now I have a new (but ...
4
votes
2answers
2k views

How can I update the OS on an Iphone on a Linux machine

As I understand it, the iPhone will pop up some options on a Windows computer to update the system when you plug it into the computer. Honestly, I don't own an iPhone, but my friend wants to use my ...
37
votes
11answers
63k views

List partition labels from the command line

Is there a command that will list all partitions along with their labels? sudo fdisk -l and sudo parted -l don't show labels by default. EDIT: (as per comment below) I'm talking about ext2 labels - ...
3
votes
2answers
2k views

How on earth can I stop this CUPS-related message on my Debian 6 virtual machine?

I’ve got a Debian 6 VMWare virtual machine that I mostly use via SSH (but occasionally via the GUI). Every few minutes, the following message gets printed in my terminal: CUPS config timestamp ...
9
votes
0answers
493 views

How to determine distribution from command line? [duplicate]

Possible Duplicate: Bash: Get Distribution Name and Version Number Given (root) access to a machine with Linux through the command line(over ssh), how can I determine which distribution is ...
2
votes
1answer
1k views

Message while booting : “can't allocate mem resource [0xc0000000-0xbfffffff]”

I get the following message on the console every time the Linux kernel boots: pci 0000:00:00.0: BAR 0: can't allocate mem resource [0xc0000000-0xbfffffff] Is this an error message? What causes this ...
4
votes
2answers
3k views

Configuring cron.hourly

I am unable to configure a cron job to run by placing it in /etc/cron.hourly folder. SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts ...
9
votes
1answer
12k views

when does the system send a SIGTERM to a process?

My server program received a SIGTERM and stopped (with exit code 0). I am surprised by this, as I am pretty sure that there was plenty of memory for it. Under what conditions does linux (busybox) send ...
23
votes
1answer
4k views

How to set per process swapiness for linux?

/proc/sys/vm/swappiness is nice, but I want a knob that is per process like /proc/$PID/oom_adj. So that I can make certain processes less likely than others to have any of their pages swapped out. ...
1
vote
1answer
1k views

Use math.h and link objects files without -lm

I am currently reading Advanced Linux Programming and in the section 2.3.3 it is said that if I use some function from math.h I have to link the object files with -lm. But I am pretty sure that I ...
12
votes
2answers
2k views

Is there a downside to ksplice?

ksplice is an open source extension of the Linux kernel which allows system administrators to apply security patches to a running kernel without having to reboot the operating system. (From ...
3
votes
4answers
5k views

Why did my package get installed to /opt?

A while back I installed couchdb from source on my debian machine. It seemed to install okay and everything worked. A few weeks later I wanted to upgrade and installed from a .deb using dpkg. ...
18
votes
2answers
63k views

Orphaned connections in CLOSE_WAIT state

I've got a SLES machine that accumulates TCP connections in a CLOSE_WAIT state for what appears to be forever. These descriptors eventually suck up all available memory. At the moment, I've got 3037 ...
18
votes
5answers
5k views

How to start a new Linux distro? [closed]

Some of my friends and I are interested in starting a new Linux distro. How do we do that? What do we need to plan? Backstory I represent a community of Linux sysadmins/implementors whose special ...
4
votes
1answer
1k views

Open Source firmware for e-ink book reader

Is there any open source version of firmware for ebook readers or maybe project like RockBox? AFAIK most of e-ink readers runs linux, so maybe exists at least one model of e-reader with an open ...
20
votes
3answers
25k views

Where can I see a list of kernel killed processes?

Is there some way I can check which of my processes the kernel has killed? Sometimes I log onto my server and find that something that should've run all night just stopped 8 hours in and I'm unsure if ...
9
votes
2answers
3k views

Small Distributed Computing Cluster

I'm a high school student trying to build a linux cluster for a project (I have a bunch of decent computers slated for re-image this summer, so the tech department basically says as long as I don't ...
21
votes
2answers
13k views

/proc/PID/fd/X link number

In Linux, in /proc/PID/fd/X, the links for file descriptors that are pipes or sockets have a number, like: l-wx------ 1 user user 64 Mar 24 00:05 1 -> pipe:[6839] l-wx------ 1 user user 64 Mar 24 ...
0
votes
1answer
836 views

internal speaker not working ubuntu 10.10

I have a dv6000 laptop . My speaker and mic were working few days ago . But now only external speaker works. Can anyone suggest me some solutions please. Thanks.
4
votes
1answer
1k views

Safe to delete System.map-* files in /boot?

I'm experimenting with generating some custom kernels using genkernel. However, each iteration leaves a file in /boot called System.map-genkernel-<arch>-<version>. Is it safe to rename ...
40
votes
11answers
25k views

How do I find how long ago a Linux system was installed?

How can I find the time since a Linux system was first installed, provided that nobody has tried to hide it?
5
votes
1answer
633 views

Does IO prioritise by the very nature of renicing a task?

The CFQ IO scheduler supports priorities though I am not sure that Deadline does (I believe not). The premise is that when I renice a task it gets a larger share of CPU under the Completely Fair ...
9
votes
6answers
17k views

How does a kernel mount the root partition?

My question is with regards to booting a Linux system from a separate /boot partition. If most configuration files are located on a separate / partition, how does the kernel correctly mount it at boot ...
1
vote
2answers
1k views

iptables rule for local network with free internet blocking unrequested connection from internet to server?

I have a home server (with slackware 13) with a eth0 for the local network and a eth1 for the internet (cable modem with dynamic ip). While I do want to learn more about iptables I am still on the ...
13
votes
2answers
9k views

How to investigate cause of total hang?

My Arch machine sometimes hangs, suddenly not responding in any way to the mouse or the keyboard. The cursor is frozen. Ctrl-Alt-Backsp won't stop X11, and ctrl-alt-del does exactly nothing. The ...
0
votes
1answer
103 views

Kernel - Starting the application

I placed the uBoot loader and the kernel into the raw flash image. This does not contain any root file system. (I copied uBoot and kernel image using dd command to a flash image). Now i have to ...
1
vote
2answers
422 views

Google chat video - Fedora / Google Chrome

The webcam is working, because i can see me with the "Cheese" app. ok..... I installed: google-talkplugin_current_i386.rpm then i opened chrome, and this is what i see: ...
3
votes
1answer
14k views

How do I determine LVM mapping on a physical device?

I have a server (SUSE 11.5) that has two disks. There is only one volume group (vg01). How do I determine the physical device on which that vg exists?
5
votes
3answers
7k views

How to cd to a Windows file share?

At work, I spend a lot of time manipulating files on a networked computer that's running SME Server (but that's set up for Windows filesharing, if that somehow makes a difference). I have been ...
2
votes
1answer
1k views

Where is CONFIG_COMPAT_VDSO in make menuconfig?

I'm trying to compile a Linux Kernel to run light and paravirtualized on XenServer 5.6 fp1. I'm using the guide given here: ...
9
votes
7answers
26k views

How do I work with GUI tools over a remote server?

I have an Ubuntu server running on EC2 (which I didn't install myself, just picked up an AMI). So far I'm using putty to work with it, but I am wondering how to work on it with GUI tools (I'm not ...
2
votes
1answer
198 views

Only output printable chars OpenWrt

perl is not a very good idea, because it's an OpenWrt router, so not enough space for it. "cat -v" doesn't works, because it doesn't supports the "-v" option Any ideas? :\ Here's a bad text: ...
0
votes
2answers
5k views

How can I get the error code (exit code) of “xdg-mime query filetype” command?

I ran xdg-mime query filetype <file name> to check the MIME type of a file, and it failed. How can I print the error code (exit code) of the xdg-mime command? I want to know what error ...
3
votes
2answers
1k views

Why does `xdg-mime query filetype …` fail to find a new added file type?

I installed a new file type to share MIME database. But xdg-mime query filetype cannot tell the new type. This problem only happens on my own Linux OS which does not use GNOME or KDE as its desktop. ...
7
votes
4answers
368 views

How can I safely give a shell to somebody?

I have a question about giving a shell account to somebody. How safe is it? He could read /etc. How can I give a secured shell account that will only restrict the user to some bins and his own home? ...
0
votes
1answer
432 views

Setting a Multi-Terminal Linux Server

So Im a complete newb when it comes to enterprise level linux distros, and linux servers in general. I know my way around Most Linux Desktops, but Im going to be setting up a small Linux Server that ...
4
votes
3answers
446 views

Is it possible to simulate “no external access” from a Linux machine when developing?

Sometimes I upload an application to a server that doesn't have external internet access. I would like to create the same environment in my machine for testing some features in the application and ...
1
vote
1answer
1k views

Device names for logical volumes

Consider this: # fdisk -l /dev/sda Disk /dev/sda: 298.9 GB, 298999349248 bytes 255 heads, 63 sectors/track, 36351 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot ...
1
vote
1answer
2k views

How can I get an ELO Touch Screen to work?

I have bought a new touchscreen POS machine and I have installed fedora 14 on it. I couldn't make the touch screen work, as the ELO touch manufacturers have drivers only for kernel 2.6.14 versions. ...
0
votes
1answer
612 views

Hide referer with privoxy

How can i set a privoxy rule in the user.action file to block the referer information on any site?
2
votes
1answer
406 views

How is MIME type “text/html” registered to shared-mime-info? Where is its *.xml file?

On Ubuntu 10.10, which XML file under the directory /usr/share/mime/applications is for MIME type text/html? I checked xml.xml and xhtml+xml.xml, but neither has a glob pattern of *.html. So where is ...
5
votes
3answers
651 views

Multicasting in Linux

I want to do multicasting in linux for the video/audio/data file transmission. Is there any utility/tool to do so ?
7
votes
2answers
249 views

Hibernate and security considerations

How do Linux and OSX handle sensitive memory pages (e.g. cryptographic keys) when running OS is suspended to disk? If the memory image written is encrypted, how are its keys handled?
3
votes
2answers
4k views

Numbering convention for the linux kernel?

What is the convention for numbering the linux kernels? AFAIK, the numbers never seem to decrease. However, i think I've seen three kinds of schemes 2.6.32-29 2.6.32-29.58 2.6.11.10 Can anybody ...
3
votes
1answer
2k views

Privoxy redirect rule for Wikipedia

I have a few Privoxy rules, that can redirect HTTP Wikipedia [en,de] traffic to HTTPS: (a little part from the "user.action" file) { ...