Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
student:stu:ettiquette [2019/10/29 14:26] – Limits morrispjstudent:stu:ettiquette [2023/09/14 14:35] (current) – Note about link to fs and large output files mckeanbs
Line 6: Line 6:
 ==== top ==== ==== top ====
  
-[[ http://man7.org/linux/man-pages/man1/top.1.html | top ]] provides insight into the overall load on a system and the details on  running processes. By default, top sorts processes by CPU usage though you can change the sort column with the ''<'' and ''>'' keys while top is running.  Top can also display only your processes with the ''-u'' command line option.+[[ http://man7.org/linux/man-pages/man1/top.1.html | top ]] provides insight into the overall load on a system and the details on  running processes. By default, top sorts processes by CPU usage though you can change the sort column with the ''<'' and ''>'' keys while top is running. 
 + 
 +It's a good idea to monitor your processes in a separate window while working on stu. To do this, start another ssh session to stu and run ''top -u $USER''; this will display only your processes. You can press ''k'' to kill processes directly from top. This will prompt you for a pid and default to the process at the top of the list.
  
 The load average is another useful piece of information provided by top and consists of three numbers indicating the CPU and IO load over the last one, five, and 15 minute periods.  The load average is another useful piece of information provided by top and consists of three numbers indicating the CPU and IO load over the last one, five, and 15 minute periods. 
Line 33: Line 35:
  
 [[ https://linux.die.net/man/8/renice | renice ]] allows users to set the niceness of an already running command. [[ https://linux.die.net/man/8/renice | renice ]] allows users to set the niceness of an already running command.
 +
 +===== Space Consumption =====
 +
 +Please be mindful of the disk space you consume, as it is also a shared resource.
 +
 +You can easily see how much space you are using by using du:
 +
 +  du -h $HOME
 +  
 +You can also use [[https://linux.die.net/man/1/ncdu | ncdu ]], which provides a more graphical representation of space consumption.
 +
 +Stu has a 10Gbps link to fs, the server on which your data is stored. This helps with performance but a side effect is that runaway processes writing data can consume large amounts of disk space very quickly. Please make sure your software isn't creating large files like this, and please clean it up if it does.