The c tag has no wiki summary.
0
votes
0answers
7 views
C Application crashes using GetOpenFileName. DEP stops the crash
We have a C application which is using the GetOpenFileName common dialog to get the user to select a file. We have been having crashes on Windows2008R2. I figured out that if we put an DEP exception ...
-3
votes
1answer
88 views
Daemonizing a C program and location of copying the file [closed]
I have to run a C program using monit. so I had to demonize it. what i did was i took a daemon template made some changes and arrived at this file as below, which is a script file:
# Source function ...
-3
votes
0answers
37 views
how do i run a simple C Program using Monit in ubuntu? [closed]
Possible Duplicate:
PID file for C program for monit
I have a C program helloworld.c , it has to be run from the terminal using Monit.
1. Do I need a pid file? If so how do i create it?
2. ...
1
vote
2answers
122 views
Linux Scheduler (not using all cores on multi-core machine) RHEL6
I'm seeing strange behavior on one of my servers (running RHEL 6). There seems to be something wrong with the scheduler.
Here's the test program I'm using:
#include <stdio.h>
#include ...
0
votes
0answers
74 views
Issue with ICMP ping Echo reply
My application is testing devices connectivity using ping ICMP functionality. It is working fine for all devices except for a particular device that is CISCO wireless controller. I am not able to ...
0
votes
0answers
75 views
how to install xlibs-dev on Ubuntu 10.04 (lucid)
:)
Well, I'm trying to install V4L2 on Ubuntu 10.04 (lucid) that require the xlibs-devinstalled. I tried: sudo apt-get install xlibs-dev but it returns:
Reading package lists... Done
Building ...
3
votes
1answer
89 views
Manually apply puppet class
I am testing a puppet init.pp file (on windows) that looks something like:
class myclass {
package { 'java':
ensure => installed,
provider => 'msi',
source => ...
2
votes
2answers
94 views
Getting interface MTU under Linux with PCAP
I am interested in storing packets I sniff using PCAP.
As I preallocate the memory I need - i.e. a multiple of the MTU of the interface I am sniffing from, I would like to discover how much memory I ...
1
vote
0answers
50 views
Erroneous IDE errors? (status=0x58 { DriveReady SeekComplete DataRequest })
I keep seeing these appearing on an embedded linux product I work on:
hda: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: DMA disabled
ide0: reset: ...
0
votes
1answer
133 views
Is there a rate limiting tool for linux that can limit rates per process or socket?
I found tc, which allows you to filter by ip, port etc. and then limit rates.
But I was wondering if there was anything that could filter by application or
limit rate given another process' socket ..
...
0
votes
0answers
43 views
nginx module - can't get started
I'm trying to run the "hello" module from the following URL:
http://blog.zhuzhaoyuan.com/2009/08/creating-a-hello-world-nginx-module/
I've done a ./configure ...
1
vote
2answers
144 views
How to Start Linux Daemon program at boot up
I am confused on how to start my Daemon C program at boot-up. The program runs as a Daemon OK when I satrt it from command shell, but now I want it to start up every time at boot-up. I have searched ...
1
vote
2answers
258 views
Issues installing packages on FreeBSD 8.2
I'm running into an issue installing some packages on FreeBSD 8.2. I realize some of what the problem is but am not certain on the process for remedying the issue.
For example, I'm trying to install ...
4
votes
2answers
532 views
How can I take advantage of IW10 in kernel 2.6.33?
I've read that 2.6.33+ allows setting custom cwnd.
if the IW is 10 by default (for all distros? only some?)
how does one view what the current IW is on a particular compiled kernel?
references:
...
0
votes
1answer
151 views
how to investigate real problem with TX packet drops in linux?
I have my vps on CentOS running some my own software wich uses very fast algorithm of sending specially constructed RAW TCP packets to numerous systems running my software. I have noticed too many ...
1
vote
1answer
65 views
PCI configuration
I would need an help to solve a problem.
I work on a system based on CompactPCI platform. The system is composed by:
3U CompactPCI CPU Blades (based on Pentium M processor)
3U CompactPCI ...
0
votes
3answers
181 views
How to view linux kernel logs online?
I have a kernel module logging input of some sensor while I work with it. I want to see if there is a command that outputs /var/log/messages (for example) but waits for more logs to come. That is, ...
-1
votes
2answers
49 views
Shell script output and input from c programs [closed]
I am new to Shell scripting.How am I supposed to take the output of a c program that i execute and give it as an input to another c program all using shell.
1
vote
2answers
148 views
Check if IP is static or dynamic programmatically in Ubuntu
I'm trying to determine whether my IP has been statically or dynamically assigned in Ubuntu 11.04 from within C. The closest I've come is examining /var/lib/dhcp/dhclient.leases, but that doesn't ...
1
vote
3answers
163 views
Program to monitor new exe files in Windows (C/C++)
I am currently looking for a program or source in C / C++ that will allow me to monitor any new executable files and output the results to a text file
Any help would be greatly appreciated
0
votes
1answer
136 views
What can you diagnose from the netstat output on what's causing proxy working madly?
My http proxy server is listening at port 8888(IP changed for security reason):
[root@ ~]# netstat -ano|grep 8888
tcp 0 0 212.133.43.195:8888 0.0.0.0:* LISTEN off ...
-1
votes
1answer
103 views
tcpdump related [closed]
Can anyone inform about the commands/codes through which we can perform network monitoring or debugging activity with the help of tcpdump?
0
votes
2answers
66 views
Oracle Installation In HP-UX
I wanna install Oracle 10g in HP UX 11.3(RISC Machine). As per the Oracle installation pre-requisites, it requires HP C/aC++ Compiler to be installed along with the requisite patches for the same. The ...
0
votes
3answers
101 views
unable to properly execute binaries from PHP
I was building an app on a SUSE box, and had a binary called create_group for instance, which had a suid bit and allowed my PHP app to call exec('create_group grpname'); and create a new group (there ...
1
vote
2answers
186 views
Suggestion for open source web servers written in C
Can anyone suggest me some open source lightweight embeddable web servers written in C.
Also provide your opinion / review about the suggestion.
2
votes
3answers
423 views
How to reinject the packet in the Iptables?
I have a packet inside a packet a.k.a tunneling. So essentially it's of the following form: [IP HEADER 1][IP HEADER 2][PAYLOAD] After reading the first header(done by a library) I will get the ...
1
vote
3answers
268 views
Implementing IP fragmentation
I'm working on an application that does network traffic generation. The application has eth1 in promiscous mode. So it directly handles all incoming and outgoing traffic.
One of the features I'm ...
1
vote
1answer
108 views
Compiling native c extensions in Ruby when Ruby is installed in home directory
I have no root on the machine I'm working on, so I've had to install ruby in my home directory. Everything works fine, except that I am not able to compile any native ruby extensions because it cannot ...
8
votes
2answers
7k views
What is the maximum number of files a file system can contain?
Given the current structure of a directory entry on a ext4 file system on Ubuntu, what is the maximum number of files a file system can contain?
What is the general method of calculating the maximum ...
0
votes
1answer
968 views
Call to undefined function curl_init()
I've enabled curl in PHP.INI en restarted my machine and Apache.
extension=php_curl.dll
Still I get the following error in my php script:
Call to undefined function curl_init()
I'm running XAMP on ...