Re:Ask HN: What programming language do you use for system a...
by digamber_kamat on Friday February 25, 2011 @04:47AM
(#2261677)
For my sysadmin work involves
1. Backups
2. Installation
3. Performance monitoring
4. Configuration management
And the only thing I use for this is Shell scripts. In fact I am not sure if there is any other option. But then I am not a system administrator, its my part time duty.
Re:Ask HN: What programming language do you use for system a...
by wladimir on Friday February 25, 2011 @10:36AM
(#2262465)
Only Python, these days.
In very rare cases (when it's simply a sequential list of commands) I still use shell scripts, but I try to replace them with Python programs as soon as any logic, text/data processing or sane error handling is needed.
Re:Ask HN: What programming language do you use for system a...
by runjake on Friday February 25, 2011 @02:28PM
(#2263449)
Shell & Perl, in that order. I'd like to use Python & Ruby, I've just been through the motions with Perl so many times over the years, I end up using it. Unless it requires a CPAN download, then Python/Ruby.
Those are everywhere by default.
And the only thing I use for this is Shell scripts. In fact I am not sure if there is any other option. But then I am not a system administrator, its my part time duty.
In very rare cases (when it's simply a sequential list of commands) I still use shell scripts, but I try to replace them with Python programs as soon as any logic, text/data processing or sane error handling is needed.
Cron jobs & similar are usually shell, various helper scripts are perl, and my deployment system is written in python.
puppet for infrastructure configuration
bash, ruby and/or capistrano for deployments