job is started with sshd daemon; wish to know its implementation details


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users job is started with sshd daemon; wish to know its implementation details
# 1  
Old 02-01-2012
job is started with sshd daemon; wish to know its implementation details

Hello Gurus,

In solaris server, one folder say /appl/prod/usr/sendme get files those need to be processed. The script named checkFile.sh can process the each file.

This script checkFile.sh is not scheduled in crontab. But whenever file puts in sendme folder, the checkFile.sh is called and that file is processed.

When we checked the processes of checkFile.sh through ptree then
Code:
12345 /usr/lib/ssh/sshd
   12346 /usr/lib/ssh/sshd
        12347 /usr/lib/ssh/sshd
            12348 ksh /appl/prod/usr/scripts/checkFile.sh transaction_det_120201

We want to know how this process is being called who schedule it and how can we set this process on one server. etc.

Kindly co-operate with me to know about it.

Last edited by jim mcnamara; 02-01-2012 at 09:28 AM..
# 2  
Old 02-01-2012
Code:
ssh nodename '/appl/prod/usr/scripts/checkFile.sh transaction_det_120201'

started the script

Code:
ps -ef | grep 12348

will show you the user running the process, you will have to play with
the output of
Code:
netstat -an

to see where the command originated from.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

EVM daemon can't started

Whenever I tried to login as a root the following message is consecutively appearing esmd: System Error: The EVM daemon has failed and cannot be restarted I check the patches which and all previously installed. But those are correctly present. And I replace the evmstop and evmstart script... (0 Replies)
Discussion started by: siva3492
0 Replies

2. AIX

RPC daemon can not be started.

We encounted the following err msg and then use to fix this issue. But before I finish the ipcrm cmd,the AIX systerm was restarted by using . After this,the cicscp cmd failed with the following: I've tried execute it under debug mode,but got no useful information. Who... (0 Replies)
Discussion started by: tiger_wen
0 Replies

3. UNIX for Dummies Questions & Answers

at -l doesnt give details of the scheduled job. How to get the details?

I have scheduled couple of shell scripts to run using 'at' command. The o/p of at -l is: $ at -l 1320904800.a Thu Nov 10 01:00:00 2011 1320894000.a Wed Nov 9 22:00:00 2011 1320876000.a Wed Nov 9 17:00:00 2011 $ uname -a SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies

4. Solaris

sshd not able to restart

Hi, I was able to putty a few server (Solaris 10) of mine using hostname, but when i change to ip address, it shows login as: root Using keyboard-interactive authentication. Password: Access denied I change PermitRootLogin to yes. I tried to do a sshd restart, however ... (6 Replies)
Discussion started by: beginningDBA
6 Replies

5. Red Hat

Killing child daemon started by parent process

Hi All, Hope this is right area to ask this question. I have a shell script (bash) "wrapper.sh", which contains few simple shell command which executes a "server.sh" (conatins code to execute a java server) as a daemon. Now what I want to kill this "server.sh" so that the server should... (2 Replies)
Discussion started by: jw_amp
2 Replies

6. Red Hat

sshd started, but ssh/sftp/psftp not working

The OS is CenOS. The sshds is started, but ssh/sftp/psftp are not working with "time out" errors. # service sshd status openssh-daemon (pid 2894) is running... # tail /var/log/secure Feb 16 10:56:47 cenos userhelper: pam_timestamp(system-config-securitylevel:session): updated... (3 Replies)
Discussion started by: aixlover
3 Replies

7. UNIX for Dummies Questions & Answers

can't get sshd started - using knoppix

i don't have /etc/inet.d/sshd >which sshd /usr/sbin/sshd when I try to run sshd >sshd <ENTER> ...could not load hostkey.... i don't have a copy and paste , but perhaps somebdoy here recognizes the message thanks in advance (4 Replies)
Discussion started by: james hanley
4 Replies

8. AIX

It helps in the sshd on sshd.log

Friends, I made the installation of the ssh in the it conspires, I configured in the ssh_config the following parameters.. SyslogFacility AUTH LogLevel INFO that should generate sshd.log in the /var/log.... more no this generating. Somebody could help myself in... (0 Replies)
Discussion started by: sandba
0 Replies

9. UNIX for Dummies Questions & Answers

applicatoin cannot started, becos daemon did not run

hi, i had an applicatoin which is not running cos one of its daemon is not running.. i get the applicatoin to run by running the daemon first... its manual job... so quite cumbersome.. i have backups in the night, with the crontab -l entry with logs written. the logs indicated successful... (7 Replies)
Discussion started by: yls177
7 Replies

10. UNIX for Dummies Questions & Answers

sshd

i just downloaded and installed succesfully openssh server, and am running it on netbsd 1.5, i can not login with anyuser, i enabled root login just to see what happens and i can login as root, but no other user, i checked my config and most things are default, whats going on? has any one else had... (2 Replies)
Discussion started by: norsk hedensk
2 Replies
Login or Register to Ask a Question