There is no perl built-in function that does that. There might be an extension module that does, you can search CPAN for CPU and see what you find or manually process the proc file. -------------------------------------------------