Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find idle bash session

Highlighted
shijub
Super Collector

How to find idle bash session

Hi, How to find idle bash session in the server, we have workflow which contain linux commands to execute SQL statement. So few times we have recieved Time Out error, so wanted to check if the bash process that was started gets killed once the execution is finished. We are on PPM 9.14 and Linux OS. thanks in advance Regards, Shiju
2 REPLIES
Erik Cole
Honored Contributor

Re: How to find idle bash session

Hi....log in to the server as the PPM account and do a ps ux to see the processes running under that account.

shijub
Super Collector

Re: How to find idle bash session

Hi 

Thanks for the reply.

We have sql statement which gets executed using ksc_itg_run_sql and the query is  simple select statment on request form.

after this we recieve the below error .

Execution Logs for Batch 8366196 | Request:35820

Command(s) timed out...

Unexpected error!
ERROR: java.sql.SQLException: ORA-01013: user requested cancel of current operation

 

//Add this to "OnDomLoad" event