Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
im looking for a few console commands that will show me stuff like users connected, ip address/network info, processes, mem usage ect... you know your basic system stuff im new ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2003
    Posts
    67

    General good to know linux commands


    im looking for a few console commands that will show me stuff like users connected, ip address/network info, processes, mem usage ect... you know your basic system stuff im new and i dont know many commands i just learned ps ax from someone all though i dont know how to use it from there the help file boggled me :o

    Thanks in advance.
    Fed

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Users online

    Code:
    who
    The sar command is very powerful, check on man sar. But you can test

    Code:
    sar -r
    Other info

    Code:
    cat /proc/meminfo
    cat /proc/cpuinfo
    Regards

    Regards

    Andutt

  3. #3
    Just Joined!
    Join Date
    May 2003
    Location
    Baltimore, MD
    Posts
    26
    users connected: who
    processes: ps
    also useful:
    grep, which searches for a text string in a bunch o' text
    chown: change owner of a file
    chmod: change mode (permissions of a file)
    kill: to terminate a process that just doesnt want to go away (especially kill -9 followed by the PID (process ID) that can be found using the ps command
    man: usage: type man followed by a command name. man = salvation
    su: if your logged in as a user, and you need root access instead of logging out and logging in as root, just type su and give the root password to get root privilages!
    reboot: reboots
    poweroff: powers off
    fortune: kills some time

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    May 2003
    Posts
    123
    For processes, memory info, CPU load, and kill processes(With the PID supplied), I love to use the command
    Code:
    top
    And to kill a process in it, you type "k", and then the PID.

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    While top is great for a somewhat real-time display, I generally prefer using ps, free and kill for that.

  7. #6
    Just Joined!
    Join Date
    May 2003
    Posts
    67
    thanks guys this is exactly what i was looking for.

    I use gkrellm too but i was mainly looking for console commands. trying to familarize myself with it well.

  8. #7
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    I can't believe nobody said vmstat yet. That is far more useful then top. And nobody said ifconfig yet to display network device information. There is also a really good consule utility called nload which monitors your current bandwidth usage and displays it realtime in an ascii graph.

  9. #8
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Does thoose commands exist on every distribution?? on unix??

    Regards
    Regards

    Andutt

  10. #9
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Does thoose commands exist on every distribution?? on unix??

    Regards
    Regards

    Andutt

  11. #10
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    They exist if you install them

Page 1 of 2 1 2 LastLast

Posting Permissions

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