summaryrefslogtreecommitdiff
path: root/sysutils/free
diff options
context:
space:
mode:
authorhubertf <hubertf>2003-08-29 19:16:47 +0000
committerhubertf <hubertf>2003-08-29 19:16:47 +0000
commit86b5adf35f43885c72aba7809797ccb8a5fa8fb3 (patch)
tree128a96d803f7e5fa7ecbf90a4a13f4d114dc627d /sysutils/free
parent54bd31947e404c2223fbb535162be2d71e959d56 (diff)
downloadpkgsrc-86b5adf35f43885c72aba7809797ccb8a5fa8fb3.tar.gz
add a manpage
Diffstat (limited to 'sysutils/free')
-rw-r--r--sysutils/free/Makefile3
-rw-r--r--sysutils/free/PLIST3
-rw-r--r--sysutils/free/files/free.131
3 files changed, 35 insertions, 2 deletions
diff --git a/sysutils/free/Makefile b/sysutils/free/Makefile
index c6d06729fa7..82f849f637b 100644
--- a/sysutils/free/Makefile
+++ b/sysutils/free/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/08/29 18:51:05 hubertf Exp $
+# $NetBSD: Makefile,v 1.2 2003/08/29 19:16:47 hubertf Exp $
#
DISTNAME= free-1.0
@@ -20,5 +20,6 @@ NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/free ${PREFIX}/bin/free
+ ${INSTALL_MAN} ${FILESDIR}/free.1 ${PREFIX}/man/man1/free.1
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/free/PLIST b/sysutils/free/PLIST
index a53dbaf3795..1d4086d6715 100644
--- a/sysutils/free/PLIST
+++ b/sysutils/free/PLIST
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/29 18:51:05 hubertf Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/08/29 19:16:47 hubertf Exp $
bin/free
+man/man1/free.1
diff --git a/sysutils/free/files/free.1 b/sysutils/free/files/free.1
new file mode 100644
index 00000000000..f461659ae5d
--- /dev/null
+++ b/sysutils/free/files/free.1
@@ -0,0 +1,31 @@
+.\" $NetBSD: free.1,v 1.1 2003/08/29 19:16:48 hubertf Exp $
+.Dd August 29, 2003
+.Dt free 1
+.Os
+.Sh NAME
+.Nm free
+.Nd display amount of free and used memory in the system
+.Sh SYNOPSIS
+.Nm
+.Op Fl k|-m|-h
+.Sh DESCRIPTION
+The
+.Nm
+script displays the amount of free and used memory in the system.
+.Pp
+Possible options are:
+.Bl -tag -width xxx
+.It Fl k
+Display the values in kilobyte.
+.It Fl m
+Display the values in megabyte.
+.It Fl h
+Show usage.
+.El
+.Pp
+.Sh SEE ALSO
+.Xr vmstat 1
+.Sh HISTORY
+The
+.Nm
+utility and manpage were written by Karsten Kruse <tecneeq@tecneeq.de>.