Search Results

Search: Posts Made By: sreeniatbp
4
sed
992
Posted By sreeniatbp
can I not just update street field ?
can I not just update street field ?
4
sed
992
Posted By sreeniatbp
sed
hello,

I am trying to replace a field with a variable value,


<location province="aaa" area="bbb" street="my-street;india" zipcode="ddd">
</location>
<interest fld1="aaa"...
Forum: Solaris 07-22-2009
6,863
Posted By sreeniatbp
Active Sun cluster node?
I now the logical name and Virtual IP of the cluster.

How can I find the active sun cluster node without having root access?
6,718
Posted By sreeniatbp
Is there a way to spot on the process that is...
Is there a way to spot on the process that is only running and list its PID with out printing the current shell's PID ?
9,078
Posted By sreeniatbp
[code] #!/bin/ksh for i in `/usr/ucb/ps...
[code]
#!/bin/ksh

for i in `/usr/ucb/ps -wwaux | grep $1 | grep -v grep |awk '{print $2}'`
do
echo $i
#kill -9 $i
done


When I run this I get two different PIDs, one for 116694 and 17002....
6,718
Posted By sreeniatbp
[code] #!/bin/ksh for i in `/usr/ucb/ps...
[code]
#!/bin/ksh

for i in `/usr/ucb/ps -wwaux | grep $1 | grep -v grep |awk '{print $2}'`
do
echo $i
#kill -9 $i
done


When I run this I get two different PIDs, one for 116694 and 17002....
6,718
Posted By sreeniatbp
script script to kill a process
hello
I need a shell script that takes the process name as an argument and kills the process.

the process name is avilable in the long listing of the process.../usr/ucb/ps.

this is...
9,078
Posted By sreeniatbp
long process listing with /usr/ucb/ps weird behaves
hello

I am trying to run the following script to get the my-progam pid:

#!/bin/ksh
tt=`/usr/ucb/ps| grep -i $1| grep -v grep | awk '{print $2}'`
echo $tt

When I run the script I get the...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy