ndd cmd

download ndd cmd

If you can't read please download the document

Transcript of ndd cmd

ramxtxus211 # ndd /dev/bnx1 link_status 1 ramxtxus211 # ndd /dev/bnx1 link_speed 100 ramxtxus211 # /usr/openv/netbackup/bpclntcmd /usr/openv/netbackup/bpclntcmd: not found ramxtxus211 # cd /usr/openv/netbackup/ ramxtxus211 # ls-l ls-l: not found ramxtxus211 # ls -l total 16 drwxr-xr-x 2 root bin 512 May -rw-r--r-- 1 root root 730 May drwxr-xr-x 3 root root 512 May drwxr-xr-x 2 root bin 512 May -rw-r--r-- 1 root root 30 May drwxr-xr-x 3 root root 512 May drwxr-xr-x 3 root bin 512 May drwxr-xr-x 3 root bin 512 May ramxtxus211 # ls -lart total 20 drwxr-xr-x 11 root bin 512 Sep drwxr-xr-x 2 root bin 512 May drwxr-xr-x 3 root bin 512 May drwxr-xr-x 3 root bin 512 May drwxr-xr-x 3 root root 512 May drwxr-xr-x 2 root bin 512 May -rw-r--r-- 1 root root 730 May drwxr-xr-x 3 root root 512 May -rw-r--r-- 1 root root 30 May drwxr-xr-x 8 root bin 512 Nov ramxtxus211 # pwd /usr/openv/netbackup ramxtxus211 # netstat -rn -pn

29 30 29 29 13 31 29 29 14 29 29 29 29 29 30 31 13 12

2007 2007 2007 2007 2008 2007 2007 2007 2005 2007 2007 2007 2007 2007 2007 2007 2008 2008

bin bp.conf client dbext exclude_list hardlink_info help logs .. dbext help logs client bin bp.conf hardlink_info exclude_list .

Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- --------default 149.186.237.1 UG 1 18041 149.186.237.0 149.186.237.91 U 1 1274 bnx0 172.27.29.40 172.27.152.1 UGH 1 36 172.27.31.0 172.27.153.1 UG 1 0 172.27.152.0 172.27.152.16 U 1 342 bnx1 224.0.0.0 149.186.237.91 U 1 0 bnx0 127.0.0.1 127.0.0.1 UH 19 332089 lo0 ramxtxus211 # netstat grep 13782 ramxtxus211 # netstat -an grep 13782 *.13782 *.* 0 0 49152 0 LISTEN 172.27.152.16.13782 172.27.152.11.1019 49640 0 49640 0 ESTABLISHED ramxtxus211 # ipconfig -a ipconfig: not found ramxtxus211 # ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 bnx0: flags=1000843 mtu 1500 index 2 inet 149.186.237.91 netmask ffffff00 broadcast 149.186.237.255 ether 0:1a:4b:be:3b:58 bnx1: flags=1000843 mtu 1500 index 3

inet 172.27.152.16 netmask fffffe00 broadcast 172.27.153.255 ether 0:1a:4b:be:3b:5a ================================================================================ ========= # ndd -get /dev/fjgi link_status 1 # ndd -get /dev/fjgi link_mode 1 # ndd -get /dev/fjgi link_speed 1000 # hostname ramxtxus257 # /usr/openv/netbackup/bpclntcmd -pn bash: /usr/openv/netbackup/bpclntcmd: No such file or directory # cd /usr/openv/netbackup/ # ls -lart total 28 -rw-r--r-- 1 root bin 2900 Jan 23 2008 nblog.conf.template drwxr-xr-x 3 root bin 512 Apr 18 2008 logs drwxr-xr-x 3 root bin 512 Apr 18 2008 help drwxr-xr-x 2 root bin 512 Apr 18 2008 dbext -rw-r--r-- 1 root bin 2863 Apr 18 2008 nblog.conf drwxr-xr-x 5 root bin 1024 Apr 18 2008 bin drwxr-xr-x 13 root bin 512 Apr 18 2008 .. -rw-r--r-- 1 root root 730 Apr 21 2008 bp.conf drwxr-xr-x 3 root root 512 Apr 21 2008 hardlink_info drwxr-xr-x 7 root bin 512 Apr 21 2008 . # netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- --------default 149.186.233.1 UG 1 104 149.186.233.0 149.186.233.156 U 1 12 fjgi0 172.27.29.40 172.27.144.1 UGH 1 62 172.27.144.0 172.27.144.79 U 1 105 fjgi1 224.0.0.0 149.186.233.156 U 1 0 fjgi0 127.0.0.1 127.0.0.1 UH 31 6129498 lo0 # netstat -an grep 13782 *.13782 *.* 0 0 49152 0 LISTEN # ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 fjgi0: flags=1000843 mtu 1500 index 2 inet 149.186.233.156 netmask ffffff00 broadcast 149.186.233.255 groupname production ether 0:e0:0:c5:6d:da fjgi1: flags=1000843 mtu 1500 index 3 inet 172.27.144.79 netmask fffffe00 broadcast 172.27.145.255 ether 0:b:5d:af:ed:35 fjgi2: flags=1000843 mtu 1500 index 4 inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255 groupname production ether 0:b:5d:af:ed:42