Software :: Using Command And Script To Build A Program Which Can Do Exception-statistic In Log
Aug 5, 2010
I have a log file and there are many different types of exception in this file. These could be looked as follow:
Code:
One can see there two types of exceptions: ORGNoCompetenceException and SocketException.
I will filter out the name/type of exception and the number of each type of exception. At last, this statistic data will write to file and create a Excel table.
View 1 Replies
ADVERTISEMENT
Aug 5, 2010
I need qmail smtp statistic command or program..for example: How many e-mail was sent today
View 1 Replies
View Related
Apr 27, 2010
my host is x86_64 and run hosted redhat server5.4 X86_64, i complies my code with -m32 option open, my code run smoothly in my host, but when it installed on redhat9.0 host(x86_32) the error occurs and the output is :"Program terminated with signal SIGFPE, Arithmetic exception" but thought whole my code, there no divide operators,i write the "hello world" program, the same problem also occurs
View 1 Replies
View Related
Jan 19, 2011
I'm trying to build a spi program using c++. I'm able to perform half-duplex transfers using the read/write functions, it works perfectly. Now I need to perform a full-duplex transfer, but I'm facing some problems. When I try to receive more than one byte, the slave returns to me only one byte.Ex: I send: FF FF FF FF FF The slave must return: 03 02 00 13 04 But what is happening is:
1st Transfer:
tx: FF FF FF FF FF
rx: 03 00 00 00 00
2nd Transfer:
tx: FF FF FF FF FF
rx: 02 00 00 00 00
[code].....
View 3 Replies
View Related
Apr 9, 2011
I'm trying to build a KDE program from source. I have installed the qt3-devel.i686 package. When I try to configure, I receive this error message
Quote:
checking for KDE... configure: error: in the prefix, you've chosen, are no KDE headers installed. This will fail. use another prefix!
Anyone know how I can build KDE programs in Fedora?
View 1 Replies
View Related
Aug 18, 2010
I'd like to build a .deb file which will contain my Perl program. I just want it to be deployed with dpkg -i on debian systems later. So it's just a matter of having the good arborescence in my .deb package. For that purpose, in the debian/rules file, I'm declaring some dh_install lines in the install rule.
My issue is that I know how to achieve my goal, but only with writing a ton of dh_install lines (one line, for one file...)
example :
clean:
dh_testdir
dh_clean
install: build
[Code].....
View 4 Replies
View Related
Apr 14, 2011
my build machine is x86 machine that is running ubuntu10.04, my target machine is tegra2 that is running on Andrioid, I wish my program can run under shell of android, as first step , I wrote a simplest assembly program which does nothing, but I got a link error, can somebody help me?
View 4 Replies
View Related
Jul 8, 2011
I am new to the whole concept of makefiles, and I'm trying to compile and build my program using a makefile template I have found. My project consists of three directories: "source", where my .cpp files are (source1.cpp, source2.cpp, source3.cpp), "include", where my .h files are (header1.h, header2.h, header3.h), and "obj", where the object files are to be stored (obj1.o, obj2.o, obj3.o). In the project root directory is my makefile, which is as follows:
Code:
EXEC = myexe
CC = g++
IDIR = include
SDIR = source
ODIR = obj
[Code]..
View 4 Replies
View Related
Apr 13, 2011
I'm tring to run AMDOverdriveCtrl, since they don't have an RPM file for Fedora i tried to compile from source i followed the instruction in the readme files run the make command
Code:
% make
g++ -mwindows -s -pthread -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -ldl -o./Release/AMDOverdriveCtrl ./src/CFanSpeedPanel.o ./src/COvdrSettingsPanel.o ./src/CFanControlPanel.o ./src/CColorTempPanel.o ./src/BezierMath.o ./src/Color.o
[code]....
and tried to run the application, and i get this error message
Code:
$ AMDOverdriveCtrl
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6), and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
View 1 Replies
View Related
Aug 7, 2010
I want to add a few linux server to our monitoring system (solarwinds).
We have to get this information by snmp.The items we need are:
1-In Byte Transferred on every network interface
2-Out Byte Transferred on every network interface.
3-Memory Usage
4-Memory Free
5-CPU usage
6-Free Disk space on partiotion
7-Uptime
I could not find snmp OID or names for this object to fetch.
View 2 Replies
View Related
Jan 13, 2010
Here is the txt file
Code:
I want to use a script to statistic the results like that
I want to know the the same string in the first column and how many different in the second column ?
how awk to write ?
View 7 Replies
View Related
Sep 20, 2011
I am analyzing memory usage on a Linux system. When I run vmstat -s, I see the following:
waffleman@waffle-iron:~$ vmstat -s
3549184 K total memory
3206708 K used memory
1918012 K active memory
1037320 K inactive memory
342476 K free memory
[Code]...
I know the system has 4096 MB of RAM installed, but why does it show only 3466 MB? Can this be interpreted as total "available" memory? Perhaps the missing 630 MB is being used by the kernel and cannot paged out?
I also tried this on on an Embedded Linux system and saw a similar result. The DRAM chip has 128 MB, but only 124 MB shows up in vmstat.
View 1 Replies
View Related
Apr 11, 2011
How can I enable the statistic module in iptables?
I have
Fedora13 32 bits
iptables-1.4.7-2
kernel 2.6.18
View 2 Replies
View Related
Feb 17, 2011
I have iptables 1.3.5 on CentOS 5.5 32 bits. kernel 2.6.18
How to install statistic match module for iptables?
View 3 Replies
View Related
Dec 23, 2008
I have a WA% between 50-80%.
So I have a few questions.
1. Is that WA% only disk I/O or can it include network IO?
2. How do I identify which processes are making up that WA statistic?
3. Why does iostat report 100% utilization when the drive read/write speeds are under 1MB/s?
The reason I'm asking.
My Oracle stats are saying that the drives are running at about 5MB/s right now, the WA is 55%, and the iostat -m -x is reporting the drives running at 100% utilization with a read/write rate under 1MB/s. The read speed of the drive is 98MB/s (tested with hdparm -tT when I installed the drives)
I know I have a few queries using full tables scans which I'm working on but I'd think that 100% utilization should be running at the full 98MB/s.
I want to try to identify which process (most likely and oracle one) is using the 100% utilization/55% WA.
View 5 Replies
View Related
Dec 14, 2010
I have build-essential, but make command not working I have build-essential package, but there is still a problem with make command. When I run it in a directory, it shows following message: mudassar@javaDev-1:~/Desktop/gwget-0.99$ make make: *** No targets specified and no makefile found. Stop. When I explicitly specify a make file, the following message appears:
[Code].....
View 1 Replies
View Related
Jun 22, 2011
I am able to build a shared library under solaris with
/usr/local/bin/g++ -G -o output.so file1.o file2.o file3.o.
How do I build the shared library under linux using the same files?
I have tried to use the same command /usr/local/bin/g++ -g -o but I got some undefined references, even if those references are defined in one of the object files.
View 3 Replies
View Related
Jul 19, 2009
I get this ifconfig output for eth0:1 :
eth0:1
Where are all the packet statistics?
View 2 Replies
View Related
Jul 22, 2010
I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".
View 3 Replies
View Related
Mar 19, 2010
I'm new to LinuxQuestions and this is my first post. I'm trying to build rrdtool to install Cacti and encountered the following problem: 'make' step returns an error messages:
Code:
./.libs/librrd.so: undefined reference to `xmlTextReaderGetParserLineNumber'
collect2: ld returned 1 exit status
What I have doneDownload and build the latest version of pkg-config, glib, pixman, cairo, pango, atk, gtk+ from official sites.
Download rrdtool source
Set PKG_CONFIG_PATH correctly
[Code]...
There is actually another problem with the computer which is "The Nautilus application has quit unexpectedly" everytime I open File Browser application or right-click>Properties a file/directory. This happen only after installing cairo and pango and I don't know how to revert to old version. Since there are a lot of log files so I'm very confused. Can someone give me a direction on how to resolve this?
View 3 Replies
View Related
Apr 12, 2011
Here is my problem:
I need to enable the statistic module in iptables.
I had Fedora 13 32 bits, iptables-1.4.7-2 and kernel 2.6.18
But kernel 2.6.18 does not support statistic module.
So, I upgraded from Fedora 13 to Fedora 14.
Now I have Fedora release 14 (Laughlin) and Kernel 2.6.18
I did this to upgrade: url
Also, I did this too.
# yum update kernel
No Packages marked for Update
How can I ugrade to newer kernel?
View 9 Replies
View Related
Jun 27, 2010
I have to get soem statistic about interfaces from /proc/net/dev. but statistic on this file is reset when get reach more than 4G byte.I think linux has limitation on this case.
View 1 Replies
View Related
Jan 18, 2010
Just i want one clarification regarding building libraries. I have a "c" program. i want to compile that program for ARM processor and i want to build ".a and .so" libraries for that c program.
View 1 Replies
View Related
Feb 12, 2011
im trying to build a simple program for my C programming class, this is the source code
#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;
[Code]...
i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?
View 5 Replies
View Related
Feb 20, 2010
I'm in love with my Opensuse 11.2. Love my KDE 4.4. The only thing I miss from my Ubuntu installation, is the ability to use Boxee. I would be more than willing to compile Boxee from source. I only have 2 problems with that:
1) I don't know where I can find all the build-deps or what they are for that matter to build Boxee.
2) I'm running on a Netbook. Yes, my measly Intel Atom is no fun for compiling and building.
What are my options/what can I do to get Boxee up and running on 11.2? I've tried searching on build service for an RPM, but I think due to legal restrictions, Boxee can't be on there.
View 9 Replies
View Related
Feb 16, 2011
looking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met: In order to build transmission 2.21.I need libeventnew version of transmission,I need to build libevent-dev >= 2.0.10 and installed first.But I can't get any information about building development files for libevent.
View 1 Replies
View Related
Sep 24, 2009
as I'm advancing in building some nice rpm I finally wanted to install on of my gems also the build was successful the actual install fails with missing dependencies.
Code:
$ rpm --root /home/sascha/rpmbuild/ -i ./RPMS/x86_64/memcached-1.4.1-2.x86_64.rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by memcached-1.4.1-2.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by memcached-1.4.1-2.x86_64
[code]....
View 1 Replies
View Related
Feb 11, 2011
I have an init script running as a special build user which performs an automated build that fails with (Too many open files).I updated /etc/security/limits to allow the special user more open files, but that didn't work - the init script still isn't allowed more open files.Here's a demonstration of the problem;
Code:
$ su - sbsbuild -c "ulimit -n"
Password:
[code]....
View 1 Replies
View Related
Sep 16, 2010
Trying to install SW 13.1 (on DVD) on the following system: M/B Intel: DX38BT Processor Intel Core 2 Quad Q6700 - 2.66GHz, 8MB Cache, 1066MHz FSB, Socket 775 Memory Corsair Dual Channel 8192MB PC10600 DDR3 1333MHz Memory (4x2048MB) Graphics Diamond Radeon HD 3850 Video Card - Viper, 512MB GDDR3, PCI Express 2.0 P/S Ultra 1000W
My goal is to install the i386 build on one partition and the 64-bit build on another. I have been away from Linux for a while and am sick to death of Win7, want to come home. :-}
Booted on i386 side of DVD, system freezes after a couple of lines that start with ATA2. Does not respond to 3 finger salute, ctrl-c, nothing. Have to press reset. I have tried both huge.s and hugesmp.s kernels
Booted on 64-bit side, comes up fine. I performed the install, selected for automatic lilo install. Lilo install hung but I was able to reboot. I booted off the 64-bit side again, entered the following: huge.s root=/dev/sde3 rdinit= ro It booted fully to the login prompt but the keyboard does not work, no input.
View 2 Replies
View Related
Aug 11, 2010
My team member want to use "mknod" command for build root file system of our project...
But, mknod is only excutable by "root".
I don't want to let them know the root password.
I think that "sudo" and "fakeroot" are the way to use mknod...
Except for those command, are there any way to use "mknode" ?
OR
Is there any solution for make "root file system ?"
View 1 Replies
View Related