Archive for the ‘system’ Category

Edit ld.config on solaris 10

Posted: 28th July 2010 by admin in system

Edit Default Library Path on solaris 10 type “crle” for list Default Library Path crle Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /usr/local/lib:/lib:/usr/lib Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib type “crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib” to change Default Library Path crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib

command count tcp state

Posted: 8th June 2009 by admin in network, system
Tags:

netstat -tan | grep ‘:80 ‘ | awk ‘{print $6}’ | sort | uniq -c