[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tips: ps, ifconfig, netstat, xset



 
    

1. different paraments between SVR4 and BSD of ps

	%ps -edf 	(SVR4)
	%ps -aux	(BSD)

2. ifconfig -a

[terrence@claret grif]$ ifconfig -a
lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
        inet 127.0.0.1 netmask ff000000 
hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet 137.111.6.248 netmask ffffff80 broadcast 137.111.6.255
hme0:1: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
        inet 137.111.6.192 netmask ffffff80 broadcast 137.111.6.255

3. netstat

[terrence@claret grif]$ netstat -i
Name  Mtu  Net/Dest      Address        Ipkts  Ierrs Opkts  Oerrs Collis Queue 
lo0   8232 loopback      localhost      13519031 0     13519031 0     0      0     
hme0  1500 claret.its.unimacq.edu.au claret.its.unimacq.edu.au 361338843 10618 504411738 0     186214027 0     
hme0:1 1500 sgml.its.unimacq.edu.au sgml.its.unimacq.edu.au 0      0     0      0     0      0     

4. xset

[terrence@claret grif]$ xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  auto repeating keys:  00feffffdffffbbf
                        fabfffffff098007
                        0000000000000000
                        0000000000000000
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x26    BlackPixel:  0    WhitePixel:  255
Font Path:
  C:/Program Files/StarNet/X-Win32 5.0/Lib/Fonts/misc,C:/Program Files/StarNet/X-Win32 5.0/Lib/Fonts/75dpi,C:/Program Files/StarNet/X-Win32 5.0/Lib/Fonts/OpenWindows,C:/Program Files/StarNet/X-Win32 5.0/Lib/Fonts/100dpi


Google