Check-in [93ffba148e]
Not logged in
Overview
Comment:added Makefile and man page for find_free_port
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 93ffba148e2b77f5f3a142a1a2ca703fd5309e5d
User & Date: vitus on 2015-12-23 19:39:59
Other Links: manifest | tags
Context
2016-02-10
15:57
Fix typo in the find_vm check-in: 6438e10b80 user: vitus tags: trunk
2015-12-23
19:39
added Makefile and man page for find_free_port check-in: 93ffba148e user: vitus tags: trunk
10:49
some more pylint warnings supressed check-in: ab32712efb user: vitus tags: trunk
Changes

Added Makefile version [e05303f1dd].















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
prefix=/usr/local
mandir=$(prefix)/share/man
bindir=$(prefix)/bin
sysconfdir=/etc
INSTALL=/usr/bin/install

man: vws.1 find_free_port.1

%.1:%.mkd
	pandoc -s -t man -o $@ $+

clean:
	rm *.1

install: vws vws.1 find_free_port.1 vws.conf
	$(INSTALL) -d -m 755 -o root $(DESTDIR)$(bindir)
	$(INSTALL) -d -m 755 -o root $(DESTDIR)$(mandir)
	$(INSTALL) -d -m 755 -o root $(DESTDIR)$(mandir)/man1
	$(INSTALL) -c -m 755 -o root find_free_port $(DESTDIR)$(bindir)
	$(INSTALL) -c -m 755 -o root vws $(DESTDIR)$(bindir)
	[ -f $(DESTDIR)$(sysconfdir)/vws.conf ]|| $(INSTALL) -c -m 644 -o root vws.conf $(DESTDIR)$(sysconfdir)
	$(INSTALL) -c -m 644 -o root vws.1 $(DESTDIR)$(mandir)/man1
	$(INSTALL) -c -m 644 -o root find_free_port.1 $(DESTDIR)$(mandir)/man1

Added find_free_port.mkd version [a3a16abd82].



























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% find_free_port(1)
% Victor Wagner <vitus@wagner.pp.ru>
% December 2015

NAME
====

find\_free\_port - find unused port to bind to

SYNOPSIS
========

**find\_free\_port** *start_port*

DESCRIPTION
===========

**find\_free\_port** searches local system for unused TCP port where
application program can listen for request. Starts with specified
number.

It is written as helper utility for **vws**(1) to search for unused port
where virtual machine can listen for GUI clients.


SEE ALSO
========

**netstat**(8), **vws**(1)

Modified vws.mkd from [45cecda93e] to [b8823e1241].





1
2
3
4
5
6
7




NAME
====

*vws* - manage Virtual Workstations

SYNOPSIS
========
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
% VWS(1)
% Victor Wagner <vitus@wagner.pp.ru>
% December 2015

NAME
====

*vws* - manage Virtual Workstations

SYNOPSIS
========
344
345
346
347
348
349
350


351

352
353





Each virtual machine directory contains:

1. startup script, named **start**
2. monitor socket named **monitor**
3. pid file **pid**
4. One or more drive images. Each image can have several backing files (snapshots). All references to the drive images or to backing files within drive images use relative paths, so you can move directory around, and machine would still work.



















>
>

>


>
>
>
>
>
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
Each virtual machine directory contains:

1. startup script, named **start**
2. monitor socket named **monitor**
3. pid file **pid**
4. One or more drive images. Each image can have several backing files (snapshots). All references to the drive images or to backing files within drive images use relative paths, so you can move directory around, and machine would still work.

FILES
=====

**/etc/vws.conf**, _\${HOME}_**/.vwsrc**, _\${HOME}_**/VWs**


SEE ALSO
========

**find\_free\_port**(1), **qemu-system**(1), **brctl**(8)