Programming :: Information About The NUMA Architecture Supports?

May 1, 2011

Where can I the information about the NUMA architecture supports in Linux

View 3 Replies


ADVERTISEMENT

General :: Find Whether Any Kernel Supports 32-bit Or 64-bit Architecture?

Feb 24, 2010

Is there a command or any steps to follow?

View 3 Replies View Related

Programming :: Initializing The SS Register (Intel Architecture)?

Jul 9, 2011

Kernel 2.6.21.5, slackware 12.0 as 2.17 [I am speaking here about 80x86 processors, with their segment registers SS, DS, CS, ES.] In a source file for as, I wrote

Code:

.section _STACK
.rept 4096
.word 0
.endr

Now, in the .text section, I want to initialize SS, the stack segment, to point to the _STACK section. In other assemblers, there was a special section for the stack, and the linker cared about initializing SS. Here I use a common section for the stack. For a segment such as DS, I could write

mov ax,_DATA
mov ds,ax

But I don't think mov ax,_STACK would do with as/ls.how do I initialize SS?

View 4 Replies View Related

Programming :: C Or C++ (preferrably C++) Library That Supports Exponents?

Jul 1, 2010

Just out of curiosity: Is there a C or C++ (preferrably C++) library that supports exponents? And if so, what is its syntax?I need this because I am trying to define a class for sphere and cylinder objects in a C++ graphical interface, starting with the sphere:

