Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A quick answer for 2) is df. This will give you a nice printout of each drive and % used. df -h prints it in human readable (MB KB). I am not sure about the others. You could always calculate 1) from the output of 2).
1) do you mean total hard drive space or harddrive space available for use?
2) df -hiT
3) free -m
4) not sure exactly what your looking for here but you could try netwatch
hellow
for 1 and 2 you can use fdisk command type man fdisk for more info use the man command.
to find the available RAM use free command just type free -m.
for the last one you can use the ifconfig.
Originally posted by grym in top pick a process you feel if hogging to much memory and kill it
Hi,
Thanks for your advice.
Could you please advise in more detail.
1) Could I start 'kill' command without exiting 'top'
2) Suppose I want to 'kill' 'kdeinit', 'artsd', etc. under USER, how to make it
3) Suppose I have no idea about the process After 'kill' it would the OS be interrupted.
You cannot kill a process created by system by logging in as normal user. So any process you can kill as your user is pretty harmless for the system. But if you log in as root, you can easily stop any daemons and find yourself in trouble. And don't kill kdeinit(it starts and controls KDE), and never log in as root.
Originally posted by UltimaGuy You cannot kill a process created by system by logging in as normal user. So any process you can kill as your user is pretty harmless for the system. But if you log in as root, you can easily stop any daemons and find yourself in trouble. And don't kill kdeinit(it starts and controls KDE), and never log in as root.
Hi,
Thanks for your advice.
But I could not execute 'kill' command while login as USER
[satimis@localhost satimis]$ kill top
bash: kill: top: no such pid
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.