Linux command question
Hi all folks,
What commands shall be issued to find; 1) Available storage space of a hard drive 2) Available space of each partition 3) Available RAM 4) Download and upload speed Thanks in advance. B.Regards satimis |
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).
PhilD |
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. see ya :cool: |
"top" is a beautiful command
|
Hi folks,
Lot of thanks for your advice. 'top' is a beautiful command providing real time information. What command shall be used to free 'RAM' when it is coming low? B.R. satimis |
in top pick a process you feel if hogging to much memory and kill it
|
Quote:
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. Thanks in advance. B.R. satimis |
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.
|
Quote:
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 What is "autorun" under USER? B.R. satimis |
All times are GMT -5. The time now is 12:06 AM. |