예제 #1
0
파일: kernel.go 프로젝트: shenjh369/nux
func KernelMaxProc() (uint64, error) {
	return file.ToUint64("/proc/sys/kernel/pid_max")
}
예제 #2
0
파일: kernel.go 프로젝트: shenjh369/nux
func KernelMaxFiles() (uint64, error) {
	return file.ToUint64("/proc/sys/fs/file-max")
}