Search Results

Search: Posts Made By: robbiezr
Forum: HP-UX 03-11-2010
6,384
Posted By robbiezr
How to view socket_udp_rcvbuf_default'value in hp-ux
In the hp-ux 11.31 environment . How can i view the values of below parameters:

socket_udp_rcvbuf_default
socket_udp_sndbuf_default

thanks!
2,636
Posted By robbiezr
Thanks for replys. this is my crontab entry...
Thanks for replys.
this is my crontab entry code.


*/10 * * * * main.sh >> crontab_task.log
2,636
Posted By robbiezr
how to control the exec sequence of subshell
I have a proc like this.

main.sh

echo "#######################################starts"
echo "Task begins at" `date`
shell1.sh
wait
shell2.sh
echo "#######################################...
Forum: Programming 06-06-2009
6,183
Posted By robbiezr
sql,multiple join,outer join issue
example sql:


select a.a1,b.b1,c.c1,d.d1,e.e1
from a
left outer join b on a.x=b.x
left outer join c on b.y=c.y
left outer join d on d.z=a.z
inner join a.t=e.t


I know how single...
1,683
Posted By robbiezr
Expect script issue
This is my expect script .

set USERNAME [lindex $argv 1]
set PASSWD [lindex $argv 2]
set IP [lindex $argv 0]
set timeout 15
spawn telnet $IP
expect "login:"
send "$USERNAME\r"
expect...
38,004
Posted By robbiezr
question about "sleep" command in expect script
I wrote some expect script to telnet to some device to execute some commands.Firstly,I can't get full result some time,then I try to add some "sleep" command in it.Fortunately it works.
My idea...
2,828
Posted By robbiezr
It works. Thank you so much!
It works.
Thank you so much!
2,828
Posted By robbiezr
how to get the blank line number of a file?
I want to get the blank line number of a file.
example:
9000|9000|WW|1|1|SL|472|472|LC|2272|1072|MTY|niceDay

9000|9000|WW|1|1|SL|470|470|MC|1270|1172|MPVT|nice
...
4,661
Posted By robbiezr
Try this code
grep "`awk -F"|" '{print $1}' $fileName|sort|uniq -c|awk '$1 ~1 {print $2}'`" $fileName


I test it on the RedHat Linux,it works.
1,167
Posted By robbiezr
try this code: sed -n "/SDP DAILY BACKUP...
try this code:
sed -n "/SDP DAILY BACKUP REPORT/,/sdp2a OK OK OK/p" $file
38,537
Posted By robbiezr
how to run shell script inside expect script?
I have the code like this :


shell script continues ...
....
expect -c"
spawn telnet $ip
expect "login:"
send \"$usrname\r\"
expect...
Forum: HP-UX 04-13-2009
46,268
Posted By robbiezr
thanks for replying. It works. Can anyone...
thanks for replying.
It works.
Can anyone give me the answer to the question1?
Forum: HP-UX 04-13-2009
46,268
Posted By robbiezr
how to list locked users in hp-ux?
Actually.I have 2 questions to ask.

1. how to list locked account in hp-ux?

2.how to list locked account in linux(redhat)?
I can use the command "passwd -S -username" to list a account who...
Showing results 1 to 13 of 13

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