|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by sebastianrs in Linux Programming, Unix Systems Programming, Unix Networking
The idea is to write a script that will parse a number of servers from a CSV file and then log into each of these servers via SSH. The script is then supposed to find jobs that are older than Y days and begin with "x".
Up until now, we logged into each server and ran the command "ps aux | grep o2" to find jobs.
How would I go about writing this script? In the end, we want to either run this script manually or through cron later on.
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625