Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Using the Top command with ps and kill  (Read 8086 times)

0 Members and 1 Guest are viewing this topic.

AdamNagy

    Topic Starter


    Newbie

    • Experience: Familiar
    • OS: Windows 7
    Using the Top command with ps and kill
    « on: June 22, 2016, 12:56:16 PM »
    For my Computing Controlled Assessment I am looking into some of the basic commands for the Linux OS Debian. For the final question I have to write a short essay on using the top command along with ps and kill to investigate misbehaving system. The question asks to use help from PC specialists (or just any experienced Debian users). So if anyone could give any information on how a specialist could use these commands and anything helpful in general on these commands. Remember I'm here for information and not an answer. Thanks

    TheWaffle



      Hopeful
    • Thanked: 4
      • Yes
    • Computer: Specs
    • Experience: Beginner
    • OS: Linux variant
    Re: Using the Top command with ps and kill
    « Reply #1 on: July 11, 2016, 07:27:46 PM »
    Code: [Select]
    man [command name]man is a manual program, and my best friend. :D
    Code: [Select]
    lslist files in current dir
    Code: [Select]
    mv [source] [destination] Move files, also used to rename files.
    Code: [Select]
    cp [source] [destination]Copy files
    Code: [Select]
    [b]sudo[/b] [command]sudo, or superuser do lets you run a program as your current user, as if you were the root user.
    Code: [Select]
    sudo !!Allows you to run your previously entered command as root.
    Code: [Select]
    sudo apt install [package name]Allows you to install programs from the command line, use apt-get for shell scripts.

    TheWaffle



      Hopeful
    • Thanked: 4
      • Yes
    • Computer: Specs
    • Experience: Beginner
    • OS: Linux variant
    Re: Using the Top command with ps and kill
    « Reply #2 on: July 11, 2016, 07:33:59 PM »
    For the final question I have to write a short essay on using the top command along with ps and kill to investigate misbehaving system.
    These should help:
    top Command
    ps Command
    kill Command

    Also note that commands are case sensitive, as are file paths and names.