|
|
sin fails when run in a shell script as background job
|
|
06/08/2010 7:41 PM
post56349
|
sin fails when run in a shell script as background job
I am trying to perform process monitoring within script. However, I found out that sin command is not happy when run
inside a shell script and as background job. Performing similar task with pidin is fine. Does anyone know why sin fails
and how to get around it?
shell script:
#!/bin/ksh
sin -P <ProcessName> mem &
fail message:
Unable to access node /proc
|
|
|
|
|