XltHostSendString(3X)XltHostSendString(3X)NAME
XltHostSendString - Function to send a NULL terminated string to a Host
SYNOPSIS
#include <Xlt/Host.h>
Widget XltHostSendString(host, string)
Widget host;
String string;
DESCRIPTION
XltHostSendString sends string to the connected Host with the XltNterminator string appended. The string is sent by calling XltHostSend-
Data(3X).
host The Host widget ID
string The string to send.
For a complete description of Host, see XltHost(3X)RELATED INFORMATION XltHost(3X). XltHostSendData(3X).
XltHostSendString(3X)
Check Out this Related Man Page
net_adm(3erl) Erlang Module Definition net_adm(3erl)NAME
net_adm - Various Erlang Net Administration Routines
DESCRIPTION
This module contains various network utility functions.
EXPORTS
dns_hostname(Host) -> {ok, Name} | {error, Host}
Types Host = atom() | string()
Name = string()
Returns the official name of Host , or {error, Host} if no such name is found. See also inet(3erl) .
host_file() -> Hosts | {error, Reason}
Types Hosts = [Host]
Host = atom()
Reason = term()
Reads the .hosts.erlang file, see the section Files below. Returns the hosts in this file as a list, or returns {error, Reason} if
the file could not be read. See file(3erl) for possible values of Reason .
localhost() -> Name
Types Name = string()
Returns the name of the local host. If Erlang was started with the -name command line flag, Name is the fully qualified name.
names() -> {ok, [{Name, Port}]} | {error, Reason}
names(Host) -> {ok, [{Name, Port}]} | {error, Reason}
Types Name = string()
Port = int()
Reason = address | term()
Similar to epmd -names , see epmd(1) . Host defaults to the local host. Returns the names and associated port numbers of the Erlang
nodes that epmd at the specified host has registered.
Returns {error, address} if epmd is not running. See inet(3erl) for other possible values of Reason .
(arne@dunn)1> net_adm:names().
{ok,[{"arne",40262}]}
ping(Node) -> pong | pang
Types Node = node()
Tries to set up a connection to Node . Returns pang if it fails, or pong if it is successful.
world() -> [node()]
world(Arg) -> [node()]
Types Arg = silent | verbose
This function calls names(Host) for all hosts which are specified in the Erlang host file .hosts.erlang , collects the replies and
then evaluates ping(Node) on all those nodes. Returns the list of all nodes that were, successfully pinged.
Arg defaults to silent . If Arg == verbose , the function writes information about which nodes it is pinging to stdout.
This function can be useful when a node is started, and the names of the other nodes in the network are not initially known.
Failure: {error, Reason} if host_file() returns {error, Reason} .
world_list(Hosts) -> [node()]
world_list(Hosts, Arg) -> [node()]
Types Hosts = [Host]
Host = atom()
Arg = silent | verbose
As world/0,1 , but the hosts are given as argument instead of being read from .hosts.erlang .
FILES
The .hosts.erlang file consists of a number of host names written as Erlang terms. It is looked for in the current work directory, the
user's home directory, and $OTP_ROOT (the root directory of Erlang/OTP), in that order.
The format of the .hosts.erlang file must be one host name per line. The host names must be within quotes as shown in the following exam-
ple:
^ (new line)
Ericsson AB kernel 2.14.3 net_adm(3erl)
I need to use bash to convert sentences where all words start with a small letter into one where all words start with a capital letter.
So that a string like:
are utilities ready for hurricane sandy
becomes:
Are Utilities Ready For Hurricane Sandy (10 Replies)
Hi
I am new to this forum.
Any please help me to capture ctrl x and ctrl y via a bash script.
and please tell me how to clear the prompt via bash script
BR
Ramukumar M (4 Replies)
I have an Oracle Linux 7.1 vsphere host built. It's be preconfigured with our security configurations.
What I would like to do is unconfigure this host. Then set the host to do firstboot --reconfigure.
how do I do that using /etc/sysconfig/firstboot?
I've tried setting
... (10 Replies)
i know from the command line, the symbol $_ is used to get the last command that was run.
however, id like to replicate this within a script.
meaning, how do i do something like this:
#!/bin/sh
ps -ef | egrep talling
StoreThisLastCommandA=$_
awk '/error/ {print $3}' /tmp/test... (5 Replies)
hi folks,
how to using tar with exclude directory and compress it using tar.Z
i only know how to exclude dir only with this command below:
tar -cvf /varios/restore/test.tar -X excludefile.txt /jfma/test1/
how to compress it using 1 command?
Thanx
Please use CODE tags as... (6 Replies)
Quite an obscure question I think.
We have a rebuild process for remote sites that allows us to PXE rebuild a till (actually a PC with a touch screen and various fancy bits) running CentOS. The current CentOS5 tills work just fine with a tar image restore and some personalisation. Sadly,... (4 Replies)
Hello All,
I had recently learnt a bit of Docker(which provides containerization process).
Here are some of my learning points from it.
Let us start first with very basic question:
What is Docker:
Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
Hi Folks,
I feel that I should be posting this in the Unix for Dummies Forum and will probably wish I'd created an account and done just that - but here goes anyway.
I have two identical servers both Dell R430's both running RedHat Enterprise Server 7.4 and the same kernel, both have the same... (16 Replies)
Hi,
What is installation package and how to create it?
When we run:
in AIX:
installp package1
or
in Linux
rpm -ivh mypackage
What is package1 or mypackage in the abov examples and how to create them and deploy them?
I hope my question is clear enough.
Thank you (2 Replies)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
After the success of the jq - tool for parsing and manipulating JSON-Data someone wrote a tool called yq, which aims to be the same for YAML, what jq is for JSON. Seems to work fine. I'll definitely give it a chance in future.
Example YAML-File:
--- !ruby/object:Puppet::Node::Facts
... (1 Reply)