summaryrefslogtreecommitdiff
path: root/open_issues/lsof.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'open_issues/lsof.mdwn')
-rw-r--r--open_issues/lsof.mdwn40
1 files changed, 39 insertions, 1 deletions
diff --git a/open_issues/lsof.mdwn b/open_issues/lsof.mdwn
index 2cbf2302..2651932d 100644
--- a/open_issues/lsof.mdwn
+++ b/open_issues/lsof.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2010, 2013 Free Software Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -11,3 +11,41 @@ License|/fdl]]."]]"""]]
We don't have a `lsof` tool. Perhaps we could cook something with having a
look at which ports are open at the moment (as [[`portinfo`|hurd/portinfo]]
does, for example)?
+
+
+# IRC, freenode, #hurd, 2013-10-16
+
+ <teythoon> braunr: there's something I've been working on, it's not yet
+ finished but usable
+ <teythoon> http://paste.debian.net/58266/
+ <teythoon> it graphs port usage
+ <teythoon> it's a bit heavy on the dependency-side though...
+ <braunr> but
+ <braunr> is it able to link rights from different ipc spaces ?
+ <teythoon> no
+ <teythoon> what do you mean exactly?
+ <braunr> know that send right 123 in task 1 refers to receive right 321 in
+ task 2
+ <braunr> basically, lsof
+ <braunr> i'm not sure it's possible right now, and that's what we'd really
+ need
+ <teythoon> does the kernel hand out this information?
+ <braunr> ^
+ <teythoon> right, I'm not sure it's possible either
+ <braunr> but a graph maker in less than 300 is cute :)
+ <braunr> 300 lines*
+ <teythoon> well, it leverages pymatplotlib or something, it needs half of
+ the pythonverse ;)
+ <braunr> lsof and pmap and two tools we really lack on the hurd
+ <teythoon> what does portinfo --translate=PID do?
+ <braunr> i guess it asks proc so that ports that refer to task actually
+ give useful info
+ <braunr> hml
+ <braunr> no
+ <braunr> doesn't make sense to give a pid in this case
+ <braunr> teythoon: looks like it does what we talked about
+ <teythoon> :)
+ <braunr> teythoon: the output looks a bit weird anyway, i think we need to
+ look at the code to be sure
+ <teythoon> braunr: this is what aptitude update looks like:
+ https://teythoon.cryptobitch.de/portmonitor/aptitude_portmonitor.svg