Thanks, looks like it will be useful. Have a problem though - getting this
error:

lsof: WARNING: can't stat() fuse.ltspfs file system
/tmp/.test1-ltspfs/-mmcblk0p1
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
/home/test1/.gvfs
Output information may be incomplete.

I don't know for sure, but I think that /home/test1/.gvfs is only readable
by the user, when nbdstat is run by root, I get the above errors. Any ideas?

Thank you.

On Wed, May 19, 2010 at 2:21 AM, Helmut Lichtenberg <
[email protected]> wrote:

> Hi folks,
> I have written a short Perl script for the nbd-server, to show which thin
> client is connected. The output looks like this:
>
>                   nbd-connections of Thin Clients
> Nr. ThinClient        PID    Started at           Image/Swap file
>
> ===========================================================================================
>  1 c213              26769  2010-05-19 07:41:19
>  /opt/ltsp/images/i386.img_2010-05-05_1524
>                      26801  2010-05-19 07:44:22  /tmp/tmp.GGEkc26798
>  2 levigo-m1-msee    15057  2010-04-26 10:49:39
>  /opt/ltsp/images/i386.img_2010-04-19_1455
>                      15073  2010-04-26 10:50:03  /tmp/tmp.FguSS15070
>  3 levigo14          18726  2010-05-17 15:39:31
>  /opt/ltsp/images/i386.img_2010-05-05_1524
>                      18744  2010-05-17 15:39:57  /tmp/tmp.FUtiE18741
>  [...]
>  32 zgr3              6266   2010-04-22 13:50:04
>  /opt/ltsp/images/i386.img_2010-04-19_1455
>                      6274   2010-04-22 13:50:14  /tmp/tmp.kyExAL6269
>
>  nbd-images in use:                              Count
> ======================================================
>  1 /opt/ltsp/images/i386.img_2009-09-07_1424       2
>  2 /opt/ltsp/images/i386.img_2010-03-19_0844       4
>  3 /opt/ltsp/images/i386.img_2010-04-19_1455       3
>  4 /opt/ltsp/images/i386.img_2010-05-05_1524      22
>
> (I have timestamps added to my images to allow the use of different
> versions
> in parallel.)
>
> If you think this to be of any use for you, you can download it:
>
>    wget ftp://ftp.tzv.fal.de/pub/ltsp/nbdstat
>
> Enjoy
> Helmut Lichtenberg
>
> --
> -------------------------------------------------------------------------
> Helmut Lichtenberg  <[email protected]>  Tel.: 05034/871-128
> Institut für Nutztiergenetik (FLI)         31535 Neustadt         Germany
> -------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
>
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to