Jump to content

Automatically Killing the Idle Processes


pjoshi

Recommended Posts

I haven't got time to write the script for you but can hopefully get you started.

 

grep is a pattern matching program.

ps is used to find information on currently running processes.

 

You likely also need awk, which helps format strings 9amongst other things).

 

Commands can be simply piped together in Linux (output of one command into the input of the next), this is how more complex commands are built.

 

Actually, thinking about this, it might actually be easier to search through all users looking at there processes in turn. Brb.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.