• Knowledge Base: Server Shell Tools.


    1. Server Monitoring tools
    2. Server shell based administration.
    3. Batch Domain Utility.

    1. Server Monitoring tools - Top

    You have available all the standard unix tools to monitor activity on your server. Each is available when you are logged in as root user.


    • ps aux - shows processes and resources per process
    • w - shows server load and whos logged in.
    • free - shows the amount of memory in use
    • df - shows amount of diskspace in use
    • top - shows memory, load, resources in use and updates every few seconds.

    Note: The top command is known for creating a load on the server itself so it should not be used often.




    - Updated: May 10, 2001

    2. Server shell based administration. - Top

    Use the following command when logged in as root user.

    client_tools than return

    Menu appears -


    ####################################################
    # M A I N M E N U #
    ####################################################

    1) Frontpage Utilities
    2) Domain repair and report
    3) Restart system services
    4) Install Scripts and Services

    5) Add/Modify/Delete Domain Users
    6) Add/Modify/Delete Domains
    7) Display ips available on server
    8) Add to relay-domains file
    9) MySQL Admin menu

    10) List Services and versions
    11) List Domain stats
    12) Check client directory structure disk usage
    13) Upgrade Menu Script/Services
    14) Security Menu

    Your choice?




    1) Frontpage Utilities - you can add/remove/repair frontpage extensions.

    2) Check domain - Checks all major domain directories and corrects any
    ownership and permission problems and reports whats been corrected.

    3) Restart system - Allows you to restart httpd, sendmail, web GUI, and
    Telnet/FTP.

    4) Install Scripts and Services


  • Install Mailreader - installs webbased email program
  • Install chat - installs basic chat if its included with your account and installs volano if you unlocked it at csesupport.com
  • Install phpMyAdmin - installs webbased mysql administration a popular free ware script


    7) Add/Modify/Delete Domain Users - pretty much as stated. This allows you
    to perform common domain user tasks from shell instead of the GUI.

    8) Add/Modify/Delete Domains - Again pretty much as listed.

    10) DNS/Bind - if you have DNS bind this will allow you to
    A) park a domain and make sendmail entries easily
    b) Make a domain entry in DNS
    c) Make a domain wild card entry in DNS.


    11) Domain Stats - this is basic information about a domain on your server. username, ip ect...


    12) Check directory structure - This will help you determince if theres any log or mail files using up large amounts of space on your server within each domains directory structure.

    13) Upgrade menu - This is to upgrade miva empressa and mive merchant on domain on your server.

    14) Security - allows you to install and maintain simple fire wall tools that will stop intruders from hacking your system.


    - Updated: September 1, 2001

    3. Batch Domain Utility. - Top

    We have created a function which allows you to do multiple domain setups from a text based file on your server. This is extremely helpful in automating reseller and new account setups.

    Usage:

    client_tools -batch than return


    This will allow you to setup domains from a text file.
    this is a great tool to easily setup many domains.


    INSTRUCTIONS:

    1) Create a file at /home/admin/batchdoms
    2) One entry per line in the following format:

    Domain|username|email|password|quota|IP|maxusers|frontpage

    3) Frontpage extensions settings:

      a) 1 for yes
      b) 0 for no

    4) A improper domain or IP entry will cause a domain to fail
    5) Error logs are located at /home/admin/error_log
    6) A error in any other field results in a default setting being used.
    7) The batchdoms file will be deleted after processing

    This can also be run on cron if you should create a custom front end to write your client information to file.

    - Updated: April 30, 2001

    [e-Mail me the FAQs]    -     [Search our FAQs]