LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 09-11-2010, 06:59 PM   #1
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Rep: Reputation: 18
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?
 
Old 09-11-2010, 07:04 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Do I really need Perl when I am focusing on PHP and Bash?
No, not if PHP is working for you.
 
Old 09-11-2010, 07:47 PM   #3
joec@home
Member
 
Registered: Sep 2009
Location: Galveston Tx
Posts: 291

Rep: Reputation: 70
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.
 
Old 09-11-2010, 08:09 PM   #4
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Hi_This_is_Dev View Post
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.
 
Old 09-12-2010, 12:06 PM   #5
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by ghostdog74 View Post
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!
 
Old 09-13-2010, 06:12 PM   #6
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
System Monitoring Tool (Web Interface) using PHP or Perl

Quote:
Originally Posted by AlucardZero View Post
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

Etc., etc.


Any ideas?
 
Old 09-13-2010, 06:16 PM   #7
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
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

Etc., etc.


Any ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script and Administration of a UNIX System Hi_This_is_Dev Programming 10 08-30-2010 03:24 AM
LXer: This week at LWN: Author interview: UNIX and Linux System Administration Handbook LXer Syndicated Linux News 0 07-25-2010 09:10 AM
UNIX and Linux System Administration Handbook, 4th edition available ...RSN rjcooks Linux - News 0 07-21-2010 01:12 AM
"Essential System Administration" or "UNIX System Administration Handbook"? TGWDNGHN Linux - Newbie 3 07-03-2005 08:27 PM
Is Python as capable as Perl for system administration? johnMG Programming 10 02-07-2005 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration