Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Mar 10th, 2005, 9:48 AM   #1
draco2002
Newbie
 
Join Date: Mar 2005
Posts: 2
Rep Power: 0 draco2002 is on a distinguished road
bash progress bar (freebsd/ portsdb -Uu)

here is the situation

running

#portsdb -Uu

on freebsd takes a while, and doesn't give you a progress status, but

if you type

#ps | grep "DIRPR"

you get back what folder it is currently on

5650 p1 IL+ 0:01.27 make -B describe DIRPRFX=net/
22050 p1 IL+ 0:00.07 make -B describe DIRPRFX=science/

so what i want to be able to do is have a script that polls this command and lets you know how far along portsdb is by checking what the DIRPRFX is and where it is in the alphabet.

Any help would be greatly appreciated

Thanks in advance
draco2002 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:46 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC