generalized linux procfs support