9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
I'm new to Perl and I am not sure how to interpret command line arguments in the program. I am writing a program similar to the Unix utility 'tail' and need to check if first argument is '-1' (1) or any arbitrary number of lines to output. How would I write an 'if' statement to check for... (4 Replies)
Discussion started by: D2K
4 Replies
2. Solaris
Hi. I wonder what the equal sign in front of the answer means.
I have read man pages and googled but found no answer.
xntpdc -p
=15.5.64.3 15.5.2.51 3 512 377 0.02060 0.057426 0.04965Thanks.
Jan (1 Reply)
Discussion started by: vettec3
1 Replies
3. Shell Programming and Scripting
Hi, i was reading through a sample coding and came across this function, can anyone pls help to interpret the code for me. Thank alot
find_lines()
{
res=-1
if ; then
grep -i "$@" $FILENAME
res=$?
fi
return $res
} (2 Replies)
Discussion started by: Cheranime
2 Replies
4. UNIX for Dummies Questions & Answers
hi all,
when I run-
wcars1j5#netstat -an | grep 8090
127.0.0.1.8090 *.* 0 0 49152 0 LISTEN
wcars1j5#
1. does this mean that no one is connected to this port?
Regards,
akash (1 Reply)
Discussion started by: akash_mahakode
1 Replies
5. UNIX for Dummies Questions & Answers
I'm using RHEL and my var/log/messages file is filled with "FTP session opened/closed" lines that happen all day:
Aug 2 04:04:38 web proftpd: 74.125.56.10 (142.231.76.249) - FTP session closed.
Aug 2 04:05:11 web proftpd: 74.125.56.10 (142.231.88.123) - FTP session opened.Is this normal? We... (2 Replies)
Discussion started by: gaspol
2 Replies
6. Solaris
Hi all,
I wanted to know the solaris way of interpreting devices?
I mean i understand all those c0t0....stuff but when i start mounting devices , most of the times i get either a I/O error or it says that the directory does not exist.
eg:
I have a external usb hub to which i have connected... (1 Reply)
Discussion started by: wrapster
1 Replies
7. UNIX for Advanced & Expert Users
We are having performance issues on an alpha4100 server.
I can't paste a snapshot of my vmstat in here, but...
We have 4gb of memory. The actual memory stays consistant around 306k. Free is dropping into the 120 area. Wire is around 206k consistantly. consistantly.
My manual says that unix... (3 Replies)
Discussion started by: MizzGail
3 Replies
8. UNIX for Dummies Questions & Answers
I am trying to interpret the following shellscript and am having a very difficult time. Could one of you Unix gurus pleasssseeee help me out? You just won't know how much of a life saver you would be for me.
PN=`basename "$0"` # Program name
VER=`echo '$Revision: 1.2 $' | cut -d' ' -f2`
... (3 Replies)
Discussion started by: Ann
3 Replies
9. UNIX for Dummies Questions & Answers
Are there any references I can look up for to interprete "netstat -s", especially those on TCP statistics. (6 Replies)
Discussion started by: deaniyoer
6 Replies