
d_joshi84
New User
Mar 27, 2011, 1:25 AM
Post #1 of 2
(6562 views)
|
findout unused servers
|
Can't Post
|
|
Hi All, we have more than 2000 servers in our company ... i want to write perl script which will login to server with kerberos ( that i can write ) and findout processes in system with ps -ef |grep -v "root|ntp|adm" and produce output in some file and where ever no processes found or nothing is running on server or utilization is < 10 % send me and user email ...... after that 1 cgi where use will justify what is use of this server and justfication is velidated by my manager using http ...... :) any help please ??
|