Use -b option to run top command through cron and extend script for snmp configuration, etc. Otherwise top will failed with "top: failed tty get" message.
top -b -n 1
Thursday, April 11, 2013
Subscribe to:
Post Comments (Atom)
Computers from Unix, Linux to Windows
2 comments:
Exactly what I was looking for.
I didn't read the man page enough
;o)
Thank you.
Jeff
Excelent!! This works for me. Tahks!
Post a Comment