ps: no controlling terminal

Any one know the below means :
ps: no controlling terminal

I had run a script in background :
nohup ./benchmark.sh &

and shutdown my windows system from where i connected through SSH

I am using bash:

The above script perfoms various tasks of Benchmarking Repositories

Today the output the of nohup.out Say's :

tail -f nohup.out
ps: no controlling terminal
ps: no controlling terminal
ps: no controlling terminal
ps: no controlling terminal
ps: no controlling terminal
ps: no controlling terminal

keeps occuring .....

Let me know any of guys faced this.

Show us the line from your benchmark.sh which contains ps and we may be able to help you.

its clear that you are using just ps where there is no terminal attached to that.

running ps - would give the process associated with the current tty from which 'ps' is executed.

after executing nohup script &
are you disconnecting the sesssion from which script is invoked, if that is the case,

issuing ps would give no associated terminal - here you have to use ps with options like ps -ef

You are going to hate this answer, but it means that process running "ps" has no controlling terminal.

An interactive session has a controlling terminal that is used to deliver Ctrl-C, hangups and basic job control among other things.

Background tasks should not really be associated with a controlling terminal because they are not interactive.