Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --sync history
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
rete27
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 86

PostPosted: Wed Aug 22, 2007 6:21 pm    Post subject: emerge --sync history Reply with quote

Ciao come posso sapere l'ultima volta che ho fatto un sync ? e di norma quanto tempo è bene lasciare passare tra un sysnc e l'altro ?
_________________
Al mondo ci sono 10 tipi di persone quelle che conoscono il sistema binario e quelle che non lo conoscono...
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Aug 22, 2007 6:54 pm    Post subject: Re: emerge --sync history Reply with quote

rete27 wrote:
Ciao come posso sapere l'ultima volta che ho fatto un sync ?

Code:

emerge genlop
...
genlop -r


rete27 wrote:
e di norma quanto tempo è bene lasciare passare tra un sysnc e l'altro ?

Non più di una volta al giorno, e IMOH almeno una volta alla settimana se possibile, così gli aggiornamenti vengono diluiti nel tempo, minimizzando l'impatto delle compilazioni sul sistema e il rischio di problemi conseguenti ai vari aggiornamenti.
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Wed Aug 22, 2007 11:04 pm    Post subject: Re: emerge --sync history Reply with quote

Scen wrote:

Code:

emerge genlop
...
genlop -r


ci sono anche:
Code:
qlop -s
emerge --info |grep timestamp

_________________
LP
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Aug 23, 2007 7:29 am    Post subject: Re: emerge --sync history Reply with quote

Scen wrote:
rete27 wrote:
e di norma quanto tempo è bene lasciare passare tra un sysnc e l'altro ?

Non più di una volta al giorno


E' cambiato qualcosa? Io sapevo che era fortemente consigliato il lasciar passare almeno 24 ore tra un sinc e l'altro per non affossare i server...
_________________
Ciao da me!
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Aug 23, 2007 8:07 am    Post subject: Re: emerge --sync history Reply with quote

lucapost wrote:

ci sono anche:
Code:
qlop -s


Non lo conoscevo :D

In pratica dovrebbe svolgere lo stesso compito di genlop?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Thu Aug 23, 2007 8:54 am    Post subject: Re: emerge --sync history Reply with quote

randomaze wrote:
Scen wrote:
rete27 wrote:
e di norma quanto tempo è bene lasciare passare tra un sysnc e l'altro ?

Non più di una volta al giorno


E' cambiato qualcosa? Io sapevo che era fortemente consigliato il lasciar passare almeno 24 ore tra un sinc e l'altro per non affossare i server...

No, non è cambiato nulla, con "non più di una volta al giorno" intendevo proprio "lasciare passare almeno 24 ore tra un sync e l'altro", ma forse è più chiara quest'ultima frase :roll:

gutter wrote:

In pratica dovrebbe svolgere lo stesso compito di genlop?

Yes!

Code:

$ qlop
Usage: qlop <opts> <pkgname> : emerge log analyzer

Options: -[gtHluscf:vqChV]
  -g, --gauge          * Gauge number of times a package has been merged
  -t, --time           * Calculate merge time for a specific package
  -H, --human          * Print seconds in human readable format (needs -t)
  -l, --list           * Show merge history
  -u, --unlist         * Show unmerge history
  -s, --sync           * Show sync history
  -c, --current        * Show current emerging packages
  -f, --logfile  <arg> * Read emerge logfile instead of /var/log/emerge.log
  -v, --verbose        * Make a lot of noise
  -q, --quiet          * Tighter output; suppress warnings
  -C, --nocolor        * Don't output color
  -h, --help           * Print this help and exit
  -V, --version        * Print version and exit
$ genlop
Usage: genlop [options] [-f logfile] [category/package]

Options:
  -c   display the currently compiling packages (if any)
  -e   display package history; default if any option is used.
  -f   read emerge log information from "logfile" instead of /var/log/emerge.log
  -h   print this help
  -i   extra infos for the selected package (build specific USE and CFLAGS
       variables, average build time, etc)
  -g   display GMT/UTC, not localized time.
  -l   show full merge history.
  -n   no color in output
  -p   estimate build time from a piped "emerge -p" output
  -q   query gentoo.linuxhowtos.org database if no local emerge was found
  -r   search for portage tree sync/rsync history.
  -s   use (case insensitive) regular expressions to match package names
  -S   use case sensitive regular expressions to match package names
  -t   calculate merge time for the specific package(s).
  -u   show when packages have been unmerged.
  -v   display genlop version and exit.

  --date datestring1 [ --date datestring2]  only shows results between datestring1
       and datestring2. datestring2 dafaults to "now" if not explicitly set.
       (e.g. genlop --list --date 3 days ago)

This program is licensed under the GPL v2. See COPYING.
For further info about genlop please read the man page.

qlop è leggermente più "grezzo", ma in linea di massima svolgono le stesse funzioni.
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Aug 23, 2007 9:04 am    Post subject: Re: emerge --sync history Reply with quote

Scen wrote:

qlop è leggermente più "grezzo", ma in linea di massima svolgono le stesse funzioni.


Si, stavo leggendo l'help :)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
rete27
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 86

PostPosted: Thu Aug 23, 2007 7:20 pm    Post subject: Reply with quote

ora sto provando ad installare genlop visto che mi sembra molto utile...grazie mille
[eidt]
è una vera bomba genlop... 8O
ma non è che si potrebbe creare uno script per automatizzare l'esecuzione giornaliera di emerge --sync ?

THX...
_________________
Al mondo ci sono 10 tipi di persone quelle che conoscono il sistema binario e quelle che non lo conoscono...
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Aug 23, 2007 11:16 pm    Post subject: Re: emerge --sync history Reply with quote

rete27 wrote:
Ciao come posso sapere l'ultima volta che ho fatto un sync ? e di norma quanto tempo è bene lasciare passare tra un sysnc e l'altro ?

io faccio il sync quasi ogni giorno, però lo faccio con eix (eix-sync).
così facendo vedo al volo cosa c'è di nuovo e di aggiornabile, però aggiorno solo quei pochi pacchetti che mi interessano e lascio stare gli altri (a meno che non siano dipendenza di quello che mi interessa aggiornare). la filosofia generale è "macchina che va, non si tocca".

diverso discorso per le macchine in produzione. in quel caso è fondamentale fare il sync ogni giorno, aggiornare se c'è qualcosa che è importante aggiornare, e dopo il sync dare sempre un'occhiata agli aggiornamenti di sicurezza (glsa-check -l new)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum