November 2008
Intermediate to advanced
208 pages
4h 32m
English
Applications are wonderful additions to operating systems. But occasionally they get stuck and begin to cause a self-inflicted Denial of Service attack on your system. Some processes are very stubborn and take extra effort to completely kill. This wicked little script will intuitively identify the stuck processes and automatically terminate them. How's that for avoiding additional manual work?
#!/usr/bin/rubymax_time = 300
ps_list = `ps h -eo cputime, pcpu, pid, user, cmd` list ...
Read now
Unlock full access