How to tell what Yum is doing
Good Morning all,
I am new to Linux, as you can tell, so I am not sure how to do this or if is possible. I started they Yum update in root log in. I miminized it and forgot it was running, I then logged out and to my reg user. I remember that the yum update was running, I logged back into the root log in. How do I display what yum is working on? What command is used in the terminal? Thanks.. ArmyWife |
Take a look at /var/log/yum.log to see if the update process has finished. Then you can simply try to run the updater again, if another session of yum is still running it will warning you and refuse to start a new session.
|
You can check the log file to see if any updates were done by issuing the following command:
cat /var/log/yum.log This will list any yum updates that have been done. Note that you would have to do this as the user root. Regards, Fordeck |
Also, if you're trying to determine whether yum is still running at all, use:
$ pgrep yum If a number (pid, to be exact) is echoed back to you, then yum is still working. If nothing is echoed back, yum is done. |
IF I remember correctly, when you log out all normal processes are stopped. So yum should have stopped as soon as you logged out.
|
Just run the update again. If there is anything left, yum will start from where it last stopped. If you want yum to continue after you logout, use this command
Code:
nohup yum -y update & Code:
tail -f nohup.out |
All times are GMT -5. The time now is 09:25 PM. |