Sorry too difficult to me, need something simple right now ---------- Post updated at 09:31 AM ---------- Previous update was at 08:55 AM ----------
Can you please give me something to start with? I've been reading some shell script tutorial but I'm even not sure which way to monitor those services (using if, while..)
---------- Post updated at 10:17 AM ---------- Previous update was at 09:31 AM ----------
how can I save the condition if [ grep -q "bytes from" ] in a variable?
Last edited by Scott; 07-17-2011 at 11:56 AM..
Reason: Code tags
I can ping other computers in my office. I can telnet other users in my office but i cannot get out of the office network. If i try to go out side of my network it cannot find host.
Any ideas? (5 Replies)
Hi All,
We are not able to ping to a AIX box...Network is ok..when we give ping from that AIX box..it is giving 0821-067 ping: The socket creation call failed.there is no enough buffer space for the requested socket operation.
refresh -s inetd is also giving socket error.
Please help to... (1 Reply)
I have one problem and it is giving me hard time
I can ping my windows machine
root@x1ChXpress:/sbin
>ping 192.168.129.66
192.168.129.66 is alive
root@x1ChXpress:/sbin
>netstat -rn
Routing Table:
Destination Gateway Flags Ref Use Interface... (3 Replies)
Hi guys - Relatively new to shell programming so please bare with me (I bet everyone says that!)
I'm faced with a problem:
I need a shell script to do the following:
Connect to a MySQL database and pull all entrys from the nodes field in a table called 'nodes'
These nodes will then be... (1 Reply)
We have a Sun Solaris Netra 20 server. Our O&M Server gets Alarm Processor
not responding. When Alarm occurs, you can ping the sun server but cannot telnet it. We keep getting Interrupt level not serviced. var/adm/message log is
> tail -f messages
Apr 12 20:09:56 cama pcisch: PCI-device:... (9 Replies)
Hi all,
I am not sure if my problem is specific to HP-UX or not. Hopefully someone can tell me what's wrong.
I have a server name server1 10.100.50.10 in the /etc/hosts file and if I do a ping server1, it shows the right IP address.
However, if I run telnet server1, it is not using... (4 Replies)
Hi,
After a crash of our older AIX server it happend as it is in the title:
ping is ok, but telnet:
What it can be this strange thing?
Franci (2 Replies)
Hello,
I need help, I have the following which save in the result file ping and telnet:port test.
Basically the script works but I should implement a check on ping and telnet command so that ping has 5 seconds threshold and telnet (more important) 10 seconds. Over that threshold ping and... (0 Replies)
Hi Team,
Need shell script to Telnet multiple node , Ping some IP and print output like pass or fail.
Need this script to check reachability of multiple nodes at same time.
Help me.
I use this but not working...
Eg.
in this script i need to telnet... (4 Replies)
Discussion started by: Ganesh Mankar
4 Replies
LEARN ABOUT LINUX
xzegrep
XZGREP(1) XZ Utils XZGREP(1)NAME
xzgrep - search compressed files for a regular expression
SYNOPSIS
xzgrep [grep_options] [-e] pattern file...
xzegrep ...
xzfgrep ...
lzgrep ...
lzegrep ...
lzfgrep ...
DESCRIPTION
xzgrep invokes grep(1) on files which may be either uncompressed or compressed with xz(1), lzma(1), gzip(1), or bzip2(1). All options
specified are passed directly to grep(1).
If no file is specified, then standard input is decompressed if necessary and fed to grep(1). When reading from standard input, gzip(1)
and bzip2(1) compressed files are not supported.
If xzgrep is invoked as xzegrep or xzfgrep then egrep(1) or fgrep(1) is used instead of grep(1). The same applies to names lzgrep, lze-
grep, and lzfgrep, which are provided for backward compatibility with LZMA Utils.
ENVIRONMENT
GREP If the GREP environment variable is set, xzgrep uses it instead of grep(1), egrep(1), or fgrep(1).
SEE ALSO grep(1), xz(1), gzip(1), bzip2(1), zgrep(1)Tukaani 2010-09-27 XZGREP(1)