On my remote Amazon EC2 instance, I've scheduled a Cron job to run a program once every hour. The program takes about 55 minutes to run, and sends me an email when it starts and when it stops.
It has been working well, but recently it seems as if the programs have abruptly began taking longer ('end email' arrives well over 55 minutes after start email). This also means potentially multiple processes are being run at the same time. I would like to confirm this by viewing all current processes being run - but for some reason, when I type 'ps' only two processes are shown: bash, and the ps command itself.
Any idea why the processes aren't being shown in ps? How can I find them? Once again, I'm SSHing into my Amazon EC2 instance - not sure if that's affecting which processes show up.
Thanks so much!
pswith no options? By default, that will list only processes associated with the current terminal. To see all processes, you will need something likeps -eor (BSD-style)ps ax