1) Are you using XLC or gcc?
gcc
2) Do you have strace or truss? You can use them to attach to the process.
strace - Yes
truss - Yes
3) You could also try /sbin/pstack.
doesn't exist ont the system.
So how would I use truss or strace from withinside my program?
Randy
I am looking for some help help getting a stack trace in program that is executing. In our new logging routines we want to include that stacktrace so we are able to tell what program that called the one of library functions is having the the problem. We are running on a system using AIX 5.1...
After thinking about what you were saying I added that to my query and it worked. You are a genious. Thanks. This was my PHP statement
$line = mysql_fetch_array($result, MYSQL_ASSOC
And now I see it was getting confused because the coulmn was being named the same. Wow that would have...
Thanks for your reply. I have found that my query does work but it is the php doing something very woerd and droping columns. I gues that is a question for another forumn. Thanks
Randy
I have a table that has two different ID's that link to another table. I want to be able in a single query pull back all the information I need. My we host is running a fair old version of MySQL so I can't do sub quieries. Here is what I came up with and everytime it runs it throws away one...
Thanks for your suggestion. What I did is I got I directory listing from the remote machne by using the $ftp->dir() and then parsed out the time stamp. Then I used the utime() so set the files time stamp. Creating a file and FTPing seemed to me to be a little much. Thanks for you help. What I...
I am having trouble using the third argument in the get method(where in bytes). Every time I use it never downloads the rest of the file. Is this not supported by every ftp server? I am trying to avoid having to send a larger file over and over. I on;y want the new part of the file.
Randy
I am trying to insert data into a table from another table. The problem comes in with the unix timestamp column. It always converts the the date to 0000-00-00 but if you run the select query by itself it works just fine(Gives the correct date). Could someone see what I am doing wrong. Here...
Let me give some back ground on what I am doing. The processes I am running are on a linux machine. From there I am calling with an insert query to add the records in the table. I need to update if the key exists if the key doesn't exist do an insert query. the process will repeat every 5...
Hi, I am new to the stored proceedures and what I would like to do is send a data set to a stored proceedure. I don't know if this is possible. I though maybe you could do this if the stored proceedures had arrays. But I have looked in the books and found nothing on arrays. Below is an...
I recieve this error every time I run this piece of code. "Can't use string ("0") as a HASH ref while "strict refs" in use at ./CMTS_Collector.pl line 427." I am new to anonymous hashes so any help you can give would be appricated.
foreach $oid (keys %oids)...
I'm sorry what I meant is the log file roles everynight. But i would like to sync the local file with the remote file every 5 to 10 minutes. Thanks
Randy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.