If i run ps -eo comm it lists the process but not the full path of the daemon running. If i run ps -ef | awk '{print $8}' it will print the whole path of the process running but if i put ps -ef | awk '{print $8}' in a script it doesn't print the 8th field. Very strange. Any ideas on redhat how to get just the process with the full path in a script?