10-31-2012
The problems as of right now that I am having difficulty with are:
1. finding the first process and the date it started( i know it has to do with init but i can't find out how to find a command that only prints the name of the process and another command that prints out the date)
2. Using a command that shows only the MAC address as the output
3. Using a command that shows the default route of the server I am on
4. Using a command that finds the number of LAN connections on the server
5. And a command showing the IP/MAC mappings of each of the LAN connected computers
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How would one find and list all links in a file system? My situation is
that I built several servers for disaster recovery, mirror images of
several servers in our main location. Instead of doing a "ls -l" on every
file system down the /usr structor to verify that I have all the necessary
links... (3 Replies)
Discussion started by: ruger14
3 Replies
2. Shell Programming and Scripting
hi
i m new to this forum as well as UNIX. I've got an assignment but i don't know how can I start it.
can anyone please help to tell me how can I start it?
I added here few lines from my assignment.
In industry, it is common for a single organisation to provide technical support for a... (0 Replies)
Discussion started by: moco
0 Replies
3. AIX
Hi,
Just wondered what command you would use to list all the files on Aix by filesize?
I've tried a few but none of which seem to do the trick!
Currently running du -m -a . | sort -rn | more as root
Thanks,
Matt. (1 Reply)
Discussion started by: elmesy
1 Replies
4. Shell Programming and Scripting
Hi, I am trying to access and read certain lines from a configuration XML file on multiple servers (within the LAN). Fortunately the file name and path is always the same for all servers. An example extract of the file is as follows:
<DUMMY-SMSC>false</DUMMY-SMSC> ... (2 Replies)
Discussion started by: jaz8212
2 Replies
5. Infrastructure Monitoring
I am trying to locate the proper MIB and OID location, to determine if the system attention light is on IBM-702x servers running 5.x.
Currently, we get this on our Blade Centers Management Modules at location: 1.3.6.1.4.1.2.3.51.2.2.8.2.1.1.7.xx were xx is the actual Blade number. A value of 1... (0 Replies)
Discussion started by: stamfdf
0 Replies
6. Shell Programming and Scripting
Hi,
When i use the system( ) function inside a awk, i am getting the ouput with a 0 appended in a new line.
Can someone guide me to eliminate the extra line containing 0.
Ex :
awk -F"|" '{print system("convert.sh" $1}'
The output is displayed with 0 in a new line.
... (8 Replies)
Discussion started by: muruganksk
8 Replies
7. Solaris
Hello Friends,
I need to change network filesystem status as online but it always seems in maintenance mode, I appreciate your any suggestion to change its state as online.
shell>svcadm enable svc:/system/filesystem/local
shell>svcs -l svc:/system/filesystem/local
fmri ... (4 Replies)
Discussion started by: EAGL€
4 Replies
8. Shell Programming and Scripting
HI
I want to get an e-mail @ my yahoo address when the file system used space gets more than 89% ,
& the message contents must be the outputs of
df -g
errpt
netstat -i
??????? (3 Replies)
Discussion started by: majd_ece
3 Replies
9. What is on Your Mind?
Dear All,
Here is the current status of the badging system:
The Beta 1 phase of the new badging system is close to completion.
42 prototype badges have been "allocated"
6 prototype badge slots are held in reserve
The "alert you have new badges" prototype is running and is currently... (4 Replies)
Discussion started by: Neo
4 Replies
learp(8) System Manager's Manual learp(8)
NAME
learp - Displays the contents of a LAN-Emulation Address Resolution Protocol (LE-ARP) table
SYNOPSIS
/usr/sbin/learp [-u unit_number] -a
OPTIONS
Specifies a LE-ARP cache. The unit number is the same as is displayed by the netstat -i command. For example: elan0 is unit 0, elan1 is
unit 1, and so on.
If the -u option is not specified, the default unit number is 0. Displays all entries in the LAN-Emulation Address Resolution Pro-
tocol (LE-ARP) table.
DESCRIPTION
Each LAN-Emulation Client interface (displayed as elann in netstat output) has an Address Resolution Protocol (LE-ARP) table that contains
mappings of 6-byte medium access control (MAC) addresses to 20-byte Asynchronous Transfer Mode (ATM) addresses. The learp command displays
the contents of the LE-ARP table.
Each LE-ARP table entry contains the following information: Each MAC address that has been or is being contacted through the ATM-emulated
LAN. One of the following state values: AP -- LE-ARP is pending. The ATM address associated with the MAC address is not known. DE --
Delete of the LE-ARP cache entry is pending. When there are no more VCs for a LE-ARP entry, it is marked for deletion. After there is no
activity for 5 minutes (age periond), the entry is removed for the cache. FD -- Forward Direct. Packets flowing to the destination are
using the data-direct VC. FL -- Flush is pending. A new VC has been established with the remote node and the broadcast channel is being
flushed so packets flowing on the new VC will not arrive out of order. VP -- Virtual Channel (VC) setup is pending. The ATM address is
known, but no VC is established with the remote node. If known, the 20-byte ATM address associated with the MAC address. One of the fol-
lowing flags: R -- Remote entry. The MAC address is on a legacy (that is, Ethernet) network on the back side of an ATM edge device. P --
Permanent entry. The LE-ARP entry is permanent. If known, this is the Virtual Path Identifier (VPI) and the Virtual Channel Identifier
(VCI) of the data-direct VC used by packets destined to the MAC address. Many MAC addresses may use the same VC.
EXAMPLES
The following example shows the output of a learp -a command in which the LE-ARP cache contains five entries: # learp -a le-arp cache con-
tains 5 entries.
MAC Address State ATM Address Flags VPI/VCI 08-00-2b-01-01-01 (AP) pending 08-00-2b-01-01-02 (VP)
39000000000000000000000000.08002b010102.00 pending 08-00-2b-01-02-02 (FL) 39000000000000000000000000.08002b010203.00 R 0/65
08-00-2b-01-02-03 (FD) 39000000000000000000000000.08002b010203.00 0/65
SEE ALSO
Commands: atmconfig(8), atmelan(8), atmsig(8)
learp(8)