This command shows who is currently logged onto the system.
screen will allow you to save your session, hang up, and at a later time reconnect and restart your session.
cd /usr/ports/sysutils/screen
make install clean
rehash
To start up the screen session simply enter into your command the following
screen
Now you can start running whatever long processes you have. For example:
python really_long_process.py
To leave the screen session and have it continously running then:
-
Hold the Control button from your keyboard
-
While holding Control then proceed to pressing the a button
-
Finally while still holding those two keys, press d button
-
You will have exited the screen session while the process will continue running regardless if you logout/log back in.
To resume the screen session, simply type:
screen -r
du -a /var | sort -n -r | head -n 10