Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 08-25-2009, 11:18 AM   #1
LQ Newbie
Registered: Aug 2009
Location: El Paso Tx
Posts: 2

Rep: Reputation: 0
Question 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
Old 08-25-2009, 11:22 AM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
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.
Old 08-25-2009, 11:25 AM   #3
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
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.


Old 08-25-2009, 11:32 AM   #4
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
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.
Old 08-25-2009, 12:54 PM   #5
Senior Member
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
IF I remember correctly, when you log out all normal processes are stopped. So yum should have stopped as soon as you logged out.
Old 08-25-2009, 01:10 PM   #6
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
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
nohup yum -y update &
When you login back, check the nohup log file to see what is going on/happened.
tail -f nohup.out

Last edited by sarin; 08-25-2009 at 01:11 PM. Reason: wrong yum command


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 11:25 AM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 01:08 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration