1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

New port: sysutils/lscpu:

lscpu gathers CPU architecture information about the current CPU. The
command output is optimized for parsing or for easy readability by
humans. The information includes, for example, the number of CPUs,
threads, cores, and sockets.

There is also information about the CPU caches, family, model,
byte order, and stepping.

WWW: https://github.com/NanXiao/lscpu
This commit is contained in:
Ryan Steinmetz 2017-09-29 11:52:28 +00:00
parent 862fdc12d4
commit 53cedd5675
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450889
4 changed files with 35 additions and 0 deletions

View File

@ -575,6 +575,7 @@
SUBDIR += logwatch
SUBDIR += lookat
SUBDIR += lr
SUBDIR += lscpu
SUBDIR += lsof
SUBDIR += lsop
SUBDIR += ltrace

22
sysutils/lscpu/Makefile Normal file
View File

@ -0,0 +1,22 @@
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= lscpu
PORTVERSION= 1.0.0
CATEGORIES= sysutils
MAINTAINER= zi@FreeBSD.org
COMMENT= Display information about the CPU architecture
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= NanXiao
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>

3
sysutils/lscpu/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1506685333
SHA256 (NanXiao-lscpu-1.0.0_GH0.tar.gz) = 04f3c44090a5afbd510065b8d9c16a67936c9b652a0b055bec6bd74c3739c4c4
SIZE (NanXiao-lscpu-1.0.0_GH0.tar.gz) = 7055

9
sysutils/lscpu/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
lscpu gathers CPU architecture information about the current CPU. The
command output is optimized for parsing or for easy readability by
humans. The information includes, for example, the number of CPUs,
threads, cores, and sockets.
There is also information about the CPU caches, family, model,
byte order, and stepping.
WWW: https://github.com/NanXiao/lscpu