08-22-2002
`ifconfig` will give you any details you want (`ifconfig -a`)... or you might be able to grab it from your /etc/hosts file...
grep `hostname` /etc/hosts |awk '{print $1}'
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I recently encountered this on the AIX system
df command showed usage is 100% i.e 1.5 GB while du command showed usage is only 500MB
Why are the 2 commands showing different output
This command shows usage is 1.5 GB
nlxdsm29:deqadm 24> df -k .
/usr/sap/DEQ ... (3 Replies)
Discussion started by: ameya_joshi
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I'm running the ls command on an HP-UX 11i platform and am getting skewed listings. In other words, I see 3 columns of perfectly aligned file names, except 1 file is shifted by 2 or 3 bytes. The file to the immediate left of it seems to be causing the problem, for when I do an ls on... (1 Reply)
Discussion started by: bsp18974
1 Replies
3. UNIX and Linux Applications
Hi all,
I'm very new to unix, I'm developing an application in Java, part of which requires me to check if a certain application is still running. In windows, I just use tasklist - if the application has been shut down it won't appear in the task list. I've been trying to use the ps command to... (0 Replies)
Discussion started by: ekatmcg
0 Replies
4. Solaris
Hello folks,
uptime command not shows how long the system has been up.
I know it come from a corruption of /var/adm/utmpx file.
I've done :
cat /dev/null > /var/adm/utmpx
Now who and last commands work fine. But uptime still give me back an answer without the "up time".
In which... (6 Replies)
Discussion started by: gogol_bordello
6 Replies
5. Shell Programming and Scripting
Hi,
I have an command which find the files modified within last 8 days and then after selecting the files from the location it make the tar format and send it to the specified destination ...now I want that this task to be automative ..that is it should happen after every 5 minutes ...for that... (3 Replies)
Discussion started by: NARESH SAXENA
3 Replies
6. Shell Programming and Scripting
Hi All
I am trying to run a script in linux wherein i have a command like this
grep ^prmAttunityUser= djpHewr2XFMAttunitySetup_ae1_tmp
djpHewr2XFMAttunitySetup_ae1_tmp is a temporary file in which the user value is stored but this command in the script returns me balnk value whereas it has a... (4 Replies)
Discussion started by: vee_789
4 Replies
7. Solaris
Hello,
running into a bind when im inputting the following command:
bash-3.00$ ps -p 874 -L -o pid,psr,pcpu
PID PSR %CPU
874 - 0.0
874 - 0.2
874 - 0.0
874 - 1.1
874 - 0.2
Now when i run it on my other SUN machine i get this:
bash-3.00$ ps -p 3874... (0 Replies)
Discussion started by: Nolph
0 Replies
8. Shell Programming and Scripting
I am using HP-UX,KSH
$ jobs -l
+ 19377 Running nohup ksh cat_Duplicate_Records_Removal.ksh </dev/null >/dev/null 2>&1 &
$ ps -p 19377 -fl
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
401 S catmgr 19377 19491 ... (1 Reply)
Discussion started by: TomG
1 Replies
9. Shell Programming and Scripting
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
401 S catmgr 5748 5742 0 154 20 e0000006d48cd080 133 e0000003fb6e7200 11:22:32 ? 0:00 /opt/ssh/libexec/sftp-server
3401 R catmgr 5742 5631 0 152 20 e0000005f974fa00 750 ... (4 Replies)
Discussion started by: TomG
4 Replies
10. UNIX for Dummies Questions & Answers
Hi Folks,
I have a situation here, where no command is giving any output, and it's not even showing any error message also.
What could be the reason? (3 Replies)
Discussion started by: nixhead
3 Replies
RARPD(8) System Manager's Manual RARPD(8)
NAME
rarpd - reverse address resolution protocol daemon
SYNOPSIS
rarpd [-d]
DESCRIPTION
Rarpd listens on the ethernet for broadcast packets asking for reverse address resolution. These packets are sent by hosts at boot time to
find out their IP address. Rarpd looks up the six octet ethernet number in the /etc/ethers file finding a host name. This name is trans-
lated to the IP address of the host by a DNS lookup. The IP address is then sent to the host.
Before rarpd can start its service it first finds out what the IP addresses of the ethernets are. It will look through /etc/ethers to map
the ethernet addresses to host names. It then uses /etc/hosts to map the host names to IP addresses. If this lookup fails then several
RARP requests are broadcasted in the hope that some RARP server knows the addresses. The IP addresses are eventually set in the same way
as ifconfig(8). (The address is not changed if already set with ifconfig.) Note that the host names in the ethers and hosts files must
match exactly. The DNS can not be used yet, so a simple name can't be translated to a fully qualified name.
Rarpd exits after startup if there are no active ethernets, or if there is no ethers file.
Warning! Sun diskless workstations assume that the first RARP server that answers is the host they are to boot from. For this to work all
other Sun RARP servers delay their answer if they are not also the requestors boot server. The Minix rarpd does not have this kludge so it
will happily engage the Sun boot server to see who can answer the client first. Unless your Minix host can actually serve a Sun diskless
client, it is better not to list any more hosts in the ethers file than necessary.
OPTIONS
-d Turns on debugging messages. Debugging can also be turned on at runtime by sending signal SIGUSR1 or turned off with SIGUSR2.
SEE ALSO
ifconfig(8), ethers(5), hosts(5), set_net_default(8), boot(8), inetd(8), irdpd(8), nonamed(8).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
RARPD(8)