From the course: Ubuntu Linux: User and Group Management

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure and monitor user resources

Configure and monitor user resources

From the course: Ubuntu Linux: User and Group Management

Start my 1-month free trial

Configure and monitor user resources

- [Instructor] A system has limited resources and the more users you have, the greater the chances that they'll be competing for those resources. But luckily, we can monitor and manage how many resources an individual user is consuming. First, let's take a look at seeing how to determine what resources are being used by individual people. I'll switch over to one of my users here, and I'll start up a CPU-intensive process using the yes command, which types the letter Y and Enter as quickly as it can, redirected to dev/null and I'll send it to the background. And then I'll go back to my other user here with exit. We can use the top command to see what's going on with the system. And up here at the top, consuming the majority of the CPU resources is the command that that user started. I'll press Q to quit top. I can use top with -u and a username to see only information about that user's processes, which is helpful to keep an eye on one user's activity without having to dig through all…

Contents