12-22-2011
I'm really appreciate your replies.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to check to see if a file exists on a ftp server, well, I know that cant be done, atleast directly, So I came up with this small script
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
cd public_html/crap
dir $FILE
quit
END_SCRIPT
Where the $ variable... (2 Replies)
Discussion started by: designflaw
2 Replies
2. UNIX for Dummies Questions & Answers
I'm having trouble capturing output from the following command on AIX:
grpck -n ALL > error.out
It gives me the results on the screen but my file is blank.
I have no trouble capturing output from "ls > ls.out", but doesn't seem to work with the grpck command.
Any ideas?
Thanks. (2 Replies)
Discussion started by: pdtak
2 Replies
3. Shell Programming and Scripting
Hi,
I'm new to ksh - unix platform. I'm writing a small script which will search my current directory and will search for file names which it takes input from the users.
Here is the code I'm having.
1 #!/bin/ksh
2 echo "enter a file name to be searched in the current dir : "
3 read... (1 Reply)
Discussion started by: avik
1 Replies
4. Shell Programming and Scripting
Hi all, I'd like to capture the output from the 'top' command to monitor my CPU and Mem utilisation.Currently my command isecho date
`top -b -n1 | grep -e Cpu -e Mem` I get the output in 3 separate lines.Tue Feb 24 15:00:03
Cpu(s): 3.4% us, 8.5% sy .. ..
Mem: 1011480k total, 226928k used, ....... (4 Replies)
Discussion started by: new2ss
4 Replies
5. Shell Programming and Scripting
hi,
I want to extract and save the cpu(s) information from top command output, but individual cpu statistics separately on a multi-processor machine.
In command line, top will show this statistics when we press the switch "1".
any ideas?
thanks,
meharo (3 Replies)
Discussion started by: meharo
3 Replies
6. Shell Programming and Scripting
I have written shell script to send file as an attachemt of email and output of "top -o res" command as email body. it works fine if i execute manually from prompt but it does not send "top -o res" command output in email body when it is executed via crontab. Any suggestions. My script is below:... (5 Replies)
Discussion started by: needyourhelp10
5 Replies
7. HP-UX
Hello all,
I've been woking on Solaris and Linux (Red Hat) so far but now I've inherited an HP-UX system and having minor issues with syntax...Appreciate if you could help me out here..
1) I'm trying to sort the output of the top command in HP-UX 11.11 by pressing O (capital O) after typing... (2 Replies)
Discussion started by: luft
2 Replies
8. UNIX for Advanced & Expert Users
Hi All,
In the output of TOP command in my unix system, i monitored that some process has utilization more than 100% even some process has 4000% utilisation.
Please help me understand how it is possible to show more than 100% utilization.
Please see the screenshot below:... (2 Replies)
Discussion started by: anand2308
2 Replies
9. Shell Programming and Scripting
need help with formatting output of command top and prstat. My requirment is to remove few columns and display remaining . But when i used awk to do that the output seems to be have gone vague, mixing the column values.
After using awk to print particular column the output seems to have lost... (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am a beginner, I have currently Solaris 11 on a vmware machine. Whenever I type a command like 'ls' the screen scrolls to the end of the screen. I am unable to see the entire list of directories and files. I have tried ls |page command, but looking out for a better option. (3 Replies)
Discussion started by: farheenprasad
3 Replies
LEARN ABOUT DEBIAN
ipsec_ikeping
IPSEC_IKEPING(8) [FIXME: manual] IPSEC_IKEPING(8)
NAME
ipsec_ikeping - send/receive ISAKMP/IKE echo requests/replies
SYNOPSIS
ipsec ikeping [--listen] [--verbose] [--wait time] [--exchangenum num] [--ikeport localport] [--ikeaddress address] [--inet] [--inet6]
destaddr [/dstport...]
DESCRIPTION
Ikeping sends and receives ISAKMP/IKE echo request and echo reply packets. These packets are intended for diagnostics purposes, in a manner
similar to ping(8) does for ICMP echo request/reply packets.
At the time of this writing, the ISAKMP echo request/reply exchange is still an internet-draft (draft-richardson-ipsec-ikeping-00), and is
therefore completely non-standard. The Openswan IKE daemon pluto does implement this draft, so ikeping can be used to test connectivity to
an openswan ipsec server.
Ikeping will bind to the local address given by --ikeaddress and the port number given by --ikeport defaulting to the wildcard address and
the ISAKMP port 500. An ISAKMP exchange of type 244 (a private use number) is sent to each of the address/ports listed on the command line.
The exchange number may be overridden by the --exchangenum option.
Ikeping then listens for replies, printing them as they are received. Replies are of exchange type 245 or the specified exchange number
plus 1. Ikeping will keep listening until it either receives as many echo responses as it sent, or until the timeout period (5 seconds)
has been reached. Receipt of a packet will reset the timer. The --wait option can be used to specify a different timeout period.
If the --listen option is given, then ikeping will not send any packets. Instead, it will listen for them and reply to each request
received.
If the --natt option is given, then ikeping will set the socket to permit UDP encapsulated ESP packets. This is only useful in listen mode.
FILES
no external files
SEE ALSO
ping(8), ipsec_pluto(8)
HISTORY
Written for the Linux FreeS/WAN project <http://www.freeswan.org> by Michael Richardson.
[FIXME: source] 10/06/2010 IPSEC_IKEPING(8)