Thanks for more inputs. Looks like we cannot achive this from the ps.
But, I did find an alternative specific to Solaris in /usr/ucb/ps
/usr/ucb/ps -algwwwx
This command does give the full description.
How do I get the complete description of the process listed by ps command on a Solaris box. Here is what I am looking for:
>> ps -ef
UID PID PPID C STIME TTY TIME CMD
root 0 0 0 Aug 27 ? 0:01 sched
root 1 0 0 Aug 27 ? 1:50 /etc/init -...
Hi,
I have to run a script in the background even when I exit. So I was using the following command.
nohup ScriptName.sh &
My environment is SunOS 5.8 and using Korn shell.
I am getting the message that nohup.out is created. But when I exit out, the process is getting killed and says you have...
Hi all,
I am trying to replace a string in a line using the "sub" function of "nawk" command.
I want to remove the "{${DB2_HOME}/lib:" from the line in a file called Env.sh and copy to a file called Env_new.sh
Here is my code:
echo " INFO: Modifying the Env.sh file"
nawk '
{FS="="}
$0 ~...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.