General :: Log Or Live Data That Discloses The System Calls An Application Makes?
Apr 5, 2011
I want a log or live data that discloses the system calls an application makes. I have used strace but can't find a guide for it that is decent. I'm interested in knowing the calls made after user intervention like opening a menu and so on. If you run (strace application_name) it is static. What good is this? When does strace make this file? When is this log produced?
What is the real difference between system calls and normal function calls. Ultimately function calls too would be passed to kernel for some or the other work.
I would like to trace a user's activity by monitoring system calls. Is there a way to use strace such that at startup it will begin tracing all system calls? Or is there any other method to automatically trace the system calls used during a user's session automatically without having to call strace manually?
I'm new to C language and some help finding places in the following code where a system call is made and error checking is not done. I found one but since I don't know C language at all I'm not exactly sure what else to look for. Link to my file: [URL]...
I found one and added error checking: if (setoutpipe){ //Changes: Added error checking to the system call close() //Orginal Code: close(pidefd[1]); if(close(pipefd[1] != 0){ fprintf(stderr, "Could not close piple. "); exit(255); }
I found lots of pepole who belongs to India and using BSNL Data card wants to connect Internet from fedora so I thought post a thread which will help all how are using BSNL EVDO Data Card. At first click on application - System Tools - Terminal enter the following code on your terminal
Updated part starts here When I was using Fedora 10 I post this thread on that time gedit worked properly with "su" Now here if you are using Fedora 14 and by using su gedit is not appearing then try
Code: su - instaed of only "su" hope gedit will work properly. If dose not work then you can follow the next post instructions. Or you can ask in the forum for I am updating "su" by "su -" If you are using earlier version you can try by only "su" or "su-" if none of this works then follow next post. Just remember you have do this in a single terminal and step by step to avoid maximum uses of "su" or "su -"
I'm trying to control the access in my server. I did an application that can read audit logs and sys logs with the purpose to send me a report by email with important information about the user. It's a SH file. My problem is start the program when someone makes a ssh connection.
My co-worker install CentOS with /var (ext3) is 1TB:
Code:
I do the following tasks to move sdb1 to VolGroup00:
After that I moved /var back to / folder and reboot but the system hangs at "Starting system logger". Uninstall and re-install sysklogd package don't make any change. What I don't understand is I can start syslogd from command line:
Is there a way to make phone calls and send SMS via mobile broadband 3G modem, i mean an application for the 3G modem which is similar to the one provided for windows by the manufacturer?
Iam using snmp to access the remote system data.But according to the requirement iam encoding the snmp request data to OAMPDU packet format and sending to remote system.the remote system receives the OAMPDU packet,decodes it and is sending the snmp packet to snmp agent through UDP socket which is bind to port 161.but iam unable to receive the response from snmp agent.i have created a udp socket which is bind to 161 port to receive the response.
if i use any other free port number other than 161 for receiving snmp agent is not sending the response to that port.can any one please suggest me how to overcome this problem.Can we configure the different ports for tx,rx ?How do we know on which port does snmp sends the response ???
I copied a back up of my windows 'my documents' fold and all of its' sub folders into my linux (Mint Debian) Documents directory. I found that many of my files can be found in more that one directory so, what I want to do is to find all the dups and deal with them. Is there a good linux application to resolve this 'duplicates' problem. (I don't want to touch the linux system files.)
I have a Windows laptop that isn't booting up anymore for some reason Safe Mode doesn't even work. Looking at what is printed out when it hangs, I did a search on google and it is some sort of HP laptop problem. Apparently the hard drive should still be OK, if only I can access it somehow. I was thinking maybe I could use one of those live Linux CDs to boot up. But I'm not too familiar with those. Would they be able to detect the laptop's DVD burner, and allow me to burn files off the NTFS partition to a blank DVD? I want to get my data off before I hand the laptop over to the IT department - who knows what they will do to it. So exactly which live Linux CD flavor should I use (my other working computer only has a CD burner)? And then would it be easy to burn a DVD after booting up the live Linux CD?
Is there a Linux Live Weather Radar Application for an InFocast Internet Media Display?I would like to receive live weather radar for area code 205 or 35125 zip code.
I've been receiving a ton of calls from telemarketers and political callcenters. What would be the simplest way to use Ubuntu to automatically drop calls incoming from blacklisted numbers?
I have Comcast Digital Voice service, which is technically VOIP but I think it interfaces with modems themselves just like any other phone service would. I have a dedicated Ubuntu server sitting next to a phone jack already, so I'd like to use that if possible.
I've seen FreePBX and Asterisk, and hear that they can do the job. However, I haven't been able to tell just how easily they could be set up. It sounds like they might require me to get rid of all my phones and use soft phones instead... Does anybody know if it is as simple as buying a voice modem and configuring a PBX software to interface with it?
I've implemented a few custom system calls in my Ubuntu kernel, but I'm having some issues with the return values. Each function returns a variety of non-negative integers depending on which error is encountered. However, when I'm testing the system calls, the only negative value that gets returned to the user program is -1, regardless of what I have in the code.
Is there some special path I have to take to get the proper return values?
I know there is a way to call winapi in runtime in windows. I want to ask how can I call a system call in gcc in runtime (when I don't know what it can be)? I don't mean syscall that I think is for calling only system calls and not library functions.
We recently had a vulnerability scan done on our network and one of the vulnerabilities was that the dns server discloses the remote host name when using hostname.bind.
Is there any way that we can stop this from happening? Our name server is a Fedora 11 machine.
i am working on a client server real-time gui application written in C++ for Redhat. There is an issue with this application that it makes the system hang. i am not able to sort out the issue as it happens randomly. Sometimes with in half an hour it makes the system hang, sometimes it takes 4 or 5 hours when it receives realtime data. Is there any way to debug this issue. I tried valgrind..but it was not of much use..
i am working on a client server real-time gui application written in C++ for linux os. There is an issue with this application that it makes the system hang. i am not able to sort out the issue as it happens randomly. Sometimes with in half an hour it makes the system hang, sometimes it takes 4 or 5 hours when it receives realtime data. Is there any way to debug this issue. I tried valgrind..but it was not of much use.
I'm trying to produce a alphabetic, non-repetitive list of all System service calls in all c files located in a folder. Here's what I got so far. grep -ow '[A-Za-z]*SYS[$][A-Za-z]*' *.c | sort Which produces all system service calls in alphabetic order I just need to find out how to make it non-repetitive.
I am working with fedora 6 , i386 architecture.I am trying to write on keyboard port via program.On inspation i come to know that 0x0060 to 0xz006f are used for keyboard in linux 2.6 kernel in the i/o space from kernel.
I am trying to make a Live CD which makes use of Xephyr. Xephyr seems to do the job I need, however it seems that I can't copy things from the rest of my windows to paste into the Xephyr window, and copy things out of the Xephyr window to paste into the rest of the windows.I have the live CD here [URL] , and if people using the live cd can not copy things into the Xephyr window, then I imagine it will be very frustrating to use.is there any way to share the clipboard between two Xservers? Any thing I am missing?
I am running Ubuntu 9.10 and trying to use OpenOffice 3.1. If I run OpenOffice, after 10 minutes or so, the whole computer freezes. Even if I have shut down OpenOffice it still happens. Only answer is to turn computer off and on again. I read some other people's posts listing the same problem and as a result uninstalled Open Office and then installed it again. I also uninstalled Compiz. Neither of these seem to be the solution. I have just installed Lotus Symphony and there are no problems with freezing and so the issue is definately with OO and Ubuntu.
I then on further advice uninstalled the bundled Ubuntu version of OpenOffice and installed directly from the OpenOffice website. The problem still remains. Next thing I tried was to uncheck autosave feature. The above problems only happen on my desktop. I also have an ASUS EEE Netbook running Ubuntu 9.10 Netbook remix. This is fine - the problem does not seem to affect the netbook. I would really like to continue to use OO - I like it a lot. Unfortunately this freezing issue is making it unusable.
Xorg takes 700+ mbs of ram, then in matter of hours it fills the swap and then system basically stops responding or whatever. And because its constantly allocating, it degrades perforamce horribly.Interesting thing is I never had this problem before, recently one of my ram modules broke (2+2 GB) and now I have only one, but it still doesnt explain the memory overuse. Windows 7 works perfectly fine.
For some time now, my laptop makes a quick but loud buzz sound when I shutdown or restart it. Muting my sounds doesn't fix it. Before, it didn't do this. It just started one day and got worse till it happened everytime I shutdown or restart.
Going to preferences > sounds > changing sound theme to no sounds helped a bit and after doing this, it doesn't happen all the time anymore. This is quite disturbing especially when I'm in libraries. What worries me the most though is that it might affect my speaker.
i just finish setting up my new file server with two hardisk(80gig for first hd for my filesystem and 2nd 250 gig for my data files) now iam wondering can i umount my second drive "live" and replace a new hardisk without shutingdown my computer? can i damage my hardisk? i know there is a hotswapble hardisk. but i my case i cant not afford a upgrade in my unit(clone pc only) but guy i try several time to change live hardisk without turning off my pc? i just umount the 2nd disk and insert a new disk and nothing happend wrong in my system?