8 More Discussions You Might Find Interesting
1. Programming
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
2. Shell Programming and Scripting
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)
Discussion started by: tavanagh
4 Replies
3. Shell Programming and Scripting
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)
Discussion started by: gokcell
1 Replies
4. Linux
Hi,
Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
5. AIX
Hello
Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running.
I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies
6. Solaris
Hi All,
I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies
7. IP Networking
We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Discussion started by: jeffbugfree
2 Replies
8. Linux
I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies
LEARN ABOUT LINUX
erl_boot_server
erl_boot_server(3erl) Erlang Module Definition erl_boot_server(3erl)
NAME
erl_boot_server - Boot Server for Other Erlang Machines
DESCRIPTION
This server is used to assist diskless Erlang nodes which fetch all Erlang code from another machine.
This server is used to fetch all code, including the start script, if an Erlang runtime system is started with the -loader inet command
line flag. All hosts specified with the -hosts Host command line flag must have one instance of this server running.
This server can be started with the kernel configuration parameter start_boot_server .
The erl_boot_server can both read regular files as well as files in archives. See code(3erl) and erl_prim_loader(3erl) .
Warning:
The support for loading of code from archive files is experimental. The sole purpose of releasing it before it is ready is to obtain early
feedback. The file format, semantics, interfaces etc. may be changed in a future release.
EXPORTS
start(Slaves) -> {ok, Pid} | {error, What}
Types Slaves = [Host]
Host = atom()
Pid = pid()
What = term()
Starts the boot server. Slaves is a list of IP addresses for hosts which are allowed to use this server as a boot server.
start_link(Slaves) -> {ok, Pid} | {error, What}
Types Slaves = [Host]
Host = atom()
Pid = pid()
What = term()()
Starts the boot server and links to the caller. This function is used to start the server if it is included in a supervision tree.
add_slave(Slave) -> ok | {error, What}
Types Slave = Host
Host = atom()
What = term()
Adds a Slave node to the list of allowed slave hosts.
delete_slave(Slave) -> ok | {error, What}
Types Slave = Host
Host = atom()
What = void()
Deletes a Slave node from the list of allowed slave hosts.
which_slaves() -> Slaves
Types Slaves = [Host]
Host = atom()
Returns the current list of allowed slave hosts.
SEE ALSO
init(3erl) , erl_prim_loader(3erl)
Ericsson AB kernel 2.14.3 erl_boot_server(3erl)