Re: [Networker] query the saveset size
2005-03-02 03:00:30
Darren Dunham wrote:
You can't query on nsavetime (annoyingly) so you would need to query
everything in order to obtain the ssid to use in the query. Messy. You
could do:
mminfo -a -r "nsavetime(1),ssid" | grep "^1090124900 " | read NST SSID
mminfo -q ssid=$SSID -r totalsize
Try mminfo -q 'savetime=1090124900'.
Ah - a stroke of genius.
Also, why bother with the (1) in the nsavetime report? Is that doing
something useful?
Yes it is. Without it there are spaces padding the start of the field so
it makes it more difficult to match the value at the start of the line.
Of course there are other ways to do this...
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|