Linux Check How Many Threads Are Available