Linux general

General discussion about Linux.

Thread on CPU

Submitted by Anonymous
on July 1, 2008 - 12:47pm

How can one get cpu id on which the thread is running from user space in executable?

what is traffic accounting?

Submitted by Anonymous
on June 30, 2008 - 10:08am
Linux

I want to know the definition of traffic accounting

A question regarding traffic shaping involving tc-tbf and tc-sfq

Submitted by Anonymous
on June 26, 2008 - 12:20pm
Linux

Hello all,

Apologies in advance if it's a stupid question, but I can't find its solution anywhere else. I am trying to shape network traffic on an interface (100Mbps) which should only permit 1.5Mbps bandwidth and has sfq filter attached to it. I have used the following tc qdiscs.

problem downloading linux-staging tree

Submitted by Anonymous
on June 26, 2008 - 3:49am
Linux

Hi All,

I tried dowloading the linux staging tree through git clone
and in the next step " ketchup `cat ../staging/version`" downloaded few MB of partial kernel to root/.ketchup and while checking for gpg signature it failed.

Question about swap

Submitted by Anonymous
on June 24, 2008 - 1:26pm
Linux

I have a question about swap. Will swap be used if the process is active and using all of the physical ram?

It was my understanding that swap will _not_ be used if the process is active. We have an application that uses all of the physical ram then gets an OOM error and crashes but we have 4 gb of swap and i just wanted to be sure i am understanding it right or not understanding it right.

Forcing shared memory belor 4GB in 16GB system

Submitted by Anonymous
on June 13, 2008 - 11:44am
Linux

I am using a bus adapter to allow access from a VME system to a user shared memory segment. The driver for the adapter can not handle physical addresses above 4GB. Unfortunately, I have 16GB in my system. I would like to force the physical memory addresses returned by shmget() to be below the 4GB boundary.

What exactly is "nash-hotplug"

Submitted by Anonymous
on June 9, 2008 - 11:33am
Linux

Having an issue with CentOS 5.1 - after install there is a process called nash-hotplug that is running and consuming 100% of one of my CPU cores (QuadCore Xeon CPU). Seems to be a 'nice' process as it steps out of my way when other apps need all the CPU, but I am struggling to understand what it is.

Senior Linux Engineer/Architect Needed

Submitted by Anonymous
on June 3, 2008 - 11:56am
Linux

Linux Engineer for a dynamic electronic trading firm which uses cutting edge technology to provide superior trade execution

Looking for a Technical Linux Engineer to join their exceptionally talented team this person is a key contributor to the future of the firm.

About the overrided operator distinguish by c++ compiler

Submitted by Anonymous
on May 31, 2008 - 3:03am
Linux

Hi,I get a trouble when I create a class that's a seal class for string manipulate.
I override an operator ==:
bool operator ==(char *pStr);
and I override other operator (char*):
char* operator(char*)();

When I use the operator == like this:
CMyString strTest;
if(strTest == "OK")
{
return true;
}
else
{
return false;
}

NFS question

Submitted by Prathamesh
on May 30, 2008 - 7:34pm
Linux

Hello All,
I have a small question regarding the NFS file handles.
Suppose I have a NFS client who has requested for a particular file from the NFS server.Now lets assume that I am using a NFS v2 server. So I get the filehandle for that file and I can use it. Suppose later I upgrade the server to NFS v3,can I use the same file handle which was issued to me by the NFS v2 server?

Linux is not for you!

Submitted by Anonymous
on May 27, 2008 - 7:43pm
Linux

If you feel frustrated with Linux then just use Windows or MacOS. Linux is not for you.

Don't trust me - please read the GPL and the EULA in parallel :)

sysfs_create_group()

Submitted by Anonymous
on May 14, 2008 - 7:12am
Linux

Given a sysfs file attribute which was created by sysfs_create_group(), is there a pleasant way of determining which group that was?

Thanks, Steve

BlueZ

Submitted by Anonymous
on May 6, 2008 - 8:30pm
Linux

Hi,
I wanted to learn the blueZ bluetooth drivers, can someone provide me some kind of design document for the same!!

thanks in advance!!

ATI ES1000 driver

Submitted by arunkris
on April 30, 2008 - 5:22pm
Linux

Hi,

I am not able to find linux device driver for ATI ES1000 video controller. From where, I can download this driver. Any idea ?

Thanks in advance,

Arun

How to insert a kernel module from a c coded application

Submitted by Anonymous
on April 25, 2008 - 1:30pm
Linux

Hi

Is it possible to insert a kernel module from C application without calling system (" insmod ...") ?

I found some routine init_module, create_module

but it seems that these routine does not work with kernel 2.6

Any comment is welcome