system

How to query snmp trap through system floating IP?

I have written a snmp-agent, and it can run in system (rhel5). By querying oid from snmp client, it will get snmp trap. But my problem is: if there are two servers(one is stand-by system, one is active system),If I query snmp trap by floating IP, I will get no snmp trap. That is, I have to query by the true(active) IP, not floating IP....

zigbee and embedded system

hi guys, I'm new with zigbee i need you to help me learn about it and know how to implement an embedded system using it thanks in advance ...

set environment variables for system() in R?

I've been using R in Ubuntu to make system calls using system() for things like spinning up Amazon EC2 instances, managing files on S3, etc. If I start R from the command line everything works fine. But if I start R from a script using Rscript, or from ESS, I have issues with environment variables not being set. I think this is an issu...

how to back up current system configuration

help me please.. i was just about to install nvdia geforce when i've seen the installation instruction says to 'back up your current system configuration' but i dont know how to back up my current system configuration. is there anyone there who knows how?i would be really glad for your help.. thanks.. please excuse my bad english ^^ man...

How to assign shell command output to a variable in C language

I want the output of the shell command (echo free | grep Mem| awk '{print $2}') collected in a variable so that I can use it in a C program. So I have the code here. system("TOTAL=$(echo `free | grep Mem| awk '{print $2}'`)"); popen("grep -v procs $1 | grep -v free | awk '{USED=TOTAL-$4-$5-$6;print USED}'", "r"); Can I use the varia...

Delphi: Is system menu opened?

Hello. I Delphi, I need a function which determinates if the system menu (resp. window menu, the menu that appears when the icon is clicked) is opened. The reason is that I am writing a anti-keylogger functionality which sends garbage to the current active editcontrol (this also prevents keylogger which read WinAPI messages to read the ...

PHP mysqldump doesn't work

I've the code shown below but nothing happens after execution system('mysqldump -u USER -pPASS DB > /tmp/bckp.sql'); What is wrong with this code? Sultan ...

Advice on which language to use

I'm trying to create a web application which will get input from system. What this application should do is to listen what happens when some shell scripts are executing and reporting the status trough web. An example : I'm copying thousands of records with shell script, and while this is still executing I'd like pass the current stat...

System Integration

how to integrate system that use JSP language with Moodle that use PHP language? can you tell me step-step how to do it? ...

temp folder is created as temp file

hi. guys i have experienced a weird thing today. i am installing tomcat5 , and it stopped in the middle of progress bar. and i use process explorer to check the processes. i found a process with command line : C:\TEMP\nse305.tmp\ns306.tmp "C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\tomcat5.exe" //IS//Tomcat5 ..... the w...

Why install a CMS for clients?

I am a beginner freelancer eagerly trying to get my first client but I am wondering is having a CMS for a website really that important? Before I thought about this question I thought that it goes without saying that the client would benefit from having a CMS for their website, that they would love to be able to edit their content on the...

OO and PHP Classes vs functions

hello everybody. Does anyone know if OO and php classes are more resource consuming than normal functions that have the same result. And is there a simple php script that can give me exact RAM and CPU consumption by any given script so that I can monitor and limit resources usage, to code better for shared hosting. Thank You. ...

How do I find my "computer description" in a Java application on Windows and/or Mac?

Dear all, I have been struggling to find the "description" of the computer on which my Java application is running. What I'm after is the name used for DNS when advertising my computer on the local network ("iMac Mattijs" in the screen shots below). On Windows XP, this name can be found here: Control Panel -> System -> Computer Name ...

C# drawing disappears (actually more system question)

Hi, OK, I am sure some of you already know whats happening just by my title, since I get this is very common question. But my question is in fact little deeper, so please be patient wíth me. All my programing I have done in past years were in Assembler, mainly 8051 and AVR as weel as in C, but also for microcontrollers. I was more fasci...

Custom uses-library for our own system app

Hi, I need to make a system library (will be embedded in the system image on some phones). It needs to be used with the "uses-library" feature. (just like Sprint created such a system library for their Evo 4G front-facing camera support) My question is: - How can I create such a project? (I'll need to create a stub to link against and ...

Python: How to get current System time of a machine on the network

I understand that I can query system time of my machine like this: from datetime import datetime datetime.now() Is there a way to query the system time of another machine on the windows network? eg of \mynetworkpc ...

Property in audio callback still 0

I am trying to implement solution that has been described before, here is the link http://stackoverflow.com/questions/2718837/how-to-run-vibrate-continuously-in-iphone Everything works fine except when I am trying to retrieve bool property iShouldKeepBuzzing which should say when to stop looping vibration I still get value 0, so it is...

How can I specify timeout limit for Perl system call?

Sometimes my system call goes into a never ending state. To, avoid that I want to be able to break out of the call after a specified amount of time. Is there a way to specify a timeout limit to system? system("command", "arg1", "arg2", "arg3"); I want the timeout to be implemented from within Perl code for portability, and not using ...

Starting screen from PHP to execute intensive Java application

Hello, I am wondering how to start a screen session from PHP, I have tried with shell_exec(), system() and passthru(), but no avail. I have gotten the screen session started for the execution time of the script, but after it has finished loading, it kills the screen session it just created. (By starting a screen session and executing '...

Multiuser system

Hello i have a question, i write a requirement specification. there is a system, where more than one person interacts with, and i want to describe what happens when one person quits the interaction. I don't know how exactly a mulituser systems works, i guess the system creates an instance (?), and when the user finished it get closed ...