08-25-2008
hey ,
I know about those commands.
In fact am implementing all these in a slightly different way
The point am trying to make here is.
how do i get the dladm commands to work remotely?
If suppose i know the IP of some machine, how do i hook onto it and use the dladm cmds to extract these details!
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
a simple question,
how can i use cut (after using grep) to extract the last four digits on a line.
so say i had a string http://blabla:9020, how would I extract the port??
-Fez (4 Replies)
Discussion started by: hafhaq
4 Replies
2. AIX
hi guys i need to extract information from log files generated by an application.
log file has the following lines for each process..
----------------------------------------------
Fri Aug 03 12:06:43 WST 2007 INFO: Running project PROJECT1
Fri Aug 03 12:06:43 WST 2007 INFO: Source Files... (7 Replies)
Discussion started by: kirantalla
7 Replies
3. AIX
Anyone have a better idea to automate extraction of info like ...
"uname"
"ifconfig"
"ps efl"
"netstat -ao"
etc.
from several hundred aix, solaris, red hat boxes? without logging into each box and manually performing these tasks and dumping them to individual files?
thanks for any input (1 Reply)
Discussion started by: chm0dvii
1 Replies
4. Shell Programming and Scripting
I have some input file, which contains some lines which are comma separated. Eg.
a,b,id=999],d
d,f,g,id=345],x
x,y,x,s,id=677],y
I run a loop to read the lines one by one. What i want is to extract the value on the right of id=. I cannot do it by Awk, since the column number is not fixed.... (5 Replies)
Discussion started by: indianjassi
5 Replies
5. Shell Programming and Scripting
Dear all
I have a file call interfaces.txt
Filename: interfaces.txt
How can I extract the information at below?
ABC_DB_001 hostname1 20901
ABC_DB_002 hostname2 20903
ABC_DB_003 hostname3 20905
Currently I am using a very stupid method
grep ^ABC interfaces.txt > name.txt
grep... (3 Replies)
Discussion started by: on9west
3 Replies
6. IP Networking
Hi,
What is the best reference that gives in detail on nic cards configuration , assigning multiple ip addresses to a single interface, netlink library etc and all basic stuff at this level..?
Thanks (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies
7. Shell Programming and Scripting
Hi guys, new to this forum. I am currently trying to extract the times from pinging a domain and list the top 3 and then also do the opposite i.e. list the bottom 3.
so if I had this as a ping result (the bold part is what I want):
64 bytes from 193.120.166.90: icmp_seq=10 ttl=128 time=34.8... (5 Replies)
Discussion started by: acoding
5 Replies
8. Shell Programming and Scripting
Hello,
I have two files which look like this
File 1
Name test1 status P
Gene1 0.00236753 1 1.00E-01
Gene2 0.134187 2 2.00E-01
Gene3 0.000608716 2 3.00E-01
Gene4 0.0016234 1 4.00E-01
Gene5 0.000665868 2 5.00E-01and file 2
No Pos ... (2 Replies)
Discussion started by: nans
2 Replies
9. Shell Programming and Scripting
Hi
I have an output of sarcommand which is as follows:
10:22:18 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
10:23:18 0 398 100 5 13 64 0 0
10:24:18 0 332 100 5 15 65 0 0
10:25:18 0 ... (7 Replies)
Discussion started by: fretagi
7 Replies
10. Shell Programming and Scripting
Hi
I use multipath linux command to get LUNs info and find out if any failed.
# multipath -ll >/tmp/mpfail
# cat /tmp/mpfail
multipath.conf line 109, invalid keyword: user_friendly_names
multipath.conf line 153, invalid keyword: user_friendly_names
multipath.conf line 193, invalid... (4 Replies)
Discussion started by: prvnrk
4 Replies
LEARN ABOUT OPENSOLARIS
xge
xge(7D) Devices xge(7D)
NAME
xge - Neterion Xframe 10Gigabit Ethernet Network Adapter driver
SYNOPSIS
/dev/xge
DESCRIPTION
The xge 10 Gigabit Ethernet driver is a multi-threaded, loadable, clonable, GLD-based STREAMS driver supporting the Data Link Provider
Interface, dlpi(7P), on S2IO Xframe 10-Gigabit Ethernet Network Adapter.
The xge driver functions includes controller initialization, frame transmit and receive, promiscuous and multicast support, TCP and UDP
checksum offload (IPv4 and IPv6), 9622-byte jumbo frame, and error recovery and reporting.
The xge driver and hardware support the 10GBase-SR/W, LR/W, and ER/W 802.3 physical layer.
APPLICATION PROGRAMMING INTERFACE
The cloning, character-special device /dev/xge is used to access all Xframe devices installed within the system.
The xge driver is managed by the dladm(1M) command line utility, which allows VLANs to be defined on top of xge instances and for xge
instances to be aggregated. See dladm(1M) for more details.
The values returned by the driver in the DL_INFO_ACK primitive in response to the DL_INFO_REQ are as follows:
o Maximum SDU is 9600.
o Minimum SDU is 0.
o DSLAP address length is 8 bytes.
o MAC type is DL_ETHER.
o SAP length value is -2 meaning the physical address component is followed immediately by a 2-byte sap component within the
DLSAP address.
o Broadcast address value is Ethernet/IEEE broadcast address (FF:FF:FF:FF:FF:FF).
CONFIGURATION
By default, the xge driver works without any configuration file.
You can check the running-time status of a device instance using ndd(1M). Currently, the driver provides an interface to print all hard-
ware statistics.
For example, to print statistics of device xge0:
#ndd /dev/xge0 stats
tmac_data_octets 772
tmac_frms 15
tmac_drop_frms 0
tmac_bcst_frms 6
tmac_mcst_frms 6
...
rmac_vld_frms 13
rmac_fcs_err_frms 0
rmac_drop_frms 0
rmac_vld_bcst_frms 7
rmac_vld_mcst_frms 11
rmac_out_rng_len_err_frms 0
rmac_in_rng_len_err_frms 0
rmac_long_frms 0
...
not_traffic_intr_cnt 242673
traffic_intr_cnt 28
...
FILES
/dev/xge xge special character device
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------------------------------------+
|ATTRIBUTE TYPE ATTRIBUTE VALUE |
|Architecture x86 |
+-----------------------------------------------------------+
SEE ALSO
dladm(1M), ndd(1M), attributes(5), streamio(7I), dlpi(7P)
Writing Device Drivers
STREAMS Programming Guide
Network Interfaces Programmer's Guide
SunOS 5.11 3 Oct 2005 xge(7D)