Results 1 to 6 of 6
  1. #1

    Linux Processes Administration System

    Hi

    I'm wondering what language (perl/php??) should i be picking up if i want to develop a simple linux web admin system to manage the processes?

    Thanks!

  2. #2
    Join Date
    Dec 2004
    Location
    New York City, NY, USA
    Posts
    735
    What exactly do you want your web interface to do? "Manage processes" is a bit unclear...

  3. #3
    Join Date
    Oct 2001
    Location
    Mountain Home Arkansas
    Posts
    131
    Hi dEEM,

    Are you looking at 'picking up' coding, as in starting to learn?

    As far as the Perl vs PHP decision, I prefer PHP, but it is mostly a matter of personal preference.

    Here is a pretty good thread about the differences
    http://www.webhostingtalk.com/showth...ht=php+perl+vs

    You might also want to look into BASH scripting.


    Although, I must say, if your just getting into it, I'd be careful about starting with a web based script to manage server processes, you could easily create some scary secuirty vulnerbilities.

    Check out: http://www.webmin.com/
    rocket science is more fun when you accually have rockets!

  4. #4
    Hi

    I would like to know what is going on underneath the system while i'm outside. (A good chance for me to learn somethign) Wouldn't want to risk keying in passwords on public systems.


    Bash and PHP would be what i'm going for,

    Thanks for your replies

  5. #5
    Join Date
    Oct 2001
    Location
    Mountain Home Arkansas
    Posts
    131
    try this dEEM

    <?
    echo `ps -aux`;
    ?>

    those are tilda's
    and it will require safe_mode off

    rocket science is more fun when you accually have rockets!

  6. #6
    Join Date
    Dec 2004
    Location
    New York City, NY, USA
    Posts
    735
    The point of a program that does what you want (at least from what you've told us, dEEM) seems sort of pointless to me...

    But regardless, you probably want to just parse the output of the "ps" command like PlanetWebHost. I guess if you *really* wanted to learn something you could rewrite ps in PHP or Perl, reading all the process information via system APIs (most of which aren't available to PHP) and the /proc filesystem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •