cancel
Showing results for 
Search instead for 
Did you mean: 

Error in lseek and ioctl

 
SOLVED
Go to solution
Regular Advisor

Re: Error in lseek and ioctl

Hi Dennis,

 

I used the below command

 

tusc -pfea -o /tmp/resultfile  pid

 

If you didnt get any good infromation from this , i will do it once more and post .

 

Regards

 

Laiju.C.Babu
Acclaimed Contributor

Re: Problems with crontab and scp

>tusc -pfea -o /tmp/resultfile pid

 

It appears you did this after that PID forked the process that does the real work?

Can you get a ps(1) output of that PID and its child, so you can make sure you are tracing the right process.

 

Or if this is done on a continual basis, trace the parent of PID and that will eventually have some useful data.

Honored Contributor

Re: Error in lseek and ioctl

can you add set -x at the begining of your script

  /eytools/eybin/get_linuxinfo.sh

Regular Advisor

Re: Error in lseek and ioctl

Hi Dennis,

 

Parent PID of this process is crond , can i track with the PID of cron.

 

Regards

 

Laiju.C.Babu
Acclaimed Contributor

Re: Problems with crontab and scp

>can I track with the PID of cron?

 

Yes but it may give too much if there are other activities.

You could replace your crontab entry with a script that invokes tusc on your real script.

Regular Advisor

Re: Problems with crontab and scp

Hi,

 

I am attaching the output of tusc . Could you please check the output for the server ussecavldnaut1. This is one of the server which i am facing issue.

 

Laiju.C.Babu
Regular Advisor
Solution

Re: Problems with crontab and scp

Hi  Team,

 

Thanks a lot for the help.  The issue is resolved . The problem was with the time zone . The main servers was on GMT and the clients having EDT.  So i just changed  execution time of script in crontab. Now its working fine . Thanks a lot for your help.

 

Regards

 

Laiju.C.Babu