I downloaded a set of source code for a program in a book and I got a makefile.
I am quite new to Linux, and I want to know whether there is any way I can see the actual source code written in C?
Or what exactly am I to do with it?
...
hi everyone,
I need to intercept and trace signals from any binaries, like strace does it under linux.
I don't need a so verbose output like the real one strace.
I just want to know how it works, how can I intercept signal and how can I trace them.
Thanks in advance :)
...
Using .NET (Windows), you can embed an ActiveX Flash player into a Windows form, load a swf file and set variables or invoke functions with single method calls from C# (I imagine because of the presence of a Flash OCX).
That said, I would like to do the same thing in MONO (Linux): how could this be possible?
...
Hi, I want to redirect this:
subdom.mydom.com/mydoc
TO
mydom.com/subdom/mydoc.php
Sorry for being too obvious. I know the htaccess rewritting basis but this is making me a little crazy :)
...
I was assigned to write a system call for Linux kernel, which oddly determines (and reduces) users´ maximum transfer amount per minute (for file operations). This system call will be called lim_fs_usage and will take a parameter for maximum number of bytes all users can access in a minute. For short, I am going to determine bandwidth of ...
It is possible to do that, invisible to the users (without redirect) ?
I want to save the bandwidth
...
Hello
I have a developed two small Java applications - a vanilla Java app and a Java Web application (i.e. Spring MVC, Servlets, JSP, etc.).
The vanilla application consists of serveral threads which read data continously at varying rates (from once a second to twice a minute) from several websites, process the data and write it to a dat...
Are there any advantages to compiling my Windows application with winelib for Linux users? Why not just give them the .exe and let them run it with Wine? Seems just like extra work for no gain.
...
Hi
I'm trying to use GDB and KDEvelop to debug a console app under Knoppix VM.
KDevelop and GDB don't break at my breakpoints. I suspect it's because they don't have debug symbols.
If I'm correct how do I need to change my Makefile to create those. Maybe the problem is somewhere else?
Regards,
Ariel
...
I'm writing a cgi-bin program for my Sheevaplug (running the default Ubuntu install) that displays a shell in a browser page. It is a single C program that is placed in the cgi-bin folder and viewed in a browser. It automatically launches a daemon and the daemon forks an instance of the shell. The cgi-bin communicates with the daemon via...
Hey Guys
At present we are developing a graphic app on a linux box using opengl. We have had a bit of trouble getting a decent debugger working. At present we use GDB via a ssh connection, but that is a tad painful. Next we have tried running DDD on the target platform, but we run out of space on screen. Next we have tried running a...
I'm attempting to port a Linux application to Windows. The application isn't too complex, using all fairly standard code, with few external dependencies. The main dependencies are libelf (which compiles fine under mingw), pthreads (there appears to be a win32 version available), and sockets. The main problem is with sockets...Windows pro...
how to have a shared variable in library across all application in linux (c++)?
...
What are the Linux equivalent of Windows's performance counters?
API/libraries to publish application counters
API/libraries to monitor and collect values efficiently (like pdh.dll)
applications to monitor the current values (equivalent of perfmon.exe)
applications to schedule collecting (like logman.exec)
applications to visualize co...
I'd like to make a snapshot of a live filesystem in Linux, preferably using LVM. I'd like not to unmount it because I've got lots of files opened (my most common scenario is that I've got a busy desktop with lots of programs).
I understand that because of kernel buffers and general filesystem activity, data on disk might be in some more...
Can I run some some custom code at the time when GRUB loads up? In other words does GRUB provide a facility to run some custom code before loading any operating system?
...
I've been reading Ulrich Drepper's, "What every programmer should know about memory" and in section 3.3.2 Measurements of Cache Effects ( halfway down the page ) it gives me the impression that accessing any member of a struct causes the whole struct to get pulled into the CPU cache.
Is this correct? If so, how does the hardware know a...
Is there a way to write a code that may run when System starts while a operating system is not loaded?
I actually want to copy data of a particular partition, sector by sector, into another partition with the help of that code.
...
Is there a way to confirm if a Linux Ethernet driver is using the NAPI interface?
...
Is it possible to tell php to run a script from the command line in 32-bit mode? I have a php script that uses an ODBC driver that is only works when PHP is run in 32-bit. Here is how I'm calling the script:
php -d safe_mode=0 -f checkImport.php
Any ideas?
...