can someone please help me understand what is actually wrong here..
Code:
# dladm show-dev
bge0 link: up speed: 1000 Mbps duplex: full
bge1 link: unknown speed: 0 Mbps duplex: unknown
nxge0 link: up speed: 1000 Mbps duplex: full
nxge1 link: up speed: 1000 Mbps duplex: full
nxge2 link: up speed: 1000 Mbps duplex: full
nxge3 link: up speed: 1000 Mbps duplex: full
Code:
# ifconfig nxge3 192.168.50.1 netmask 255.255.255.0
ifconfig: SIOCGLIFNETMASK: nxge3: no such interface
dladm show-dev is showing physical LAN cards if am not wrong.. i cant even see any other interface apart from bge0 in my ifconfig -a output..
Code:
#ifconfig -a
lo0:flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet xx.xx.xx.xx netmask ffffff80 broadcast xx.xx.xx.xx
ether 0:21:28:6c:a1:ea
please help me understand whats wrong here
Last edited by DukeNuke2; 08-14-2011 at 03:03 AM..
Thanks Duke,
That worked, so that means unless the interface is plumbed it wont show up in ifconfig -a output...
Thanks Duke thanks a lot..
There is one more thing i want to ask
what is the difference between bge and nxge , is the names differ because they are from different manufacturers???am sorry if my doubt is silly as am just learning ..
The interface name is the driver name plus an index starting from 0. nxge is the name of the network interface embedded in the UltraSPARC T2 chip (Sun Neptune - Wikipedia, the free encyclopedia).
in my shell script requirement is to search and replace the file with variable so i use the following command sed -i "s/abc/$SCHEMA/g" table.sql
later when the script runs sqlplus username/pwd@Table& this & is not letting the variable to replace the value inside the file .please let me know... (1 Reply)
Hi experts,
In one of our code we have used some command like this.
name=${name##*/}
Can someone please let me know what exactly it does?
Thanks & Regards,
Sathya V. (1 Reply)
Hi,
I have a file with multiple entries and I have calculated the percentages. Now I want to know how many of my entries are there between 1-10% 11-20% and so on..
chr1_14401_14450 0.211954217888936
chr1_14451_14500 1.90758796100042
chr1_14501_14550 4.02713013988978... (1 Reply)
Hi ,
Struck with one basic question.
Iam expecting word count of 4 where "wc" is showing as 5 .
# echo "abcd" | wc
1 1 5
# echo abcd | wc
1 1 5 (5 Replies)
Hi,
Can i use the shell script like this? When i am running the script it is hanging not giving me any output. I can redirect the output and then i can do the manipulations also but why this one is wrong. I am confused we can do like this or not..
#!/usr/bin/ksh
for line in `top`
do... (2 Replies)