How Can Perl Be Useful in System Administration and Application Development on UNIX
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254
Rep:
How Can Perl Be Useful in System Administration and Application Development on UNIX
Hi,
It is just a general discussion on "How Can Perl Be Useful in System Administration and Application Development on UNIX and Linux Platforms"? I am doing pretty much well with Bash and PHP. In fact, I am learning and experimenting in depth in those two domains. The project that I am working for these days has several scripts which are written in Perl and Ksh. They interact with Ab Initio graphs and perform extensive jobs. Anyways, my current role doesn't require me to have knowledge of Perl but I don't see any harm in learning something new.
So, before I take it, I want to know how Perl can help me and what I can do with it as a UNIX / Linux System Administrator and Application Developer?
I just looked at some of its keywords, functions, and commands. Perl Variables are identical to those of PHP. Conditional Statements, Loops, etc. are also much the same as found in any other computer languages.
So, at first glance, I have got this feel that it wouldn't be much difficult for me to learn it.
But what do you say? Do I really need Perl when I am focusing on PHP and Bash?
I do not program with Perl, but I often support repairing the back end engine that support Perl code. If you can achieve your goals through PHP they you are fine. If you get stuck to where you have to use unsafe file or folder permissions for PHP to work, then you may want to look at calling Perl scripts from PHP.
The project that I am working for these days has several scripts which are written in Perl and Ksh. They interact with Ab Initio graphs and perform extensive jobs. Anyways, my current role doesn't require me to have knowledge of Perl but I don't see any harm in learning something new.
You don't know that in future you won't be taking over these projects. So there's no harm learning Perl now. Yes, Perl can help a lot in system administration, much the same as does PHP, Python, Ruby (common ones). Besides, learning new languages only serves to beef up your resume and does you no harm.
Quote:
But what do you say? Do I really need Perl when I am focusing on PHP and Bash?
If you are sure you will be focusing on PHP /bash, then no. But if you considered that you may need to take over those Perl projects you mentioned, then yes.
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254
Original Poster
Rep:
Quote:
Originally Posted by ghostdog74
You don't know that in future you won't be taking over these projects. So there's no harm learning Perl now.
I think you are right. There seems to be a great demand for Perl professionals. Whenever I am searching for a UNIX Job, I get to see "Knowledge of Perl or Python will be a plus".
Besides, I love scripting and coding. If I face any problem... I know you people are here to help me!
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254
Original Poster
Rep:
System Monitoring Tool (Web Interface) using PHP or Perl
Quote:
Originally Posted by AlucardZero
No, not if PHP is working for you.
Can we develop a System Monitoring Tool (Web Interface) using PHP or Perl? I mean a monitoring tool like Nagios. I am curious to develop such a tool that can display alerts / status when:
CPU Utilization Exceeds a Set Threshold Value
RAM Utilization Exceeds a Set Threshold Value
Disk Space for a Given Mount-Point / Partition Exceeds a Set Threshold Value
Certain Services, Applications, Clients or Workstations, and Servers are unavailable or have gone down
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254
Original Poster
Rep:
Can we develop a System Monitoring Tool (Web Interface) using PHP or Perl? I mean a monitoring tool like Nagios. I am curious to develop such a tool that can display alerts / status when:
CPU Utilization Exceeds a Set Threshold Value
RAM Utilization Exceeds a Set Threshold Value
Disk Space for a Given Mount-Point / Partition Exceeds a Set Threshold Value
Certain Services, Applications, Clients or Workstations, and Servers are unavailable or have gone down
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.