Sponsored Content
Full Discussion: Show all network info
Top Forums UNIX for Advanced & Expert Users Show all network info Post 302529169 by jlliagre on Wednesday 8th of June 2011 05:22:09 PM
Old 06-08-2011
You can add these to the list (assuming Solaris 10 for dladm):
Code:
cat /etc/nsswitch.conf
dladm show-dev
dladm show-link
ndd interface parameter

and on OpenSolaris based distributions / Solaris 11 Express and newer:
Code:
dladm show-phys 
dladm show-aggr
dladm show-bridge
dladm show-vlan
dladm show-wifi
dladm show-ether
dladm show-linkprop
dladm show-secobj
dladm show-vnic
dladm show-etherstub
dladm show-iptun
dladm show-part
dladm show-ib

ipadm show-if
ipadm show-ifprop
ipadm show-addr
ipadm show-addrprop
ipadm show-prop

 

10 More Discussions You Might Find Interesting

1. Solaris

show firmware of network card

hi, is there a command or way to see which firmware my network card(s) has? i could imaging that i would see it in the OBP (show-nets; cd /...@../...; .properties) but is there a way to see it in solaris? Solaris9 (09/05) on a V440 with GigaSwift Ethernet MMF (X4151A) adapters (using ce... (2 Replies)
Discussion started by: pressy
2 Replies

2. Solaris

Specifying network configuration info

Can someone please point me in the correct direction of where I configure the network information on SunOS 5.8 server? (Searching SunSolve and Google have resulted in thousands of fixes for potential errors, but I can't find the general instructions, etc. for starting the process). Thanks! (2 Replies)
Discussion started by: FredSmith
2 Replies

3. Linux

Get info on network interface

Hello everybody, How can link network interface to the output of lspci -vv. Basicly i need to know who is the manufacturer of a specific interface, for example eth0 {Is it an Intel, or Broadcome, or something else}. Is there a way to find that out? Thanx (5 Replies)
Discussion started by: aleksey
5 Replies

4. AIX

change network info

hi all, how do i change the routing info and make sure i will be able to connect remotely? any ideas please? thanks in advance. (1 Reply)
Discussion started by: itik
1 Replies

5. OS X (Apple)

Show operating system, current user & network

I have found an excellent OS X pref pane that allows you to output log files or terminal commands/scripts onto the desktop in the background. What I want to do is create a script that outputs the following... - Mac OS X Version and Build (As shown in the about this mac) - Current username -... (6 Replies)
Discussion started by: digitaljunkie
6 Replies

6. Shell Programming and Scripting

connecting to network, auto-entering info

Hey guys, I just started college a few days ago. To my dismay, my school has a very frustrating wireless network access system. Every time you want to use the network, you need to open up a browser and get re-directed to a login page. Every access, you need to reenter the same username and... (1 Reply)
Discussion started by: Chain Breaker
1 Replies

7. UNIX and Linux Applications

kde network info app

In gnome there was an indicator applet that displayed your ip address, subnet mask, gateway, and dns. Is there a similar applet in kde? (0 Replies)
Discussion started by: cokedude
0 Replies

8. Emergency UNIX and Linux Support

Samba server does not show up in Windows Network Places

Hi all, I have run into this problem while trying to setup a CentOS based NAS for a friend of mine. We are using CentOS 6. The share on server can be accessed by it's IP. I have setup netbios name for the server. But that does not help. We need it to show up on Windows Network Places... (3 Replies)
Discussion started by: admin_xor
3 Replies

9. UNIX for Dummies Questions & Answers

Need network info of servers

Hi, Need to Collect IP Details in the following format ServerName ; IPADDR1 ; NETMASK1 ; IPADDR2 ; NETMASK2 ; IPADDR3 ; NETMASK3 ; Could you please give me the suggesstions. Thanks (1 Reply)
Discussion started by: rajasekg
1 Replies

10. Shell Programming and Scripting

Read info from api website and show retrieved data

good evening, i'm still new in scripting but i'm learning every day and i'm enjoying it. so i have api website (htt p://api.nobelprize.org/v1/prize.json), i want to make a script that allows me to give it two arguments like ./test.sh 2005 physics, 2000 is for the year and physics is category... (1 Reply)
Discussion started by: kalbsghir
1 Replies
di_walk_minor(3DEVINFO) 			       Device Information Library Functions				   di_walk_minor(3DEVINFO)

NAME
di_walk_minor - traverse libdevinfo minor nodes SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ] #include <libdevinfo.h> int di_walk_minor(di_node_t root, const char *minor_nodetype, uint_t flag, void *arg, int (*minor_callback)(di_node_t node, di_minor_t minor, void *arg)); PARAMETERS
arg Pointer to caller- specific user data. flag Specify 0. Reserved for future use. minor The minor node visited. minor_nodetype A character string specifying the minor data type, which may be one of the types defined by the Solaris DDI framework, for example, DDI_NT_BLOCK. NULL matches all minor_node types. See ddi_create_minor_node(9F). node The device node with which to the minor node is associated. root Root of subtree to visit. DESCRIPTION
The di_walk_minor() function visits all minor nodes attached to device nodes in a subtree rooted at root. For each minor node that matches minor_nodetype, the caller-supplied function minor_callback() is invoked. The walk terminates immediately when minor_callback() returns DI_WALK_TERMINATE. RETURN VALUES
Upon successful completion, di_walk_minor() returns 0. Otherwise, -1 is returned and errno is set to indicate the error. The minor_callback() function returns one of the following: DI_WALK_CONTINUE Continue to visit subsequent minor data nodes. DI_WALK_TERMINATE Terminate the walk immediately. ERRORS
The di_walk_minor() function will fail if: EINVAL Invalid argument. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
dladm(1M), di_minor_nodetype(3DEVINFO), dlpi_walk(3DLPI), libdevinfo(3LIB), attributes(5), filesystem(5), ddi_create_minor_node(9F) Writing Device Drivers NOTES
The di_walk_minor() function is no longer an accurate method for walking network datalink interfaces on the system. Applications should use dlpi_walk(3DLPI) instead. It has been common for applications to use di_walk_minor() to walk networking devices by passing in a minor_node- type of DDI_NT_NET, in most cases to discover the set of DLPI devices on the system. Solaris now makes a layering distinction between net- working devices (the objects displayed in the DEVICE field by dladm show-phys) and network datalink interfaces (the objects displayed by dladm show-link). Datalink interfaces are represented as the set of DLPI device nodes that applications can open by using dlpi_open(3DLPI) or by opening DLPI nodes out of the /dev/net filesystem (see filesystem(5)). The dlpi_walk(3DLPI) function is the proper function to walk these nodes. SunOS 5.11 14 Jan 2009 di_walk_minor(3DEVINFO)
All times are GMT -4. The time now is 10:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy