Stephen Hahn wrote: > * Johnson Lin <[EMAIL PROTECTED]> [2008-12-02 17:57]: > >> I am working Sun xVM Server update function that depends on IPS update >> APIs and Solaris pkg command as backend. >> There is a new feature request recently to ask for IPS update progress >> status during a update job execution >> so the UI progress bar can report status of a job such as 10%, 20%, >> ...to 100% etc as it proceeds. >> Can pkg command such as install, refresh, and image-update etc support >> this status update feature? >> I would like to see a programmatic interface in pkg command to report >> update progress status since >> to parse the stdout from pkg command may not be a good idea. >> > > Actually, I think your RFE is for a parseable output format from > pkg(1). Unless you are proposing using the Python client API (which > already has a progress reporting mechanism)? > >
No. I was not asking for a parsable output format unless there is no API that can be used. Can you describe more for the Python client API to report update progress? How do I integrate the API into our existing java codes? thanks, Johnson > - Stephen > > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