Code:
class sphere {
int Radius;

[code]....

View 4 Replies View Related

Programming :: Make A Program That Supports Plugins?

Aug 18, 2010

Using PyQt4, is it possible to make a program where you can separately write custom QWidget subclasses and let the user add/remove them to your main app?

View 7 Replies View Related

Programming :: C Code Profiling Technique That Supports Multiple Threads?

Mar 8, 2011

I am using GPROF for my code profiling ,but it seems GPROF doesn't supports multithread .Does any one know any other technique for profiling the application code I have checked oprofile but it profile kernel ,I just required for C code profiling technique that supports multiple threads

View 1 Replies View Related

Programming :: Assembly Error: I386 Architecture Incompatible With I386:x86-64 Output?

Aug 21, 2010

I was following a simple tutorial on how to program and compile a hello world program using assembly when I got this error;Quote:ld: i386 architecture of input file `hello.o' is incompatible with i386:x86-64 output.The tutorial told me to make two files;Quote:hello.asmsection .data;section declaration

msg db "Hello, world!",0xa;our dear string
len equ $ - msg ;length of our dear string
section .text;section declaration

[code]....

View 3 Replies View Related

Programming :: Displaying The Information Using Awk?

Jan 14, 2010

i am using awk to display my information in a certain order.

Database :

Code:

Persia:42:John
France:50:Mabel
Persia:50:Rach
Germany:60:John

My expected output is :

Code:

Title Price Author
Persia 42 John
France 50 Mabel

[code]....

I tried using cut command but it also gives me the same problem. If i do not assign it to a variable, how am i able to format it to display it in the correct format?

View 4 Replies View Related

Programming :: C++ Search And Handle Information

Sep 26, 2010

I would like to make program that reads a *.TXT file and searches for last line and constatly refreshing the search. So last line would look something like this:Mike Had A 100.0 Pound Shark.So there are multplie category of "fish"(Shark, Dolphin, etc.) and each of them have allowed weight (ie. minimum 70.0 Pound Shark, 50.0 Pound Dolphin). If in the found sentence Shark or Dolphin doesn't meet requierments than program named False.exe should be started. I dont know how to make it my self so any help is much appreciated. My knowledge on programming is very low but I'm opend for learning.

View 1 Replies View Related

Programming :: Add Version Information To An Executable?

Mar 2, 2010

when compiling a c++ program in g++ on Linux, how can I add version information to that executable and if possible is there a Linux utility to read the version information?

View 2 Replies View Related

Programming :: Prompt For Some Information From PAM Module?

Jan 8, 2011

I'm writing a Plug-gable authentication module for ssh. I am looking for prompting for some extra information after user name and password verification but before giving access to user.Actually after SSH I want to extend the same for some other services. So I am looking at some PAM module level suggestion.

I tried using conversation method with message style=PAM_PROMPT_ECO_ON but it results in PAM_CONV_ERR and conversation fails. Is it right way to interact or please suggest me If I'm doing wrong somewhere. When I use message style=PAM_PROMPT_ECO_OFF communication succeeds but message is not shown and interaction doesn't happen.

I've pased the sample code I've written at url.

Code:
#include <sys/types.h>
#include <string.h>
#include <pwd.h>
#include <grp.h>
#include <syslog.h>
code....

View 3 Replies View Related

Programming :: Get Information About Description Number Usb Device

May 10, 2011

How can I know what number descriptor is used by my usb device indicate via libusb_device_handle structure ? I can't find declaration of libusb_device_handle structure. I need this information to use poll() function where I need decripttion number of device.

View 1 Replies View Related

Programming :: Get Information About Description Number Usb Device?

May 10, 2011

How can I know what number descriptor is used by my usb device indicate via libusb_device_handle structure ? I can't find declaration of libusb_device_handle structure. I need this information to use poll() function where I need decripttion number of device.

View 4 Replies View Related

Programming :: Perl Extract Information For A Particular Column?

Oct 24, 2010

I have a file which has the output as shown below:

Code:

Teams | matches |Goals | YC | RC
------------------------------------------------------------------------------
Liverpool: | | | |
Gerrard | 97 | 100 | 41665 | 1342

[code]....

I need to extract the Info from the RC column for the first 4 players of liverpool. The test code i have does the same,but can anyone show me a better way of doing it.I could do it easily with gawk -F"|" and print the respective column,but i need to do this in perl.

Code:

#!/usr/bin/perl
use strict;
use warnings;

[code]....

View 7 Replies View Related

Programming :: Read Information About User Activity?

Jan 2, 2010

I wonder if there is any chance to read the last time when the actually logged user have changed the mouse cursor and stroke the key.

View 3 Replies View Related

Debian Programming :: How To Include Version Information In SO Library

Oct 8, 2014

Suppose I have the library code in library.cpp. I found that to include the version information in the .so library, I had to use these command forms:

Code: Select allg++ -Wall -fPIC -c library.cpp
g++ -shared -Wl,-soname,library.so.0 -o liblibrary.so.0.1

The howto then continued to recommend creating symbolic links pointing at the newly compiled library. [URL] ....

The result is, during the booting sequence, I am receiving this error:

Code: Select alllibsystemd-login.so.1: no version information available (required by /usr/bin/dbus-daemon).

The library is the one I am working on.

View 5 Replies View Related

Programming :: Finding A Code For Network Adapter Information?

Nov 13, 2009

I want to get the hardware information in linux. As in windows we can have API to get the network adapter information and all. But in linux why dont we have? i try to read network adapter info in /proc/bus/devices file.. but that file is very hard to parse.and i looked at the lspci source c ode. but unfortunately I dint undersatnd that code to get the network adapter information.

View 1 Replies View Related

Programming :: Editing Text Files With Information From PostgreSQL DB?

May 16, 2011

Is there any way to edit text files with information in a database? The file is supposed to be always the same.. the information is going to be addedd in a specific format

View 2 Replies View Related

Programming :: Extract Dwarf Information Debug A Section?

May 10, 2011

I would like to extract debug information but I have some problems. For example, I have a executable a.out...

Quote:

nm -f sysv a.out | grep ".global_var" >vars.txt

With this command I extract all my variables. All of them are in .global_var section, and it give me follow information:

Quote:

CAN_station_n |08073258| D | OBJECT|00000001| |.global_var
CONTROLend |080732a7| D | OBJECT|00000001| |.global_var

[code]....

Well, I have only address of my vars, but I would like to know type var or struct of the variables. With dwarf dump I have all of information, but it is a mess...

Quote:

<1><117bc>: Abbrev Number: 32 (DW_TAG_variable)
<117bd> DW_AT_name : (indirect string, offset: 0x153d): draw_limits
<117c1> DW_AT_decl_file : 128
<117c2> DW_AT_decl_line : 207

[code]...

Is there any parser or way to put in order this information?? create a file with the follow information:

name of var - address - type - size - struct or not

View 5 Replies View Related

Programming :: Getting Information From Serial Port On Server Unit

Jul 19, 2011

I'm working on program that is going through setting different baud rates onto a config file. After I set a new value i want to check if it's the correct one by reading from the serial port on the server unit. I know what to expect if it's the correct baud rate so that's no problem, but searching through the internett i've yet to find a compact solution to my problem.

View 1 Replies View Related

Programming :: Create A ZIP In Perl Without Storing Path Information?

Mar 1, 2010

I have the following code snippet:

Code:

my $file = 'test/mybigfile';
my $zip = Archive::Zip->new();
my $zipped = $zip->addFile($file);

[code]....

it simply takes a file (in this case, "mybigfile") and creates a ZIP file containing that file only. Now, my problem is that when I go to decompress the ZIP file, it creates the relative (or absolute, depending on case) path of the original file. To make an example:

Code:

$ pwd
/tmp/perl
$ ls -R

[code]....

What I need is *not* to store the path information inside of the ZIP file, so that once I decompress the ZIP file I only get the original one without having paths created.

View 2 Replies View Related

Programming :: Get Real Time Information About How Many User Are Logged In And Their Ips

Jan 20, 2009

I use tomcat as my server platform in Ubuntu for a war file. I know in order to get real time information about how many user are logged in, we can count how many active sessions exist by a SessionCounter code. However, I have to permit HttpSessionListener in web.xml of tomcat. From other users' experiences, the configuration is complexed and has some errors.

Here's the link:

[URL]

In order to get users'ip, in jsp, use request.getremotehost() or request.getremoteaddress() by editing the jsp file. I wonder if there's some open source software to use for these two purposes.

View 1 Replies View Related

Programming :: Create Script That Gives Network Computer Information?

Oct 28, 2009

I am new to scripting and I have planned to create script which gives me network computer inforamtion. therefore, I want to know how to write script that sends me computer information to my email add.

View 4 Replies View Related

Programming :: Perl Module For Getting Information From Remote Machines

Oct 16, 2010

I need to get some information like cpu usage,free memory,swap memory and other information from a bunch of remote hosts.Can any one tell me of a good perl module which does that.I dont want to use Net::Rsh or Net:SSH.

View 14 Replies View Related

Programming :: PHP Outputs Metadata Or File Information At The Top Of Its Output

Sep 10, 2010

Consider this PHP Script or just skip to the Output:

Code

Code:
-bash-2.05b# cat myDate.php
#!/usr/bin/php -q
<?php

[code]....

View 10 Replies View Related

Programming :: Searching Thunderbird Emails & Extracting Information

Jun 8, 2010

I have a load of emails in my Thunderbird trash folder and some of them (all with a similar subject) I want to extract the email address for them and put in a text file. I have located the trash file but it seems that it is just a big flat file with a concatenation of all my emails in it, varying number of header lines etc etc - ie, something which really doesn't seem to suit awk, sed, grep etc.Does anyone know of any way this might be accomplished, or any third party tools which may help?

View 1 Replies View Related

Programming :: Python - Only Return Information For A Particular Function When A Flag Is Passed

Oct 28, 2010

I have a script that i want to add some functionality to, but im new to python. Right now it runs command line as ./script https://server user passwd verbose , which returns alot of informtion. I would like it to be able to only return information for a particular function when a flag is passed. exp: ./script https://server user passwd verbose -m (for memory only)

Under the ClassesToCheck section are the different things that can be retrieved. I would like that when you run the script as ./script https://server user passwd verbose -m, it returns only the 'Memory' info. -c would be for 'CPU', etc... Also, i would like the OK at the end of the script to be the first line that is return in the output instead of the last.

View 2 Replies View Related

Programming :: Locate The Tables In Versys The House Demographic Information?

Apr 28, 2010

I am trying to locate the tables in Versys the house demographic information, does anyone know the path?

View 1 Replies View Related

Fedora :: Write A Program Which Would Get Information From A Webpage And Display The Information On Desktop Sort Of Like A Widget?

Sep 3, 2009

I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?

View 1 Replies View Related

General :: Make NIS User Information Override Local User Information On Client Systems?

Jul 30, 2011

How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved