摘要:
use arcd srcar -cvq libprotobuf.a *.o 阅读全文
posted @ 2014-05-27 18:05
Daniel King
阅读(444)
评论(0)
推荐(0)
摘要:
get current thread count grep -s '^Threads' /proc/[0-9]*/status | awk '{ sum += $2; } END { print sum; }'get the system thread limitcat /proc/sys/kernel/threads-max 阅读全文
posted @ 2014-05-27 15:02
Daniel King
阅读(326)
评论(0)
推荐(0)
摘要:
1. remove temporary files, only used for test purpose. ls | sed -e "/^term.sh$/d" | sed -e "/^test.cpp$/d" | sed -e "/^Makefile.am$/d" | sed -e "/^aut... 阅读全文
posted @ 2014-05-27 11:34
Daniel King
阅读(208)
评论(0)
推荐(0)
摘要:
if we want to filter with sed pattern and just print the filtered lines without any further editing , we can do it like thisls -a1 ~ | sed -ne "/^\./p... 阅读全文
posted @ 2014-05-27 10:31
Daniel King
阅读(268)
评论(0)
推荐(0)

浙公网安备 33010602011771号