Re: [Om2008.9] man pages??? killing events/0
El día Tuesday, October 21, 2008 a las 12:51:22PM +1100, Sarton O'Brien escribió: ... You were asking for documentation for _technically_ a 3rd party program included on an embedded system. It makes sense to consult the website of the software or (heaven forbid) search for the man page. Last resort would be to install/extract the software on a system where you can read the documentation, which seems to be your preferred option. ... What I have exactly to checkout from SVN or GIT (?) to get access to the sources of Qtopia's 'qpe' demon which is part of Om2008.9; I've checked our Wiki but I got lost in all the diffrent places given there; thx in advance matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
Matthias Apitz wrote: Hello, I'm thinking in writing s small script which pops up a box on the FR and asking for reboot if this proc events/0 run away By the way, when events/0 goes nuts I put FR into sleep for couple of minutes by pressing power button. When I wake it up events/0 usually resumes normal behaviour. The longer it sleeps, the better is rate of success, but most of the time couple of minutes is enough. -- View this message in context: http://n2.nabble.com/-Om2008.9--man-pages---killing-events-0-tp1351870p1359398.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
On Tuesday 21 October 2008 23:27:33 Matthias Apitz wrote: El día Tuesday, October 21, 2008 a las 12:51:22PM +1100, Sarton O'Brien escribió: ... You were asking for documentation for _technically_ a 3rd party program included on an embedded system. It makes sense to consult the website of the software or (heaven forbid) search for the man page. Last resort would be to install/extract the software on a system where you can read the documentation, which seems to be your preferred option. ... What I have exactly to checkout from SVN or GIT (?) to get access to the sources of Qtopia's 'qpe' demon which is part of Om2008.9; I've checked our Wiki but I got lost in all the diffrent places given there; This I don't know and would be better addressed as another subject as it really doesn't relate to your original question about generic linux interface and 3rd party application documentation ... you'll be more likely to get the attention you require. You may also have more milage on a developer list rather than a discussion list as it pertains to core development of the om2008 infrastructure. Qtopia in itself is a bit of a mystery, mainly due to it's current lineage. There are quite a few knowledgable people on here who can help you though, I just doubt they will be reading emails about man pages. Sarton ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
El día Monday, October 20, 2008 a las 11:20:45AM +1100, Alex Osborne escribió: Alex Osborne wrote: Matthias Apitz wrote: how can I ask for the actual CPU time of a proc? I was thinking in something like 'cat /proc/5/...' but have no man pages about the /proc layout :-( $ man proc By the way, if you don't have them locally: http://www.google.com/search?q=proc+manpage Hi Alex, Don't you think that this answer is too simple? I have a lot of Unix systems sitting around me, I'm just typing these lines into one, a FreeBSD 7.0. I was asking for the man pages matching exactly the Linux derivate which is installed in the FR; for example where is the man page of 'dropbear'? TIA matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
http://www.google.com/search?q=man+page+dropbear its in several places down that list. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
Matthias Apitz wrote: $ man proc By the way, if you don't have them locally: http://www.google.com/search?q=proc+manpage Don't you think that this answer is too simple? I thought it was dead easy. Why, what sort of hoops do you prefer to jump through to find a man page? ;-) Second Google result: http://linux.die.net/man/5/proc I have a lot of Unix systems sitting around me, I'm just typing these lines into one, a FreeBSD 7.0. I was asking for the man pages matching exactly the Linux derivate which is installed in the FR; Well of course it's going to be different on FreeBSD -- different kernel -- but the location of the CPU time in /proc is going to be the same as any other system running the Linux kernel (well at least any that's not completely ancient anyway). So the simplest option, as I was suggesting is just to consult the proc manpage on any random Linux PC and if you don't have a Linux box handy then Google it, as people have put most of the man pages online. for example where is the man page of 'dropbear'? http://www.google.com/search?q=dropbear+manpage First result: http://downloads.openwrt.org/people/nico/man/man8/dropbear.8.html ;-) Seriously though, if you must have the absolute exact same version for some reason and don't have a Linux box, just grab the source tarball: wget http://downloads.openmoko.org/sources/dropbear-0.51.tar.bz2 tar -jxvf dropbear-0.51.tar.bz2 cd dropbear-0.51 man ./dropbear.8 Usually manpages aren't installed on embedded systems in the interests of saving space. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
El día Monday, October 20, 2008 a las 06:45:26PM +1100, Alex Osborne escribió: Well of course it's going to be different on FreeBSD -- different kernel -- but the location of the CPU time in /proc is going to be the same as any other system running the Linux kernel (well at least any that's not completely ancient anyway). So the simplest option, as I was suggesting is just to consult the proc manpage on any random Linux PC and if you don't have a Linux box handy then Google it, as people have put most of the man pages online. for example where is the man page of 'dropbear'? http://www.google.com/search?q=dropbear+manpage First result: http://downloads.openwrt.org/people/nico/man/man8/dropbear.8.html ;-) I thing Linux/UNIX goes the wrong way if we depend on Google to lookup man pages; Seriously though, if you must have the absolute exact same version for some reason and don't have a Linux box, just grab the source tarball: wget http://downloads.openmoko.org/sources/dropbear-0.51.tar.bz2 tar -jxvf dropbear-0.51.tar.bz2 cd dropbear-0.51 man ./dropbear.8 Now we're getting closer; thanks for the hint; maybe it would be a good idea if we have *all* man pages installed at http://downloads.openmoko.org/ or even as a fetch-able tar ball; in KDE you can just put 'man:ssh' into the KDE's browser Konqueror and you get what you want; Usually manpages aren't installed on embedded systems in the interests of saving space. Of course and I was not expecting the man pages installed on the FR. Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
Matthias Apitz wrote: I thing Linux/UNIX goes the wrong way if we depend on Google to lookup man pages; We don't. Well, at least anyone actually running Linux doesn't. Just typing man proc worked for me. ;-) I added the Google link as an after-thought in case you were running something else. Now we're getting closer; thanks for the hint; maybe it would be a good idea if we have *all* man pages installed at http://downloads.openmoko.org/ or even as a fetch-able tar ball; Sure, that sounds handy! Maybe you could contribute one? :-) in KDE you can just put 'man:ssh' into the KDE's browser Konqueror and you get what you want; That'd work too, just install dropbear on your PC and I bet you could view its manpage with Konqueror as well. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
CPU time of a proc? I was thinking in something like 'cat /proc/5/...' it's hard to believe there should be no python way to access procfs more generic (not to speak of other languages). maybe http://mail.python.org/pipermail/python-list/2004-December/298171.html helps? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
Of course and I was not expecting the man pages installed on the FR. If you use the Debian distribution, manpages are installed just as on any other Debian system. Stefan ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
On Monday 20 October 2008 18:57:21 Matthias Apitz wrote: El día Monday, October 20, 2008 a las 06:45:26PM +1100, Alex Osborne escribió: Well of course it's going to be different on FreeBSD -- different kernel -- but the location of the CPU time in /proc is going to be the same as any other system running the Linux kernel (well at least any that's not completely ancient anyway). So the simplest option, as I was suggesting is just to consult the proc manpage on any random Linux PC and if you don't have a Linux box handy then Google it, as people have put most of the man pages online. for example where is the man page of 'dropbear'? http://www.google.com/search?q=dropbear+manpage First result: http://downloads.openwrt.org/people/nico/man/man8/dropbear.8.html ;-) I thing Linux/UNIX goes the wrong way if we depend on Google to lookup man pages; Errr ... I've seen plenty of windows programs that don't come with documentation or relatively useless documention. Can't say the help facility is all that helpful either. You were asking for documentation for _technically_ a 3rd party program included on an embedded system. It makes sense to consult the website of the software or (heaven forbid) search for the man page. Last resort would be to install/extract the software on a system where you can read the documentation, which seems to be your preferred option. I don't think the suggestion was google is our documentation but merely that, if you bothered to search, you wouldn't have to bother us to search for you. Seriously though, if you must have the absolute exact same version for some reason and don't have a Linux box, just grab the source tarball: wget http://downloads.openmoko.org/sources/dropbear-0.51.tar.bz2 tar -jxvf dropbear-0.51.tar.bz2 cd dropbear-0.51 man ./dropbear.8 Now we're getting closer; thanks for the hint; maybe it would be a good idea if we have *all* man pages installed at http://downloads.openmoko.org/ or even as a fetch-able tar ball; in KDE you can just put 'man:ssh' into the KDE's browser Konqueror and you get what you want; Fair enough, but it's like expecting microsoft to host all the documentation for all the apps that you could _possibly_ install on their OS. As nice as that might be, it's not exactly realistic. Nearly any decent linux distro project has htmlised their man pages and from experience, reinventing the wheel can only ever have 'so much' benefit. The definitive place for any documentation will always be the source. Anything else could quite possibly be outdated. Possibly automated links to the official software source files/homepages would be more appropriate. The kernel itself is a different matter but once again, plenty of wheels are out there. Usually manpages aren't installed on embedded systems in the interests of saving space. Of course and I was not expecting the man pages installed on the FR. So searching the wiki and searching google are not akin? There seems to be a location dependency going on with your logic, I would have thought search relevance was what was important here and how quickly you can obtain the information you require. Seriously, this is the situation with embedded systems and I doubt any project can warrant the time for maintaining a man digest vs development. It's really not as much of an issue as you make it appear. Sarton ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[Om2008.9] man pages??? killing events/0
Hello, I'm thinking in writing s small script which pops up a box on the FR and asking for reboot if this proc events/0 run away; the application for the pop-up could easy be done in Python; how can I ask for the actual CPU time of a proc? I was thinking in something like 'cat /proc/5/...' but have no man pages about the /proc layout :-( Yes, I could use the output of ps(1) like 'ps ax | fgrep events/0 | fgrep -v grep' but may be there is a less consuming way; btw: Where I could get man pages of the Linux in which is based the FR's Om2008.9? TIA matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
Matthias Apitz wrote: how can I ask for the actual CPU time of a proc? I was thinking in something like 'cat /proc/5/...' but have no man pages about the /proc layout :-( $ man proc [...] /proc/[number]/stat Status information about the process. This is used by ps(1). It is defined in /usr/src/linux/fs/proc/array.c. [...] utime %lu The number of jiffies that this process has been scheduled in user mode. stime %lu The number of jiffies that this process has been scheduled in kernel mode. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Om2008.9] man pages??? killing events/0
Alex Osborne wrote: Matthias Apitz wrote: how can I ask for the actual CPU time of a proc? I was thinking in something like 'cat /proc/5/...' but have no man pages about the /proc layout :-( $ man proc By the way, if you don't have them locally: http://www.google.com/search?q=proc+manpage ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community