Hi Soledad, There is no other documentation for b2g-ps.
Regular ps produces way more output than most people need. It also shows all of the child-content processes as merely plugin-container Basically, the single most useful thing that b2g-ps does is to show the app name associated with a given child-content process. And it only shows the b2g process and its direct descendants. b2g-ps passes on any options to ps, the most useful of which is the -t option. This allows you to see the threads within a process. There is another related utility called b2g-info, which dumps out a bunch of memory information about the b2g processes as well. We include the b2g-info output when you grab an about:memory dump. Dave Hylands ----- Original Message ----- > From: "Andrew Overholt" <[email protected]> > To: "Soledad Penadés" <[email protected]> > Cc: [email protected], "Dave Hylands" <[email protected]> > Sent: Tuesday, December 3, 2013 7:15:00 AM > Subject: Re: Is b2g-ps documented anywhere? > > Dave can probably provide some info here. > > On Tue 03 Dec 2013 06:34:42 AM EST, Soledad Penadés wrote: > > Hi all > > > > Heard about b2g-ps for the first time thanks to Kumar's answer to > > Bosko, and it intrigued me. > > > > However I can hardly find any documentation other than its source[1] > > and a page in MDN[2]. Seems like a wrapper around the native ps to > > discriminate against non b2g processes, am I right? > > > > [1] Here's its source, I believe: > > https://github.com/mozilla-b2g/gonk-misc/blob/master/b2g-ps > > > > [2] MDN debugging with GDB > > https://developer.mozilla.org/en-US/Firefox_OS/Debugging/Debugging_B2G_using_gdb > > > > > > thanks! > > > > > _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
