hi,
i would also like to ask, in my truss output, it tries to read
xstat(2, "/etc/resolv.conf", 0x080472F8) = 0
the /etc/resolv.conf file. I notice in this file, there is a:
I am suspecting is it because its querying a dns server and getting slow reply back? As far as i know, my machine is not configured at nameserver 172.x.x.x
How does /etc/resolv.conf work? Does Solaris use this file by default when querying Dns? or does it use /etc/hosts first?
I executed the following command in the korn shell:
$ variable1="qwerty" ls | sort
and the shell executed the 'ls | sort' command.
I would have expected an error message from the shell, but instead of that the shell ran the 'ls | sort' command and didn't realize the variable assignement. ... (1 Reply)
Hi there,
do someone have detailed information how to interpret the uptime command or rather which values can be called normal?
(i know what the information means, but i have no idea if these values are ok or to high:
3:02pm an 13:53, 2 Benutzer, Durchschnittslast: 10,06, 12,05, 13,00)
... (5 Replies)
I have used SAR -b to get some Unix cache / buffer metrics and the results are confusing me a bit.
The pread/s & pwrit/s are showing 0. However the lread/s and lwrit/s are showing figures. I note also that the bread/s and bwrit/s are showing figures. I believe that pread/s and pwrit/s is not... (3 Replies)
Hi,
I develop simple animation ping script on Solaris Platform. It is like Cisco ping.
Examples and source code are below.
bash-3.00$ gokcell 152.155.180.8 30
Sending 30 Ping Packets to 152.155.180.8
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.
% 93.33 success... % 6.66 packet loss...... (1 Reply)
I'm writing a Korn script but am having trouble because the shell interprets the asterisk in this case. Can anyone tell me if there is a way to fix this so that grep takes in STDIN without the interpretation?
line="30 09 * * 1-4 /home/user01/bin/start"
echo "$line" | grep 'start' (16 Replies)
Hi
I am using perl to ping a list of nodes - with script below :
$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
else {
print "$host is unreacheable.\n";
}
$p->close();... (4 Replies)
what does the below do.
echo * | xargs ls | wc –l
echo * - Output a string comprising the name of each file in the working directory, with each name separated by a space.
xargs ls - construct argument list command
wc -l - it will pipe the output to the wc command, which will... (4 Replies)
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies
LEARN ABOUT DEBIAN
macping
MACPING(1) General Commands Manual MACPING(1)NAME
macping - A tool for pinging other RouterOS or mactelnetd devices
SYNOPSIS
mactelnet [options] <MAC-Address|hostname>
DESCRIPTION
This tool enables you to ping other RouterOS or MAC-Telnetd enabled devices. You can ping either a hostname or a MAC address. If speci-
fied, the hostname (identity) will be looked up via MNDP discovery.
OPTIONS
These programs follow the usual GNU command line syntax. A summary of options is included below.
-f Fast mode, do not wait before sending next ping request. The next ping will be sent immediately when the last ping is received. This
cannot be used with -c 0
-s Specify the amount of bytes to send in each ping packet, up to ~1400 bytes.
-c Number of packets to send before exiting. A value of 0 means unlimited packets and the tool must be exited with Control + C.
-h Show summary of options.
-v Show version of program.
SEE ALSO mndp(1), mactelnet(1), mactelnetd(1).
AUTHOR
macping was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>.
This manual page was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>, for the Debian project (and may be used by others).
February 27, 2011 MACPING(1)