Quote Originally Posted by archie42 View Post
having problems using the commands ps, cut, tr and kill, along with pipes, need a command that will find all sleep processes running on the system and kill them?
create, monitor, and kill processes: includes running jobs in the foregroundand background, bringing a job from the background to the foreground andvice versa, monitoring active processes, sending signals to processes, andkilling processes. Includes using commands ps, top, kill, bg, fg, and jobs. Report process status :: *ps you can view all the processes that linux is running using the ps command.the syntax for ps is shown below: ps option(s)some common ps options areptionexplanationeshows the environmentfformats the output as a tree, showing parent and childprocessesadisplays all processeslprovides more detail including nice valuesushows who each process belongs to x shows processes without an associated terminalnote that with ps the - is not needed before the option.an example of using ps is illustrated below:[clive@ext7144 /etc]$ ps aux ¦ less c.r.gouldsection a objective 5 page 2linux administration --------------------------------------------------------------------------------